コード例 #1
0
 public static VirtualMachineRunCommand GetVirtualMachineRunCommand(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         VirtualMachineRunCommand.ValidateResourceId(id);
         return new VirtualMachineRunCommand(client, id);
     }
                             ));
 }
コード例 #2
0
 public static VirtualMachineRunCommand GetVirtualMachineRunCommand(this ArmClient armClient, ResourceIdentifier id)
 {
     VirtualMachineRunCommand.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new VirtualMachineRunCommand(clientOptions, credential, uri, pipeline, id)));
 }
コード例 #3
0
 public static VirtualMachineRunCommand GetVirtualMachineRunCommand(this ArmClient armClient, ResourceIdentifier id)
 {
     VirtualMachineRunCommand.ValidateResourceId(id);
     return(new VirtualMachineRunCommand(armClient, id));
 }