Example #1
0
 public static VirtualMachineScaleSetExtension GetVirtualMachineScaleSetExtension(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VirtualMachineScaleSetExtension.ValidateResourceId(id);
         return new VirtualMachineScaleSetExtension(client, id);
     }
                             ));
 }
Example #2
0
 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));
 }