C# Class Elastacloud.AzureManagement.Fluent.Roles.RoleContextManager

Inheritance: IRoleOperation
Afficher le fichier Open project: azurecoder/fluent-management

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetInstanceCountForRole ( string roleName ) : int

Returns the instance count for the role being queried

Start ( ) : void

Used to start a deployment

Stop ( ) : void

Used to stop a deployment

UpdateInstanceCountForRole ( string roleName, int instanceCount ) : void

Used to update the number of instances for an existing role

Private Methods

Méthode Description
GetConfiguration ( string roleName ) : CscfgFile

Returns the configuration file for the particular role

RoleContextManager ( string subscriptionId, X509Certificate2 certificate, string serviceName, DeploymentSlot slot ) : System.Security.Cryptography.X509Certificates

Used to create a role context

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

GetInstanceCountForRole() public méthode

Returns the instance count for the role being queried
public GetInstanceCountForRole ( string roleName ) : int
roleName string
Résultat int

Start() public méthode

Used to start a deployment
public Start ( ) : void
Résultat void

Stop() public méthode

Used to stop a deployment
public Stop ( ) : void
Résultat void

UpdateInstanceCountForRole() public méthode

Used to update the number of instances for an existing role
public UpdateInstanceCountForRole ( string roleName, int instanceCount ) : void
roleName string The name of the role
instanceCount int the number of instances to increment or decrement to
Résultat void