Zend Framework
1.12
|
Public Member Functions | |
__construct ($subscriptionId, $certificatePath, $certificatePassphrase, Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $retryPolicy=null) | |
Creates a new Zend_Service_WindowsAzure_Management instance. | |
setHttpClientChannel ($adapterInstance= 'Zend_Http_Client_Adapter_Socket') | |
Set the HTTP client channel to use. | |
getHttpClientChannel () | |
Retrieve HTTP client channel. | |
getSubscriptionId () | |
Returns the Windows Azure subscription ID. | |
getLastRequestId () | |
Returns the last request ID. | |
getBaseUrl () | |
Get base URL for creating requests. | |
getOperationStatus ($requestId= '') | |
The Get Operation Status operation returns the status of the specified operation. | |
listSubscriptionOperations ($startTime, $endTime, $objectIdFilter=null, $operationResultFilter=null, $continuationToken=null) | |
The List Subscription Operations operation returns a list of create, update, and delete operations that were performed on a subscription during the specified timeframe. | |
waitForOperation ($requestId= '', $sleepInterval=250) | |
Wait for an operation to complete. | |
createBlobClientForService ($serviceName, Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $retryPolicy=null) | |
Creates a new Zend_Service_WindowsAzure_Storage_Blob instance for the current account. | |
createTableClientForService ($serviceName, Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $retryPolicy=null) | |
Creates a new Zend_Service_WindowsAzure_Storage_Table instance for the current account. | |
createQueueClientForService ($serviceName, Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract $retryPolicy=null) | |
Creates a new Zend_Service_WindowsAzure_Storage_Queue instance for the current account. | |
listStorageAccounts () | |
The List Storage Accounts operation lists the storage accounts available under the current subscription. | |
getStorageAccountProperties ($serviceName) | |
The Get Storage Account Properties operation returns the system properties for the specified storage account. | |
getStorageAccountKeys ($serviceName) | |
The Get Storage Keys operation returns the primary and secondary access keys for the specified storage account. | |
regenerateStorageAccountKey ($serviceName, $key= 'primary') | |
The Regenerate Keys operation regenerates the primary or secondary access key for the specified storage account. | |
listHostedServices () | |
The List Hosted Services operation lists the hosted services available under the current subscription. | |
createHostedService ($serviceName, $label, $description= '', $location=null, $affinityGroup=null) | |
The Create Hosted Service operation creates a new hosted service in Windows Azure. | |
updateHostedService ($serviceName, $label, $description= '') | |
The Update Hosted Service operation updates the label and/or the description for a hosted service in Windows Azure. | |
deleteHostedService ($serviceName) | |
The Delete Hosted Service operation deletes the specified hosted service in Windows Azure. | |
getHostedServiceProperties ($serviceName) | |
The Get Hosted Service Properties operation retrieves system properties for the specified hosted service. | |
createDeployment ($serviceName, $deploymentSlot, $name, $label, $packageUrl, $configuration, $startDeployment=false, $treatWarningsAsErrors=false) | |
The Create Deployment operation uploads a new service package and creates a new deployment on staging or production. | |
getDeploymentBySlot ($serviceName, $deploymentSlot) | |
The Get Deployment operation returns configuration information, status, and system properties for the specified deployment. | |
getDeploymentByDeploymentId ($serviceName, $deploymentId) | |
The Get Deployment operation returns configuration information, status, and system properties for the specified deployment. | |
swapDeployment ($serviceName, $productionDeploymentName, $sourceDeploymentName) | |
The Swap Deployment operation initiates a virtual IP swap between the staging and production deployment environments for a service. | |
deleteDeploymentBySlot ($serviceName, $deploymentSlot) | |
The Delete Deployment operation deletes the specified deployment. | |
deleteDeploymentByDeploymentId ($serviceName, $deploymentId) | |
The Delete Deployment operation deletes the specified deployment. | |
updateDeploymentStatusBySlot ($serviceName, $deploymentSlot, $status= 'running') | |
The Update Deployment Status operation initiates a change in deployment status. | |
updateDeploymentStatusByDeploymentId ($serviceName, $deploymentId, $status= 'running') | |
The Update Deployment Status operation initiates a change in deployment status. | |
setInstanceCountBySlot ($serviceName, $deploymentSlot, $roleName, $instanceCount) | |
Updates a deployment's role instance count. | |
setInstanceCountByDeploymentId ($serviceName, $deploymentId, $roleName, $instanceCount) | |
Updates a deployment's role instance count. | |
configureDeploymentBySlot ($serviceName, $deploymentSlot, $configuration) | |
The Change Deployment Configuration request may be specified as follows. | |
configureDeploymentByDeploymentId ($serviceName, $deploymentId, $configuration) | |
The Change Deployment Configuration request may be specified as follows. | |
upgradeDeploymentBySlot ($serviceName, $deploymentSlot, $label, $packageUrl, $configuration, $mode= 'auto', $roleToUpgrade=null) | |
The Upgrade Deployment operation initiates an upgrade. | |
upgradeDeploymentByDeploymentId ($serviceName, $deploymentId, $label, $packageUrl, $configuration, $mode= 'auto', $roleToUpgrade=null) | |
The Upgrade Deployment operation initiates an upgrade. | |
walkUpgradeDomainBySlot ($serviceName, $deploymentSlot, $upgradeDomain=0) | |
The Walk Upgrade Domain operation specifies the next upgrade domain to be walked during an in-place upgrade. | |
walkUpgradeDomainByDeploymentId ($serviceName, $deploymentId, $upgradeDomain=0) | |
The Walk Upgrade Domain operation specifies the next upgrade domain to be walked during an in-place upgrade. | |
rebootRoleInstanceBySlot ($serviceName, $deploymentSlot, $roleInstanceName) | |
The Reboot Role Instance operation requests a reboot of a role instance that is running in a deployment. | |
rebootRoleInstanceByDeploymentId ($serviceName, $deploymentId, $roleInstanceName) | |
The Reboot Role Instance operation requests a reboot of a role instance that is running in a deployment. | |
reimageRoleInstanceBySlot ($serviceName, $deploymentSlot, $roleInstanceName) | |
The Reimage Role Instance operation requests a reimage of a role instance that is running in a deployment. | |
reimageRoleInstanceByDeploymentId ($serviceName, $deploymentId, $roleInstanceName) | |
The Reimage Role Instance operation requests a reimage of a role instance that is running in a deployment. | |
listCertificates ($serviceName) | |
The List Certificates operation lists all certificates associated with the specified hosted service. | |
getCertificate ($serviceName, $algorithm= '', $thumbprint= '') | |
The Get Certificate operation returns the public data for the specified certificate. | |
addCertificate ($serviceName, $certificateData, $certificatePassword, $certificateFormat= 'pfx') | |
The Add Certificate operation adds a certificate to the subscription. | |
deleteCertificate ($serviceName, $algorithm= '', $thumbprint= '') | |
The Delete Certificate operation deletes a certificate from the subscription's certificate store. | |
listAffinityGroups () | |
The List Affinity Groups operation lists the affinity groups associated with the specified subscription. | |
createAffinityGroup ($name, $label, $description= '', $location= '') | |
The Create Affinity Group operation creates a new affinity group for the specified subscription. | |
updateAffinityGroup ($name, $label, $description= '') | |
The Update Affinity Group operation updates the label and/or the description for an affinity group for the specified subscription. | |
deleteAffinityGroup ($name) | |
The Delete Affinity Group operation deletes an affinity group in the specified subscription. | |
getAffinityGroupProperties ($affinityGroupName) | |
The Get Affinity Group Properties operation returns the system properties associated with the specified affinity group. | |
listLocations () | |
The List Locations operation lists all of the data center locations that are valid for your subscription. | |
listOperatingSystems () | |
The List Operating Systems operation lists the versions of the guest operating system that are currently available in Windows Azure. | |
listOperatingSystemFamilies () | |
The List OS Families operation lists the guest operating system families available in Windows Azure, and also lists the operating system versions available for each family. | |
_cleanConfiguration ($configuration) | |
Clean configuration. | |
Static Public Member Functions | |
static | urlencode ($value) |
URL encode function. | |
static | createQueryStringFromArray ($queryString) |
Builds a query string from an array of elements. | |
Public Attributes | |
const | URL_MANAGEMENT = "https://management.core.windows.net" |
Management service URL. | |
const | OP_OPERATIONS = "operations" |
Operations. | |
const | OP_STORAGE_ACCOUNTS = "services/storageservices" |
const | OP_HOSTED_SERVICES = "services/hostedservices" |
const | OP_AFFINITYGROUPS = "affinitygroups" |
const | OP_LOCATIONS = "locations" |
const | OP_OPERATINGSYSTEMS = "operatingsystems" |
const | OP_OPERATINGSYSTEMFAMILIES = "operatingsystemfamilies" |
Protected Member Functions | |
_performRequest ($path= '/', $queryString= '', $httpVerb=Zend_Http_Client::GET, $headers=array(), $rawData=null) | |
Perform request using Zend_Http_Client channel. | |
_parseResponse (Zend_Http_Response $response=null) | |
Parse result from Zend_Http_Response. | |
_getErrorMessage (Zend_Http_Response $response, $alternativeError= 'Unknown error.') | |
Get error message from Zend_Http_Response. | |
_getDeployment ($operationUrl) | |
The Get Deployment operation returns configuration information, status, and system properties for the specified deployment. | |
_deleteDeployment ($operationUrl) | |
The Delete Deployment operation deletes the specified deployment. | |
_updateDeploymentStatus ($operationUrl, $status= 'running') | |
The Update Deployment Status operation initiates a change in deployment status. | |
_convertXmlElementToDeploymentInstance ($xmlService) | |
Converts an XmlElement into a Zend_Service_WindowsAzure_Management_DeploymentInstance. | |
_updateInstanceCountInConfiguration ($roleName, $instanceCount, $configuration) | |
Updates instance count in configuration XML. | |
_configureDeployment ($operationUrl, $configuration) | |
The Change Deployment Configuration request may be specified as follows. | |
_upgradeDeployment ($operationUrl, $label, $packageUrl, $configuration, $mode, $roleToUpgrade) | |
The Upgrade Deployment operation initiates an upgrade. | |
_walkUpgradeDomain ($operationUrl, $upgradeDomain=0) | |
The Walk Upgrade Domain operation specifies the next upgrade domain to be walked during an in-place upgrade. | |
_rebootOrReimageRoleInstance ($operationUrl, $operation= 'reboot') | |
Reboots or reimages a role instance. | |
Protected Attributes | |
$_apiVersion = '2011-02-25' | |
$_subscriptionId = '' | |
$_certificatePath = '' | |
$_certificatePassphrase = '' | |
$_httpClientChannel = null | |
$_retryPolicy = null | |
$_lastRequestId = null | |
__construct | ( | $subscriptionId, | |
$certificatePath, | |||
$certificatePassphrase, | |||
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy = null |
||
) |
Creates a new Zend_Service_WindowsAzure_Management instance.
string | $subscriptionId | Subscription ID |
string | $certificatePath | Management certificate path (.PEM) |
string | $certificatePassphrase | Management certificate passphrase |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy | Retry policy to use when making requests |
_cleanConfiguration | ( | $configuration | ) |
Clean configuration.
string | $configuration | Configuration to clean. |
|
protected |
The Change Deployment Configuration request may be specified as follows.
Note that you can change a deployment's configuration either by specifying the deployment environment (staging or production), or by specifying the deployment's unique name.
string | $operationUrl | The operation url |
string | $configuration | XML configuration represented as a string |
|
protected |
Converts an XmlElement into a Zend_Service_WindowsAzure_Management_DeploymentInstance.
object | $xmlService | The XML Element |
|
protected |
The Delete Deployment operation deletes the specified deployment.
string | $operationUrl | The operation url |
|
protected |
The Get Deployment operation returns configuration information, status, and system properties for the specified deployment.
string | $operationUrl | The operation url |
|
protected |
Get error message from Zend_Http_Response.
Zend_Http_Response | $response | Repsonse |
string | $alternativeError | Alternative error message |
|
protected |
Parse result from Zend_Http_Response.
Zend_Http_Response | $response | Response from HTTP call |
Zend_Service_WindowsAzure_Exception |
|
protected |
Perform request using Zend_Http_Client channel.
string | $path | Path |
string | $queryString | Query string |
string | $httpVerb | HTTP verb the request will use |
array | $headers | x-ms headers to add |
mixed | $rawData | Optional RAW HTTP data to be sent over the wire |
|
protected |
Reboots or reimages a role instance.
string | $operationUrl | The operation url |
string | $operation | The operation (reboot|reimage) |
|
protected |
The Update Deployment Status operation initiates a change in deployment status.
string | $operationUrl | The operation url |
string | $status | The deployment status (running|suspended) |
|
protected |
Updates instance count in configuration XML.
string | array | $roleName | The role name |
string | array | $instanceCount | The instance count |
string | $configuration | XML configuration represented as a string |
|
protected |
The Upgrade Deployment operation initiates an upgrade.
string | $operationUrl | The operation url |
string | $label | A URL that refers to the location of the service package in the Blob service. The service package must be located in a storage account beneath the same subscription. |
string | $packageUrl | The service configuration file for the deployment. |
string | $configuration | A label for this deployment, up to 100 characters in length. |
string | $mode | The type of upgrade to initiate. Possible values are Auto or Manual. |
string | $roleToUpgrade | The name of the specific role to upgrade. |
|
protected |
The Walk Upgrade Domain operation specifies the next upgrade domain to be walked during an in-place upgrade.
string | $operationUrl | The operation url |
int | $upgradeDomain | An integer value that identifies the upgrade domain to walk. Upgrade domains are identified with a zero-based index: the first upgrade domain has an ID of 0, the second has an ID of 1, and so on. |
addCertificate | ( | $serviceName, | |
$certificateData, | |||
$certificatePassword, | |||
$certificateFormat = 'pfx' |
|||
) |
The Add Certificate operation adds a certificate to the subscription.
string | $serviceName | The service name |
string | $certificateData | Certificate data |
string | $certificatePassword | The certificate password |
string | $certificateFormat | The certificate format. Currently, only 'pfx' is supported. |
configureDeploymentByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$configuration | |||
) |
The Change Deployment Configuration request may be specified as follows.
Note that you can change a deployment's configuration either by specifying the deployment environment (staging or production), or by specifying the deployment's unique name.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
string | $configuration | XML configuration represented as a string |
configureDeploymentBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$configuration | |||
) |
The Change Deployment Configuration request may be specified as follows.
Note that you can change a deployment's configuration either by specifying the deployment environment (staging or production), or by specifying the deployment's unique name.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | $configuration | XML configuration represented as a string |
createAffinityGroup | ( | $name, | |
$label, | |||
$description = '' , |
|||
$location = '' |
|||
) |
The Create Affinity Group operation creates a new affinity group for the specified subscription.
string | $name | A name for the affinity group that is unique to the subscription. |
string | $label | A label for the affinity group. The label may be up to 100 characters in length. |
string | $description | A description for the affinity group. The description may be up to 1024 characters in length. |
string | $location | The location where the affinity group will be created. To list available locations, use the List Locations operation. |
createBlobClientForService | ( | $serviceName, | |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy = null |
||
) |
Creates a new Zend_Service_WindowsAzure_Storage_Blob instance for the current account.
string | $serviceName | the service name to create a storage client for. |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy | Retry policy to use when making requests |
createDeployment | ( | $serviceName, | |
$deploymentSlot, | |||
$name, | |||
$label, | |||
$packageUrl, | |||
$configuration, | |||
$startDeployment = false , |
|||
$treatWarningsAsErrors = false |
|||
) |
The Create Deployment operation uploads a new service package and creates a new deployment on staging or production.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | $name | The name for the deployment. The deployment ID as listed on the Windows Azure management portal must be unique among other deployments for the hosted service. |
string | $label | A URL that refers to the location of the service package in the Blob service. The service package must be located in a storage account beneath the same subscription. |
string | $packageUrl | The service configuration file for the deployment. |
string | $configuration | A label for this deployment, up to 100 characters in length. |
boolean | $startDeployment | Indicates whether to start the deployment immediately after it is created. |
boolean | $treatWarningsAsErrors | Indicates whether to treat package validation warnings as errors. |
createHostedService | ( | $serviceName, | |
$label, | |||
$description = '' , |
|||
$location = null , |
|||
$affinityGroup = null |
|||
) |
The Create Hosted Service operation creates a new hosted service in Windows Azure.
string | $serviceName | A name for the hosted service that is unique to the subscription. |
string | $label | A label for the hosted service. The label may be up to 100 characters in length. |
string | $description | A description for the hosted service. The description may be up to 1024 characters in length. |
string | $location | Required if AffinityGroup is not specified. The location where the hosted service will be created. |
string | $affinityGroup | Required if Location is not specified. The name of an existing affinity group associated with this subscription. |
|
static |
Builds a query string from an array of elements.
array | Array of elements |
createQueueClientForService | ( | $serviceName, | |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy = null |
||
) |
Creates a new Zend_Service_WindowsAzure_Storage_Queue instance for the current account.
string | $serviceName | the service name to create a storage client for. |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy | Retry policy to use when making requests |
createTableClientForService | ( | $serviceName, | |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy = null |
||
) |
Creates a new Zend_Service_WindowsAzure_Storage_Table instance for the current account.
string | $serviceName | the service name to create a storage client for. |
Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract | $retryPolicy | Retry policy to use when making requests |
deleteAffinityGroup | ( | $name | ) |
The Delete Affinity Group operation deletes an affinity group in the specified subscription.
string | $name | The name for the affinity group that should be deleted. |
deleteCertificate | ( | $serviceName, | |
$algorithm = '' , |
|||
$thumbprint = '' |
|||
) |
The Delete Certificate operation deletes a certificate from the subscription's certificate store.
string | $serviceName,|$certificateUrl | The service name -or- the certificate URL |
string | $algorithm | Algorithm |
string | $thumbprint | Thumbprint |
deleteDeploymentByDeploymentId | ( | $serviceName, | |
$deploymentId | |||
) |
The Delete Deployment operation deletes the specified deployment.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
deleteDeploymentBySlot | ( | $serviceName, | |
$deploymentSlot | |||
) |
The Delete Deployment operation deletes the specified deployment.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
deleteHostedService | ( | $serviceName | ) |
The Delete Hosted Service operation deletes the specified hosted service in Windows Azure.
string | $serviceName | A name for the hosted service that is unique to the subscription. |
getAffinityGroupProperties | ( | $affinityGroupName | ) |
The Get Affinity Group Properties operation returns the system properties associated with the specified affinity group.
string | $affinityGroupName | The affinity group name. |
getBaseUrl | ( | ) |
Get base URL for creating requests.
getCertificate | ( | $serviceName, | |
$algorithm = '' , |
|||
$thumbprint = '' |
|||
) |
The Get Certificate operation returns the public data for the specified certificate.
string | $serviceName,|$certificateUrl | The service name -or- the certificate URL |
string | $algorithm | Algorithm |
string | $thumbprint | Thumbprint |
getDeploymentByDeploymentId | ( | $serviceName, | |
$deploymentId | |||
) |
The Get Deployment operation returns configuration information, status, and system properties for the specified deployment.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
getDeploymentBySlot | ( | $serviceName, | |
$deploymentSlot | |||
) |
The Get Deployment operation returns configuration information, status, and system properties for the specified deployment.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
getHostedServiceProperties | ( | $serviceName | ) |
The Get Hosted Service Properties operation retrieves system properties for the specified hosted service.
These properties include the service name and service type; the name of the affinity group to which the service belongs, or its location if it is not part of an affinity group; and optionally, information on the service's deployments.
string | $serviceName | The name of your service. |
getHttpClientChannel | ( | ) |
Retrieve HTTP client channel.
getLastRequestId | ( | ) |
Returns the last request ID.
getOperationStatus | ( | $requestId = '' | ) |
The Get Operation Status operation returns the status of the specified operation.
After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeed, failed, or is still in progress.
string | $requestId | The request ID. If omitted, the last request ID will be used. |
getStorageAccountKeys | ( | $serviceName | ) |
The Get Storage Keys operation returns the primary and secondary access keys for the specified storage account.
string | $serviceName | The name of your service. |
getStorageAccountProperties | ( | $serviceName | ) |
The Get Storage Account Properties operation returns the system properties for the specified storage account.
These properties include: the address, description, and label of the storage account; and the name of the affinity group to which the service belongs, or its geo-location if it is not part of an affinity group.
string | $serviceName | The name of your service. |
getSubscriptionId | ( | ) |
Returns the Windows Azure subscription ID.
listAffinityGroups | ( | ) |
The List Affinity Groups operation lists the affinity groups associated with the specified subscription.
listCertificates | ( | $serviceName | ) |
The List Certificates operation lists all certificates associated with the specified hosted service.
string | $serviceName | The service name |
listHostedServices | ( | ) |
The List Hosted Services operation lists the hosted services available under the current subscription.
listLocations | ( | ) |
The List Locations operation lists all of the data center locations that are valid for your subscription.
listOperatingSystemFamilies | ( | ) |
The List OS Families operation lists the guest operating system families available in Windows Azure, and also lists the operating system versions available for each family.
Currently Windows Azure supports two operating system families: the Windows Azure guest operating system that is substantially compatible with Windows Server 2008 SP2, and the Windows Azure guest operating system that is substantially compatible with Windows Server 2008 R2.
listOperatingSystems | ( | ) |
The List Operating Systems operation lists the versions of the guest operating system that are currently available in Windows Azure.
The 2010-10-28 version of List Operating Systems also indicates what family an operating system version belongs to. Currently Windows Azure supports two operating system families: the Windows Azure guest operating system that is substantially compatible with Windows Server 2008 SP2, and the Windows Azure guest operating system that is substantially compatible with Windows Server 2008 R2.
listStorageAccounts | ( | ) |
The List Storage Accounts operation lists the storage accounts available under the current subscription.
listSubscriptionOperations | ( | $startTime, | |
$endTime, | |||
$objectIdFilter = null , |
|||
$operationResultFilter = null , |
|||
$continuationToken = null |
|||
) |
The List Subscription Operations operation returns a list of create, update, and delete operations that were performed on a subscription during the specified timeframe.
Documentation on the parameters can be found at http://msdn.microsoft.com/en-us/library/gg715318.aspx.
string | $startTime | The start of the timeframe to begin listing subscription operations in UTC format. This parameter and the $endTime parameter indicate the timeframe to retrieve subscription operations. This parameter cannot indicate a start date of more than 90 days in the past. |
string | $endTime | The end of the timeframe to begin listing subscription operations in UTC format. This parameter and the $startTime parameter indicate the timeframe to retrieve subscription operations. |
string | $objectIdFilter | Returns subscription operations only for the specified object type and object ID. |
string | $operationResultFilter | Returns subscription operations only for the specified result status, either Succeeded, Failed, or InProgress. |
string | $continuationToken | Internal usage. |
rebootRoleInstanceByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$roleInstanceName | |||
) |
The Reboot Role Instance operation requests a reboot of a role instance that is running in a deployment.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
string | $roleInstanceName | The role instance name |
rebootRoleInstanceBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$roleInstanceName | |||
) |
The Reboot Role Instance operation requests a reboot of a role instance that is running in a deployment.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | $roleInstanceName | The role instance name |
regenerateStorageAccountKey | ( | $serviceName, | |
$key = 'primary' |
|||
) |
The Regenerate Keys operation regenerates the primary or secondary access key for the specified storage account.
string | $serviceName | The name of your service. |
string | $key | The key to regenerate (primary or secondary) |
reimageRoleInstanceByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$roleInstanceName | |||
) |
The Reimage Role Instance operation requests a reimage of a role instance that is running in a deployment.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
string | $roleInstanceName | The role instance name |
reimageRoleInstanceBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$roleInstanceName | |||
) |
The Reimage Role Instance operation requests a reimage of a role instance that is running in a deployment.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | $roleInstanceName | The role instance name |
setHttpClientChannel | ( | $adapterInstance = 'Zend_Http_Client_Adapter_Socket' | ) |
Set the HTTP client channel to use.
Zend_Http_Client_Adapter_Interface | string | $adapterInstance | Adapter instance or adapter class name. |
setInstanceCountByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$roleName, | |||
$instanceCount | |||
) |
Updates a deployment's role instance count.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | array | $roleName | The role name |
string | array | $instanceCount | The instance count |
setInstanceCountBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$roleName, | |||
$instanceCount | |||
) |
Updates a deployment's role instance count.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | array | $roleName | The role name |
string | array | $instanceCount | The instance count |
swapDeployment | ( | $serviceName, | |
$productionDeploymentName, | |||
$sourceDeploymentName | |||
) |
The Swap Deployment operation initiates a virtual IP swap between the staging and production deployment environments for a service.
If the service is currently running in the staging environment, it will be swapped to the production environment. If it is running in the production environment, it will be swapped to staging.
string | $serviceName | The service name. |
string | $productionDeploymentName | The name of the production deployment. |
string | $sourceDeploymentName | The name of the source deployment. |
updateAffinityGroup | ( | $name, | |
$label, | |||
$description = '' |
|||
) |
The Update Affinity Group operation updates the label and/or the description for an affinity group for the specified subscription.
string | $name | The name for the affinity group that should be updated. |
string | $label | A label for the affinity group. The label may be up to 100 characters in length. |
string | $description | A description for the affinity group. The description may be up to 1024 characters in length. |
updateDeploymentStatusByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$status = 'running' |
|||
) |
The Update Deployment Status operation initiates a change in deployment status.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
string | $status | The deployment status (running|suspended) |
updateDeploymentStatusBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$status = 'running' |
|||
) |
The Update Deployment Status operation initiates a change in deployment status.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | $status | The deployment status (running|suspended) |
updateHostedService | ( | $serviceName, | |
$label, | |||
$description = '' |
|||
) |
The Update Hosted Service operation updates the label and/or the description for a hosted service in Windows Azure.
string | $serviceName | A name for the hosted service that is unique to the subscription. |
string | $label | A label for the hosted service. The label may be up to 100 characters in length. |
string | $description | A description for the hosted service. The description may be up to 1024 characters in length. |
upgradeDeploymentByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$label, | |||
$packageUrl, | |||
$configuration, | |||
$mode = 'auto' , |
|||
$roleToUpgrade = null |
|||
) |
The Upgrade Deployment operation initiates an upgrade.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
string | $label | A URL that refers to the location of the service package in the Blob service. The service package must be located in a storage account beneath the same subscription. |
string | $packageUrl | The service configuration file for the deployment. |
string | $configuration | A label for this deployment, up to 100 characters in length. |
string | $mode | The type of upgrade to initiate. Possible values are Auto or Manual. |
string | $roleToUpgrade | The name of the specific role to upgrade. |
upgradeDeploymentBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$label, | |||
$packageUrl, | |||
$configuration, | |||
$mode = 'auto' , |
|||
$roleToUpgrade = null |
|||
) |
The Upgrade Deployment operation initiates an upgrade.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
string | $label | A URL that refers to the location of the service package in the Blob service. The service package must be located in a storage account beneath the same subscription. |
string | $packageUrl | The service configuration file for the deployment. |
string | $configuration | A label for this deployment, up to 100 characters in length. |
string | $mode | The type of upgrade to initiate. Possible values are Auto or Manual. |
string | $roleToUpgrade | The name of the specific role to upgrade. |
|
static |
URL encode function.
string | $value | Value to encode |
waitForOperation | ( | $requestId = '' , |
|
$sleepInterval = 250 |
|||
) |
Wait for an operation to complete.
string | $requestId | The request ID. If omitted, the last request ID will be used. |
int | $sleepInterval | Sleep interval in milliseconds. |
walkUpgradeDomainByDeploymentId | ( | $serviceName, | |
$deploymentId, | |||
$upgradeDomain = 0 |
|||
) |
The Walk Upgrade Domain operation specifies the next upgrade domain to be walked during an in-place upgrade.
string | $serviceName | The service name |
string | $deploymentId | The deployment ID as listed on the Windows Azure management portal |
int | $upgradeDomain | An integer value that identifies the upgrade domain to walk. Upgrade domains are identified with a zero-based index: the first upgrade domain has an ID of 0, the second has an ID of 1, and so on. |
walkUpgradeDomainBySlot | ( | $serviceName, | |
$deploymentSlot, | |||
$upgradeDomain = 0 |
|||
) |
The Walk Upgrade Domain operation specifies the next upgrade domain to be walked during an in-place upgrade.
string | $serviceName | The service name |
string | $deploymentSlot | The deployment slot (production or staging) |
int | $upgradeDomain | An integer value that identifies the upgrade domain to walk. Upgrade domains are identified with a zero-based index: the first upgrade domain has an ID of 0, the second has an ID of 1, and so on. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const OP_AFFINITYGROUPS = "affinitygroups" |
const OP_HOSTED_SERVICES = "services/hostedservices" |
const OP_LOCATIONS = "locations" |
const OP_OPERATINGSYSTEMFAMILIES = "operatingsystemfamilies" |
const OP_OPERATINGSYSTEMS = "operatingsystems" |
const OP_OPERATIONS = "operations" |
Operations.
const OP_STORAGE_ACCOUNTS = "services/storageservices" |
const URL_MANAGEMENT = "https://management.core.windows.net" |
Management service URL.