Метод | Описание | |
---|---|---|
CreateNewCloudService ( string location, string description = "Fluent Management created cloud service" ) : void |
Creates a new cloud service
|
|
CreateServiceCertificateAndAddRemoteDesktop ( string username, string password, |
Creates a service certificate and adds to the remote config
|
|
CreateServiceCertificateExportToFileSystem ( string name, string password, string exportDirectory ) : |
Creates a service certificate
|
|
CreateServiceCertificateExportToStorage ( string name, string password, string storageAccountName, string container, string folder ) : |
Exports a service certificate to Windows Azure Storage
|
|
DeleteCloudService ( ) : void |
Used to delete the current cloud service
|
|
DeleteCloudServiceAndDeployment ( string deploymentName ) : void |
Deletes a cloud service and removes all of the .vhds for vms associated with the production deployment
|
|
DeleteDeployment ( DeploymentSlot slot = DeploymentSlot.Production ) : void |
Used to delete a deployment in a respective slot
|
|
DeployServiceToAzure ( |
Used to deploy a cloud service package to Azure
|
|
GetRoleInstances ( ) : IEnumerable |
Gets the status of all role instances in a deployment
|
|
ServiceClient ( string subscriptionId, |
Used to construct the ServiceClient
|
|
Start ( ) : void |
Starts all of the roles within a cloud service
|
|
Stop ( ) : void |
Stops all of the roles within a cloud service
|
|
UpdateRoleInstanceCount ( string roleName, int instanceCount ) : void |
Updates a role instance count within a cloud services
|
|
UploadServiceCertificate ( |
Uploads a certificate given a valid service certificate and password
|
|
UploadServiceCertificate ( string thumbprint, string password ) : void |
Adds a services certificate to the cloud service
|
Метод | Описание | |
---|---|---|
BuildCertGenerator ( string name, string password ) : |
public CreateNewCloudService ( string location, string description = "Fluent Management created cloud service" ) : void | ||
location | string | the data centre location of the cloud service |
description | string | The description of the cloud service |
Результат | void |
public CreateServiceCertificateAndAddRemoteDesktop ( string username, string password, |
||
username | string | |
password | string | |
file | ||
Результат |
public CreateServiceCertificateExportToFileSystem ( string name, string password, string exportDirectory ) : |
||
name | string | The name (CN) of the certificate |
password | string | The password of the certificate |
exportDirectory | string | Where the .pem, .cer and pfx will be put |
Результат |
public CreateServiceCertificateExportToStorage ( string name, string password, string storageAccountName, string container, string folder ) : |
||
name | string | |
password | string | |
storageAccountName | string | |
container | string | |
folder | string | |
Результат |
public DeleteCloudServiceAndDeployment ( string deploymentName ) : void | ||
deploymentName | string | The name of the deployment to delete |
Результат | void |
public DeleteDeployment ( DeploymentSlot slot = DeploymentSlot.Production ) : void | ||
slot | DeploymentSlot | Either production or staging |
Результат | void |
public DeployServiceToAzure ( |
||
settings | ||
Результат | void |
public ServiceClient ( string subscriptionId, |
||
subscriptionId | string | |
certificate | ||
cloudService | string | |
slot | DeploymentSlot | |
Результат | System |
public UpdateRoleInstanceCount ( string roleName, int instanceCount ) : void | ||
roleName | string | |
instanceCount | int | |
Результат | void |
public UploadServiceCertificate ( |
||
certificate | The certificate being uploaded | |
password | string | The .pfx password for the certificate |
includePrivateKey | bool | The .pfx password for the certificate |
Результат | void |
public UploadServiceCertificate ( string thumbprint, string password ) : void | ||
thumbprint | string | The thumbprint of the certificate to get from the store |
password | string | The password used to export the key |
Результат | void |