Esempio n. 1
0
 public static Disk GetDisk(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         Disk.ValidateResourceId(id);
         return new Disk(client, id);
     }
                             ));
 }
Esempio 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));
 }