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