Zend Framework
1.12
|
Public Member Functions | |
createFromStorageCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentName, $label, $staging=false, $production=false, $packageUrl, $serviceConfigurationLocation, $startImmediately=true, $warningsAsErrors=false, $waitForOperation=false) | |
Creates a deployment from a remote package file and service configuration. | |
createFromLocalCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentName, $label, $staging=false, $production=false, $packageLocation, $serviceConfigurationLocation, $storageAccount, $startImmediately=true, $warningsAsErrors=false, $waitForOperation=false) | |
Creates a deployment from a local package file and service configuration. | |
getPropertiesCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName) | |
Get deployment properties. | |
getPropertyCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $property) | |
Get hosted service account property. | |
swapCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $waitForOperation=false) | |
Swap deployment slots (perform VIP swap). | |
deleteCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $waitForOperation=false) | |
Deletes a deployment. | |
updateConfigurationCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $serviceConfigurationLocation, $waitForOperation=false) | |
Updates a deployment's configuration. | |
updateStatusCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $newStatus, $waitForOperation=false) | |
Updates a deployment's status. | |
editInstanceNumberCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $roleName, $newInstanceNumber=1, $waitForOperation=false) | |
Updates the number of instances. | |
rebootInstanceCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $instanceName, $waitForOperation=false) | |
Reboots a role instance. | |
reimageInstanceCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $instanceName, $waitForOperation=false) | |
Reimages a role instance. | |
upgradeFromStorageCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $label, $packageUrl, $serviceConfigurationLocation, $mode= 'auto', $roleName=null, $waitForOperation=false) | |
Upgrades a deployment from a remote package file and service configuration. | |
upgradeFromLocalCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $label, $packageLocation, $serviceConfigurationLocation, $storageAccount, $mode= 'auto', $roleName=null, $waitForOperation=false) | |
Upgrades a deployment from a local package file and service configuration. | |
walkUpgradeDomainsCommand ($subscriptionId, $certificate, $certificatePassphrase, $serviceName, $deploymentSlot, $deploymentName, $upgradeDomain, $waitForOperation=false) | |
Walks upgrade domains. | |
createFromLocalCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentName, | |||
$label, | |||
$staging = false , |
|||
$production = false , |
|||
$packageLocation, | |||
$serviceConfigurationLocation, | |||
$storageAccount, | |||
$startImmediately = true , |
|||
$warningsAsErrors = false , |
|||
$waitForOperation = false |
|||
) |
Creates a deployment from a local package file and service configuration.
-name CreateFromLocal -description Creates a deployment from a local package file and service configuration. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –DeploymentName Required. The name for the deployment. -parameter-for $label Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Label Required. The label for the deployment. -parameter-for $staging Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Staging Host the service in the staging slot. -parameter-for $production Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Production Host the service in the staging slot. -parameter-for $packageLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –PackageLocation Required. The location of the .cspkg file. -parameter-for $serviceConfigurationLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ServiceConfigLocation Required. The location of the .cspkg file. -parameter-for $storageAccount Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –StorageAccount Required. Storage account to use when creating the deployment. -parameter-for $startImmediately Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –StartImmediately Optional. Start the deployment after creation. -parameter-for $warningsAsErrors Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WarningsAsErrors Optional. Treat warnings as errors. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Create a deployment from a local .cspkg: -example CreateFromLocal -sid:"<your_subscription_id>" -cert:"mycert.pem" –Name:"hostedservicename" –DeploymentName:"deploymentname" -example –Label:"deploymentlabel" –Production –PackageLocation:".\service.cspkg" -example –ServiceConfigLocation:".\ServiceConfiguration.cscfg" –StorageAccount:"mystorage" -example –StartImmediately –WaitFor
createFromStorageCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentName, | |||
$label, | |||
$staging = false , |
|||
$production = false , |
|||
$packageUrl, | |||
$serviceConfigurationLocation, | |||
$startImmediately = true , |
|||
$warningsAsErrors = false , |
|||
$waitForOperation = false |
|||
) |
Creates a deployment from a remote package file and service configuration.
-name CreateFromStorage -description Creates a deployment from a remote package file and service configuration. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –DeploymentName Required. The name for the deployment. -parameter-for $label Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Label Required. The label for the deployment. -parameter-for $staging Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Staging Host the service in the staging slot. -parameter-for $production Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Production Host the service in the staging slot. -parameter-for $packageUrl Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –PackageUrl Required. The remote location of the .cspkg file. -parameter-for $serviceConfigurationLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ServiceConfigLocation Required. The location of the .cspkg file. -parameter-for $startImmediately Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –StartImmediately Optional. Start the deployment after creation. -parameter-for $warningsAsErrors Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WarningsAsErrors Optional. Treat warnings as errors. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Create a deployment from a remote .cspkg: -example CreateFromStorage -sid:"<your_subscription_id>" -cert:"mycert.pem" –Name:"hostedservicename" –DeploymentName:"deploymentname" -example –Label:"deploymentlabel" –Production -example –PackageUrl:"http://acct.blob.core.windows.net/pkgs/service.cspkg" -example –ServiceConfigLocation:".\ServiceConfiguration.cscfg" –StartImmediately –WaitFor
deleteCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$waitForOperation = false |
|||
) |
Deletes a deployment.
-name Delete -description Deletes a deployment. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Delete a deployment: -example Delete -sid:"<your_subscription_id>" -cert:"mycert.pem" –Name:"hostedservicename" –DeploymentName:"deploymentname"
editInstanceNumberCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$roleName, | |||
$newInstanceNumber = 1 , |
|||
$waitForOperation = false |
|||
) |
Updates the number of instances.
-name EditInstanceNumber -description Updates the number of instances. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $roleName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –RoleName|-r Required. Role name to update the number of instances for. -parameter-for $newInstanceNumber Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –NewInstanceNumber|-i Required. New number of instances. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Suspend a deployment: -example EditInstanceNumber -sid:"<your_subscription_id>" -cert:"mycert.pem" -example –Name:"hostedservicename" –ByName:"deploymentname" -example –NewInstanceNumber:"4"
getPropertiesCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName | |||
) |
Get deployment properties.
-name GetProperties -description Get deployment properties. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -example Get deployment properties for service "phptest" (production slot): -example GetProperties -sid:"<your_subscription_id>" -cert:"mycert.pem" –Name:"servicename" –BySlot:"production"
getPropertyCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$property | |||
) |
Get hosted service account property.
-name GetProperty -description Get deployment property. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $property Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Property|-prop Required. The property to retrieve for the hosted service account. -example Get deployment property "Name" for service "phptest" (production slot): -example GetProperties -sid:"<your_subscription_id>" -cert:"mycert.pem" -example –Name:"servicename" –BySlot:"production" –Property:"Name"
rebootInstanceCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$instanceName, | |||
$waitForOperation = false |
|||
) |
Reboots a role instance.
-name RebootInstance -description Reboots a role instance. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $instanceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –RoleInstanceName Required. The name of the role instance to work with. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Reboot a role instance: -example RebootInstance -sid:"<your_subscription_id>" -cert:"mycert.pem" -example –Name:"hostedservicename" –ByName:"deploymentname" -example –RoleInstanceName:"PhpOnAzure.Web_IN_0"
reimageInstanceCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$instanceName, | |||
$waitForOperation = false |
|||
) |
Reimages a role instance.
-name ReimageInstance -description Reimages a role instance. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $instanceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –RoleInstanceName Required. The name of the role instance to work with. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Reimage a role instance: -example ReimageInstance -sid:"<your_subscription_id>" -cert:"mycert.pem" -example –Name:"hostedservicename" –ByName:"deploymentname" -example –RoleInstanceName:"PhpOnAzure.Web_IN_0"
swapCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$waitForOperation = false |
|||
) |
Swap deployment slots (perform VIP swap).
-name Swap -description Swap deployment slots (perform VIP swap). -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Swap deployment slots: -example Swap -sid:"<your_subscription_id>" -cert:"mycert.pem" –Name:"servicename"
updateConfigurationCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$serviceConfigurationLocation, | |||
$waitForOperation = false |
|||
) |
Updates a deployment's configuration.
-name UpdateConfig -description Updates a deployment's configuration. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $serviceConfigurationLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ServiceConfigLocation Required. The location of the .cspkg file. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Update configuration: -example UpdateConfig -sid:"<your_subscription_id>" -cert:"mycert.pem" -example –Name:"hostedservicename" –ByName:"deploymentname" -example –ServiceConfigLocation:".\ServiceConfiguration.cscfg"
updateStatusCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$newStatus, | |||
$waitForOperation = false |
|||
) |
Updates a deployment's status.
-name UpdateStatus -description Updates a deployment's status. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $newStatus Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Status Required. New status (Suspended|Running) -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete? -example Suspend a deployment: -example UpdateStatus -sid:"<your_subscription_id>" -cert:"mycert.pem" -example –Name:"hostedservicename" –ByName:"deploymentname" -example –Status:"Suspended"
upgradeFromLocalCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$label, | |||
$packageLocation, | |||
$serviceConfigurationLocation, | |||
$storageAccount, | |||
$mode = 'auto' , |
|||
$roleName = null , |
|||
$waitForOperation = false |
|||
) |
Upgrades a deployment from a local package file and service configuration.
-name UpgradeFromLocal -description Upgrades a deployment from a local package file and service configuration. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $label Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Label Required. The label for the deployment. -parameter-for $packageLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –PackageLocation Required. The location of the .cspkg file. -parameter-for $serviceConfigurationLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ServiceConfigLocation Required. The location of the .cspkg file. -parameter-for $storageAccount Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –StorageAccount Required. Storage account to use when creating the deployment. -parameter-for $mode Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Mode Required. Set to auto|manual. -parameter-for $roleName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –RoleName Optional. Role name to upgrade. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete?
upgradeFromStorageCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$label, | |||
$packageUrl, | |||
$serviceConfigurationLocation, | |||
$mode = 'auto' , |
|||
$roleName = null , |
|||
$waitForOperation = false |
|||
) |
Upgrades a deployment from a remote package file and service configuration.
-name UpgradeFromStorage -description Upgrades a deployment from a remote package file and service configuration. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $label Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Label Required. The label for the deployment. -parameter-for $packageUrl Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –PackageUrl Required. The remote location of the .cspkg file. -parameter-for $serviceConfigurationLocation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ServiceConfigLocation Required. The location of the .cspkg file. -parameter-for $mode Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –Mode Required. Set to auto|manual. -parameter-for $roleName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –RoleName Optional. Role name to upgrade. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete?
walkUpgradeDomainsCommand | ( | $subscriptionId, | |
$certificate, | |||
$certificatePassphrase, | |||
$serviceName, | |||
$deploymentSlot, | |||
$deploymentName, | |||
$upgradeDomain, | |||
$waitForOperation = false |
|||
) |
Walks upgrade domains.
-name WalkUpgradeDomains -description Walks upgrade domains. -parameter-for $subscriptionId Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –SubscriptionId|-sid Required. This is the Windows Azure Subscription Id to operate on. -parameter-for $certificate Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Certificate|-cert Required. This is the .pem certificate that user has uploaded to Windows Azure subscription as Management Certificate. -parameter-for $certificatePassphrase Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Prompt –Passphrase|-p Required. The certificate passphrase. If not specified, a prompt will be displayed. -parameter-for $serviceName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile|Zend_Service_Console_Command_ParameterSource_Env –Name Required. The hosted service account name to operate on. -parameter-for $deploymentSlot Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –BySlot Required if deployment name is omitted. The slot to retrieve property information for. -parameter-for $deploymentName Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –ByName Required if deployment slot is omitted. The deployment name to retrieve property information for. -parameter-for $upgradeDomain Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –UpgradeDomain Required. The upgrade domain index. -parameter-for $waitForOperation Zend_Service_Console_Command_ParameterSource_Argv|Zend_Service_Console_Command_ParameterSource_ConfigFile –WaitFor|-w Optional. Wait for the operation to complete?