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