Свойство | Type | Description | |
---|---|---|---|
AddCertificates | void | ||
CloudServiceClient | Common.System | ||
CloudServiceClient | Common.System | ||
CreateDeployment | void | ||
CreatePublishContext | |||
DeleteDeploymentIfExists | void | ||
DeployPackage | DeploymentGetResponse | ||
DeploymentExists | bool | ||
GetCloudService | HostedServiceGetDetailedResponse | ||
GetCloudServiceName | string | ||
GetCurrentDirectory | string | ||
GetCurrentServiceProject | |||
GetDeploymentId | string | ||
GetSlot | DeploymentSlot | ||
PrepareCloudServicePackagesRuntime | void | ||
SetCloudServiceState | void | ||
SetupStorageService | void | ||
TranslateException | void | ||
UpdateCacheWorkerRolesCloudConfiguration | void | ||
UpgradeDeployment | void | ||
UploadCertificate | void | ||
UploadPackage | |||
UploadPackageIfNeeded | |||
VerifyDeployment | void | ||
VerifyDeploymentExists | void | ||
WriteToStream | void | ||
WriteVerbose | void | ||
WriteVerboseWithTimestamp | void | ||
WriteWarning | void |
Méthode | Description | |
---|---|---|
CheckHostedServiceNameAvailability ( string name ) : bool |
Checks if the given hosted service name is available to be created
|
|
CheckStorageServiceAvailability ( string name ) : bool |
Checks if the given storage service name is available to be created
|
|
CloudServiceClient ( AzureSMProfile profile, AzureSubscription subscription, string currentLocation = null, Action |
Creates new instance from CloudServiceClient.
|
|
CloudServiceExists ( string name ) : bool |
Checks if a cloud service exists or not.
|
|
CreateCloudServiceIfNotExist ( string name, string label = null, string location = null, string affinityGroup = null ) : void |
Creates cloud service if it does not exist.
|
|
CreateStorageServiceIfNotExist ( string name, string label = null, string location = null, string affinityGroup = null ) : void |
Creates storage service if it does not exist.
|
|
DeploymentExists ( string name = null, string slot = null ) : bool |
Check if the deployment exists for given cloud service.
|
|
GetDefaultLocation ( ) : string |
Gets the default subscription location.
|
|
GetStorageServiceConnectionString ( string name ) : string |
Gets connection string of the given storage service name.
|
|
PublishCloudService ( string name = null, string slot = null, string location = null, string affinityGroup = null, string storageAccount = null, string deploymentName = null, bool launch = false, bool forceUpgrade = false ) : Deployment |
Publishes a service project on Microsoft Azure.
|
|
PublishCloudService ( string package, string configuration, string slot = null, string location = null, string affinityGroup = null, string storageAccount = null, string deploymentName = null, bool launch = false, bool forceUpgrade = false ) : Deployment | ||
RemoveCloudService ( string name ) : void |
Removes all deployments in the given cloud service and the service itself.
|
|
RemoveCloudService ( string name, bool deleteFromStorage ) : void |
Removes all deployments in the given cloud service and the service itself.
|
|
StartCloudService ( string name = null, string slot = null ) : void |
Starts a cloud service.
|
|
StopCloudService ( string name = null, string slot = null ) : void |
Stops a cloud service.
|
|
StorageServiceExists ( string name ) : bool |
Checks if the provided storage service exists under the subscription or not.
|
Méthode | Description | |
---|---|---|
AddCertificates ( ServiceCertificateListResponse uploadedCertificates, |
||
CloudServiceClient ( AzureSubscription subscription, ManagementClient managementClient, StorageManagementClient storageManagementClient, ComputeManagementClient computeManagementClient ) : Common.System | ||
CloudServiceClient ( string currentLocation, Action |
||
CreateDeployment ( |
||
CreatePublishContext ( string name, string slot, string location, string affinityGroup, string storageServiceName, string deploymentName, |
||
DeleteDeploymentIfExists ( string name, DeploymentSlot slot, bool deleteFromStorage ) : void | ||
DeployPackage ( bool launch, bool forceUpgrade, |
||
DeploymentExists ( string name, DeploymentSlot slot, string &deploymentName ) : bool | ||
GetCloudService ( string name ) : HostedServiceGetDetailedResponse | ||
GetCloudServiceName ( string name ) : string | ||
GetCurrentDirectory ( ) : string | ||
GetCurrentServiceProject ( ) : |
||
GetDeploymentId ( |
||
GetSlot ( string slot ) : DeploymentSlot | ||
PrepareCloudServicePackagesRuntime ( |
||
SetCloudServiceState ( string name, DeploymentSlot slot, CloudServiceState state ) : void | ||
SetupStorageService ( |
||
TranslateException ( Action a ) : void | ||
UpdateCacheWorkerRolesCloudConfiguration ( |
||
UpgradeDeployment ( |
||
UploadCertificate ( |
||
UploadPackage ( |
||
UploadPackageIfNeeded ( |
||
VerifyDeployment ( |
||
VerifyDeploymentExists ( HostedServiceGetDetailedResponse cloudService, DeploymentSlot slot, string &name ) : void | ||
WriteToStream ( Action |
||
WriteVerbose ( string format ) : void | ||
WriteVerboseWithTimestamp ( string format ) : void | ||
WriteWarning ( string format ) : void |
public CheckHostedServiceNameAvailability ( string name ) : bool | ||
name | string | The name of the hosted service |
Résultat | bool |
public CheckStorageServiceAvailability ( string name ) : bool | ||
name | string | The name of the storage service |
Résultat | bool |
public CloudServiceClient ( AzureSMProfile profile, AzureSubscription subscription, string currentLocation = null, Action |
||
profile | AzureSMProfile | |
subscription | AzureSubscription | The subscription data |
currentLocation | string | Directory to do operations in |
debugStream | Action |
Action used to log http requests/responses |
verboseStream | Action |
Action used to log detailed client progress |
warningStream | Action |
Action used to log warning messages |
Résultat | Common.System |
public CloudServiceExists ( string name ) : bool | ||
name | string | The cloud service name |
Résultat | bool |
public CreateCloudServiceIfNotExist ( string name, string label = null, string location = null, string affinityGroup = null ) : void | ||
name | string | The cloud service name |
label | string | The cloud service label |
location | string | The location to create the cloud service in. |
affinityGroup | string | Affinity group name for cloud service |
Résultat | void |
public CreateStorageServiceIfNotExist ( string name, string label = null, string location = null, string affinityGroup = null ) : void | ||
name | string | The storage service name |
label | string | The storage service label |
location | string | The location name. If not provided default one will be used |
affinityGroup | string | The affinity group name |
Résultat | void |
public DeploymentExists ( string name = null, string slot = null ) : bool | ||
name | string | The cloud service name |
slot | string | The deployment slot name |
Résultat | bool |
public GetStorageServiceConnectionString ( string name ) : string | ||
name | string | The storage service name |
Résultat | string |
public PublishCloudService ( string name = null, string slot = null, string location = null, string affinityGroup = null, string storageAccount = null, string deploymentName = null, bool launch = false, bool forceUpgrade = false ) : Deployment | ||
name | string | The cloud service name |
slot | string | The deployment slot |
location | string | The deployment location |
affinityGroup | string | The deployment affinity group |
storageAccount | string | The storage account to store the package |
deploymentName | string | The deployment name |
launch | bool | Launch the service after publishing |
forceUpgrade | bool | force the service upgrade even if this would result in loss of any local data on the vm (for example, changing the vm size) |
Résultat | Deployment |
public PublishCloudService ( string package, string configuration, string slot = null, string location = null, string affinityGroup = null, string storageAccount = null, string deploymentName = null, bool launch = false, bool forceUpgrade = false ) : Deployment | ||
package | string | |
configuration | string | |
slot | string | |
location | string | |
affinityGroup | string | |
storageAccount | string | |
deploymentName | string | |
launch | bool | |
forceUpgrade | bool | |
Résultat | Deployment |
public RemoveCloudService ( string name ) : void | ||
name | string | The cloud service name |
Résultat | void |
public RemoveCloudService ( string name, bool deleteFromStorage ) : void | ||
name | string | The cloud service name |
deleteFromStorage | bool | Indicates whether the underlying disk blob(s) should be deleted from storage. |
Résultat | void |
public StartCloudService ( string name = null, string slot = null ) : void | ||
name | string | The cloud service name |
slot | string | The deployment slot |
Résultat | void |
public StopCloudService ( string name = null, string slot = null ) : void | ||
name | string | The cloud service name |
slot | string | The deployment slot |
Résultat | void |
public StorageServiceExists ( string name ) : bool | ||
name | string | The storage service name |
Résultat | bool |