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