Beispiel #1
0
 public static GalleryImage GetGalleryImage(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         GalleryImage.ValidateResourceId(id);
         return new GalleryImage(client, id);
     }
                             ));
 }
Beispiel #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));
 }