Service/WindowsAzure/Management/DeploymentInstance.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- Management
- Version
- $Id$
\Zend_Service_WindowsAzure_Management_DeploymentInstance
- Parent(s)
- \Zend_Service_WindowsAzure_Management_ServiceEntityAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
string $Configuration
- Type
- string
- Magic
- Property
- The configuration file (XML, represented as string).
string $CurrentUpgradeDomain
- Type
- string
- Magic
- Property
- An integer value that identifies the current upgrade domain. 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.
string $CurrentUpgradeDomainState
- Type
- string
- Magic
- Property
- The state of the current upgrade domain. Possible values are Before and During.
string $DeploymentSlot
- Type
- string
- Magic
- Property
- The environment to which the hosted service is deployed, either staging or production.
string $Label
- Type
- string
- Magic
- Property
- The label for the deployment.
string $Name
- Type
- string
- Magic
- Property
- The name for the deployment. This name must be unique among other deployments for the specified hosted service.
string $PrivateID
- Type
- string
- Magic
- Property
- The unique identifier for this deployment.
array $RoleInstanceList
- Type
- array
- Magic
- Property
- The list of role instances.
string $Status
- Type
- string
- Magic
- Property
- The status of the deployment. Running, Suspended, RunningTransitioning, SuspendedTransitioning, Starting, Suspending, Deploying, Deleting.
string $UpgradeDomainCount
- Type
- string
- Magic
- Property
- An integer value that indicates the number of upgrade domains in the deployment.
string $UpgradeStatus
- Type
- string
- Magic
- Property
- Parent node for elements describing an upgrade that is currently underway.
string $UpgradeType
- Type
- string
- Magic
- Property
- The upgrade type designated for this deployment. Possible values are Auto and Manual.
Methods
__construct(string $name, string $deploymentSlot, string $privateID, string $label, string $url, string $configuration, string $status, string $upgradeStatus, string $upgradeType, string $currentUpgradeDomainState, string $currentUpgradeDomain, string $upgradeDomainCount, array $roleInstanceList = array(), array $roleList = array()) : void
Constructor
Name | Type | Description |
---|---|---|
$name | string | The name for the deployment. This name must be unique among other deployments for the specified hosted service. |
$deploymentSlot | string | The environment to which the hosted service is deployed, either staging or production. |
$privateID | string | The unique identifier for this deployment. |
$label | string | The label for the deployment. |
$url | string | The URL for the deployment. |
$configuration | string | The configuration file (XML, represented as string). |
$status | string | The status of the deployment. Running, Suspended, RunningTransitioning, SuspendedTransitioning, Starting, Suspending, Deploying, Deleting. |
$upgradeStatus | string | Parent node for elements describing an upgrade that is currently underway. |
$upgradeType | string | The upgrade type designated for this deployment. Possible values are Auto and Manual. |
$currentUpgradeDomainState | string | The state of the current upgrade domain. Possible values are Before and During. |
$currentUpgradeDomain | string | An integer value that identifies the current upgrade domain. 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. |
$upgradeDomainCount | string | An integer value that indicates the number of upgrade domains in the deployment. |
$roleInstanceList | array | The list of role instances. |
$roleList | array | The list of roles. |