C# Class Elastacloud.AzureManagement.Fluent.Clients.ImageManagementClient

Used to manage the copying and registering of images within a subscription or intra-subscription
Inheritance: Elastacloud.AzureManagement.Fluent.Clients.Helpers.GenerateEventClientBase, IImageManagementClient
Afficher le fichier Open project: azurecoder/fluent-management Class Usage Examples

Méthodes publiques

Méthode Description
CopyAndRegisterImageInNewSubscription ( ImageProperties imageProperties, bool copyImageOnlyIfNotExists = true ) : void

Used to copy or register an image from one subscription to another

Exists ( string imageName ) : bool

Checks whether a particular named image exists in the collection

ImageManagementClient ( string subscriptionId, X509Certificate2 certificate ) : System

Private Methods

Méthode Description
GetFormattedImageName ( string imageName, int index, bool withVhd ) : string

Method Details

CopyAndRegisterImageInNewSubscription() public méthode

Used to copy or register an image from one subscription to another
public CopyAndRegisterImageInNewSubscription ( ImageProperties imageProperties, bool copyImageOnlyIfNotExists = true ) : void
imageProperties Elastacloud.AzureManagement.Fluent.Types.VirtualMachines.ImageProperties
copyImageOnlyIfNotExists bool
Résultat void

Exists() public méthode

Checks whether a particular named image exists in the collection
public Exists ( string imageName ) : bool
imageName string
Résultat bool

ImageManagementClient() public méthode

public ImageManagementClient ( string subscriptionId, X509Certificate2 certificate ) : System
subscriptionId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
Résultat System