Exemplo n.º 1
0
 public static VirtualMachineScaleSetVm GetVirtualMachineScaleSetVm(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VirtualMachineScaleSetVm.ValidateResourceId(id);
         return new VirtualMachineScaleSetVm(client, id);
     }
                             ));
 }
 public static VirtualMachineScaleSetVm GetVirtualMachineScaleSetVm(this ArmClient armClient, ResourceIdentifier id)
 {
     VirtualMachineScaleSetVm.ValidateResourceId(id);
     return(new VirtualMachineScaleSetVm(armClient, id));
 }
 public static VirtualMachineScaleSetVm GetVirtualMachineScaleSetVm(this ArmClient armClient, ResourceIdentifier id)
 {
     VirtualMachineScaleSetVm.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new VirtualMachineScaleSetVm(clientOptions, credential, uri, pipeline, id)));
 }