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
Show file Open project: azurecoder/fluent-management Class Usage Examples

Public Methods

Method 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

Method Description
GetFormattedImageName ( string imageName, int index, bool withVhd ) : string

Method Details

CopyAndRegisterImageInNewSubscription() public method

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
return void

Exists() public method

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

ImageManagementClient() public method

public ImageManagementClient ( string subscriptionId, X509Certificate2 certificate ) : System
subscriptionId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return System