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