public static SharedGalleryImageVersion GetSharedGalleryImageVersion(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { SharedGalleryImageVersion.ValidateResourceId(id); return new SharedGalleryImageVersion(client, id); } )); }
public static SharedGalleryImageVersion GetSharedGalleryImageVersion(this ArmClient armClient, ResourceIdentifier id) { SharedGalleryImageVersion.ValidateResourceId(id); return(new SharedGalleryImageVersion(armClient, id)); }
public static SharedGalleryImageVersion GetSharedGalleryImageVersion(this ArmClient armClient, ResourceIdentifier id) { SharedGalleryImageVersion.ValidateResourceId(id); return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new SharedGalleryImageVersion(clientOptions, credential, uri, pipeline, id))); }