C# 클래스 Elastacloud.AzureManagement.Fluent.Roles.RoleContextManager

상속: IRoleOperation
파일 보기 프로젝트 열기: azurecoder/fluent-management

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 공개 메소드

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

GetInstanceCountForRole() 공개 메소드

Returns the instance count for the role being queried
public GetInstanceCountForRole ( string roleName ) : int
roleName string
리턴 int

Start() 공개 메소드

Used to start a deployment
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Used to stop a deployment
public Stop ( ) : void
리턴 void

UpdateInstanceCountForRole() 공개 메소드

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
리턴 void