public static VirtualMachineScaleSetExtension GetVirtualMachineScaleSetExtension(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { VirtualMachineScaleSetExtension.ValidateResourceId(id); return new VirtualMachineScaleSetExtension(client, id); } )); }
public static VirtualMachineScaleSetExtension GetVirtualMachineScaleSetExtension(this ArmClient armClient, ResourceIdentifier id) { VirtualMachineScaleSetExtension.ValidateResourceId(id); return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new VirtualMachineScaleSetExtension(clientOptions, credential, uri, pipeline, id))); }
public static VirtualMachineScaleSetExtension GetVirtualMachineScaleSetExtension(this ArmClient armClient, ResourceIdentifier id) { VirtualMachineScaleSetExtension.ValidateResourceId(id); return(new VirtualMachineScaleSetExtension(armClient, id)); }