SALES: 1-800-867-1380
2 out of 8 rated this helpful - Rate this topic

Get Deployment

Updated: April 3, 2014

The Get Deployment operation returns configuration information, status, and system properties for a deployment.

The Get Deployment request can be used to retrieve information for a specific deployment or for all deployments in the staging or production environment. If you want to retrieve information about a specific deployment, you must first get the unique name for the deployment. This unique name is part of the response when you make a request to get all deployments in an environment.

For example, if you have a cloud service deployed to the production environment, you can get the unique name by making a request to …/deploymentslots/production. The response includes a list of all cloud services currently deployed to the production environment, and includes a Name element for each cloud service. That Name element value can be used to make a request to …/deployments/<Name> if you want to retrieve information about that specific deployment.

To generate the request URI, replace <subscription-id> with your subscription ID, <cloudservice-name> with the name of the cloud service, <deployment-slot> with staging or production, or <deployment-name> with the name of the deployment.

 

Method Request URI

GET

https://management.core.windows.net/<subscription-id>/services/hostedservices/<cloudservice-name>/deploymentslots/<deployment-slot>

GET

https://management.core.windows.net/<subscription-id>/services/hostedservices/<cloudservice-name>/deployments/<deployment-name>

You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

 

Request Header Description

x-ms-version

Required. Specifies the version of the operation to use for this request. This header should be set to 2009-10-01 or higher. For more information about versioning headers, see Service Management Versioning.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

 

Response Header Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

The following example shows the format of the response body:


<?xml version="1.0" encoding="utf-8"?>
<Deployment xmlns="http://schemas.microsoft.com/windowsazure">
  <Name>name-of-deployment</Name>
  <DeploymentSlot>current-deployment-environment</DeploymentSlot>
  <PrivateID>identifier-of-deployment</PrivateID>
  <Status>status-of-deployment</Status>
  <Label>base64-encoded-name-of-deployment</Label>
  <Url>url-of-deployment</Url>
  <Configuration>base-64-encoded-configuration-file</Configuration>
  <RoleInstanceList>
    <RoleInstance>
      <RoleName>name-of-role</RoleName>
      <InstanceName>name-of-role-instance</InstanceName>
      <InstanceStatus>status-of-role-instance</InstanceStatus>
      <InstanceUpgradeDomain>update-domain-of-role-instance</InstanceUpgradeDomain>
      <InstanceFaultDomain>fault-domain-of-role-instance</InstanceFaultDomain>
      <InstanceSize>size-of-role-instance</InstanceSize>
      <InstanceStateDetails>state-of-role-instance</InstanceStateDetails>
      <InstanceErrorCode>error-code-returned-for-role-instance</InstanceErrorCode>
      <IpAddress>ip-address-of-role-instance</IpAddress>
      <InstanceEndpoints>
        <InstanceEndpoint>
          <Name>name-of-endpoint</Name>
          <Vip>virtual-ip-address-of-instance-endpoint</Vip>
          <PublicPort>public-facing-port-of-instance-endpoint</PublicPort>
          <LocalPort>internal-facing-port-of-instance-endpoint</LocalPort>
          <Protocol>protocol-of-instance-endpoint</Protocol>
        </InstanceEndpoint>
      </InstanceEndpoints>
      <PowerState>state-of-role-instance</PowerState>
      <HostName>dns-name-of-service</HostName>
      <RemoteAccessCertificateThumbprint>cert-thumbprint-for-remote-access</RemoteAccessCertificateThumbprint>
      <GuestAgentStatus>
        <ProtocolVersion>version-of-protocol</ProtocolVersion>
        <Timestamp>status-report-time</Timestamp>
        <GuestAgentVersion>version-of-agent</GuestAgentVersion>
        <Status>status-of-agent</Status>
        <FormattedMessage>
          <Language>language-of-message</Language>
          <Message>agent-message</Message>
        </FormattedMessage>
      </GuestAgentStatus>
      <ResourceExtensionStatusList>
        <ResourceExtensionStatus>
          <HandlerName>name-of-extension</HandlerName>
          <Version>version-of-extension</Version>
          <Status>status-of-extension</Status>
          <Code>status-code-of-extension</Code>
          <FormattedMessage>
            <Language>language-of-message</Language>
            <Message>extension-message</Message>
          </FormattedMessage>
        </ResourceExtensionStatus>
      </ResourceExtensionStatusList>
    </RoleInstance>
  </RoleInstanceList>
  <UpgradeStatus>
    <UpgradeType>type-of-upgrade</UpgradeType>
    <CurrentUpgradeDomainState>current-status-of-upgrade</CurrentUpgradeDomainState>
    <CurrentUpgradeDomain>n</CurrentUpgradeDomain>
  </UpgradeStatus>
  <UpgradeDomainCount>number-of-upgrade-domains-in-deployment</UpgradeDomainCount>
  <RoleList>
    <Role>
      <RoleName>name-of-role</RoleName>
      <OsVersion>operating-system-version</OsVersion>
      <ConfigurationSets>
        <ConfigurationSet>
          <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
          <InputEndpoints>
            <InputEndpoint>
              <Port>port-number-of-input-endpoint-in-network</Port>
              <Protocol>protocol-of-input-endpoint-in-network</Protocol>
              <Vip>virtual-ip-address-of-input-endpoint-in-network</Vip>
            </InputEndpoint>
          </InputEndpoints>
        </NetworkConfigurationSet>
      </ConfigurationSets>
    </Role>
    <Role>
      <RoleName>name-of-role</RoleName>
      <OsVersion>operating-system-version</OsVersion>
      <RoleType>PersistentVMRole</RoleType>
      <ConfigurationSets>
        <ConfigurationSet>
          <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
          <InputEndpoints>
            <InputEndpoint>
              <LoadBalancedEndpointSetName>name-of-load-balanced-endpoint-set</LoadBalancedEndpointSetName>
              <LocalPort>internal-facing-port-of-input-endpoint</LocalPort>
              <Name>name-of-input-endpoint</Name>
              <Port>external-facing-port-of-input-endpoint</Port>
              <LoadBalancerProbe>
                <Path>path-of-probe</Path>
                <Port>port-assigned-to-probe</Port>
                <Protocol>protocol-of-probe-port</Protocol>
              </LoadBalancerProbe>
              <Protocol>protocol-of-input-endpoint</Protocol>
              <Vip>virtual-ip-address-of-input-endpoint</Vip>
            </InputEndpoint>
          <InputEndpoints>
          <SubnetNames>
            <SubnetName>name-of-subnet</SubnetName>
          </SubnetNames>
          <StaticVirtualNetworkIPAddress>ip-address</StaticVirtualNetworkIPAddress>
        </ConfigurationSet>
      </ConfigurationSets>
      <ResourceExtensionReferences>
        <ResourceExtensionReference>
          <ReferenceName>name-of-reference</ReferenceName>
          <Publisher>name-of-publisher</Publisher>
          <Name>name-of-extension</Name>
          <Version>version-of-extension</Version>
          <ResourceExtensionParameterValues>
            <ResourceExtensionParameterValue>
              <Key>name-of-parameter-key</Key>
              <Value>parameter-value</Value>
              <Type>type-of-parameter</Type>
            </ResourceExtensionParameterValue>
          </ResourceExtensionParameterValues>
          <State>state-of-resource</State>
        </ResourceExtensionReference>
      </ResourceExtensionReferences>
      <AvailabilitySetName>name-of-availability-set</AvailabilitySetName>
      <DataVirtualHardDisks>
        <DataVirtualHardDisk>
          <HostCaching>host-caching-mode-of-data-disk</HostCaching>
          <DiskName>name-of-data-disk</DiskName>
          <Lun>logical-unit-number-of-data-disk</Lun>
          <LogicalDiskSizeInGB>size-of-data-disk</LogicalDiskSizeInGB>
          <MediaLink>path-to-vhd</MediaLink>
        </DataVirtualHardDisk>
      </DataVirtualHardDisks>
      <OSVirtualHardDisk>
        <HostCaching>host-caching-mode-of-os-disk</HostCaching>
        <DiskName>name-of-os-disk</DiskName>
        <MediaLink>path-to-vhd</MediaLink>
        <SourceImageName>image-used-to-create-os-disk</SourceImageName>
        <OS>operating-system-on-os-disk</OS>
      </OSVirtualHardDisk>
      <RoleSize>size-of-instance</RoleSize>
      <ProvisionGuestAgent>install-an-agent</ProvisionGuestAgent>
    </Role>
  </RoleList>
  <SdkVersion>sdk-version-used-to-create-package</SdkVersion>
  <Locked>status-of-deployment-write-allowed</Locked>
  <RollbackAllowed>rollback-operation-allowed</RollbackAllowed>
  <VirtualNetworkName>name-of-virtual-network</VirtualNetworkName>
  <Dns>
    <DnsServers>
      <DnsServer>
        <Name>name-of-dns-server</Name>
        <Address>address-of-dns-server</Address>
      </DnsServer>
    </DnsServers>
  </Dns>
  <ExtendedProperties>
    <ExtendedProperty>
      <Name>name-of-property</Name>
      <Value>value-of-property</Value>
    </ExtendedProperty>
  </ExtendedProperties>
  <PersistentVMDowntime>
    <StartTime>start-of-downtime</StartTime>
    <EndTime>end-of-downtime</EndTime>
    <Status>status-of-downtime</Status>
  </PersistentVMDowntime>
  <VirtualIPs>
    <VirtualIP>
      <Address>virtual-ip-address-of-deployment</Address>
    </VirtualIP>
  </VirtualIPs>
  <ExtensionConfiguration>
    <AllRoles>
      <Extension>
        <Id>identifier-of-extension</Id>
      </Extension>
    </AllRoles>
    <NamedRoles>
      <Role>
        <RoleName>role_name1</RoleName>
        <Extensions>
          <Extension>
            <Id>identifier-of-extension</Id>
          </Extension>
        </Extensions>
      </Role>
    </NamedRoles>
  </ExtensionConfiguration>
  <InternalDnsSuffix>dns-suffix</InternalDnsSuffix>
</Deployment>

The following table describes the elements in the response body.

 

Element name Description

Name

Specifies the name of the deployment.

DeploymentSlot

Specifies the environment to which the cloud service is deployed, either staging or production.

PrivateID

Specifies a unique identifier generated internally by Azure for this deployment.

Status

Specifies the status of the deployment.

Possible values are:

  • Running

  • Suspended

  • RunningTransitioning

  • SuspendedTransitioning

  • Starting

  • Suspending

  • Deploying

  • Deleting

Label

Specifies a base-64-encoded identifier of the deployment. This identifier can be used for your tracking purposes.

Url

Specifies the URL that is used to access the cloud service.

For example, if the service name is MyService you could access the access the service by calling: http:// MyService.cloudapp.net

Configuration

Specifies the base-64-encoded configuration file of the deployment.

RoleInstanceList

Contains the list of role instances in the deployment.

UpgradeStatus

Contains settings for how the deployment is upgraded.

UpgradeDomainCount

Contains an integer that represents the total number of upgrade domains for the deployment.

The UpgradeDomainCount element is only available using version 2011-06-01 or higher.

RoleList

Contains the list of roles in the deployment.

SdkVersion

Specifies the version of the SDK that was used to generate the package for the deployment.

The SdkVersion element is only available using version 2011-06-01 or higher.

Locked

True to prevent a new write operation on the deployment while it is being updated; otherwise false.

The Locked element is only available using version 2011-06-01 or higher.

RollbackAllowed

True if the RollbackDeploymentUpdateOrUpgrade operation is allowed on the deployment; otherwise false.

The RollbackAllowed element is only available using version 2011-06-01 or higher.

CreatedTime

Specifies the time that the deployment was created.

LastModifiedTime

Specifies the last time that the deployment was modified.

VirtualNetworkName

Specifies the name of the Virtual Network that the Virtual Machine connects to.

The VirtualNetworkName element is only available using version 2012-03-01 or higher.

Dns

Contains the DNS settings that are specified for deployment.

The Dns element is only available using version 2012-03-01 or higher.

ExtendedProperties

Specifies the properties that are used to provide more information about a deployment.

PersistentVMDowntime

Specifies information about when the virtual machine has been started and stopped.

The PersistentVMDowntime element is only available using version 2012-03-01 or higher.

VirtualIPs

Specifies the virtual IP addresses for the deployment.

The VirtualIPs element is only available using version 2012-03-01 or higher.

ExtensionConfiguration

Specifies an extension that is added to the cloud service. In Azure, a process can run as an extension of a cloud service. You can add an extension to a cloud service by using Add Extension and you can add the extension to the deployment by using Upgrade Deployment or Change Deployment Configuration.

The ExtensionConfiguration element is only available using version 2013-03-01 or higher.

InternalDnsSuffix

Specifies the domain name suffix for internal name resolution that is automatically assigned by Azure. All instances of Virtual Machines in a deployment are automatically assigned the domain name suffix. All instances of web roles or worker roles in a deployment are automatically assigned the domain name suffix when at least one role is assigned a computer name by using the vmName attribute. A deployment that is in a VNET with a DNS server configured is not assigned an internal domain name suffix. For more information, see Name Resolution.

The InternalDnsSuffix element is only available using version 2013-11-01 or higher.

Contains the list of role instances in the deployment.

 

Element name Description

RoleName

Specifies the name of the role.

InstanceName

Specifies the name of a specific role instance, if an instance of the role is running.

InstanceStatus

Specifies the current status of a role instance.

 

Status Message Description

RoleStateUnknown

Indicates that the role state is currently unknown.

CreatingVM

Indicates that resources are being created for a Virtual Machine.

StartingVM

Indicates that a Virtual Machine is starting.

CreatingRole

Indicates that resources are being created for a role instance.

StartingRole

Indicates that a role instance is starting.

ReadyRole

Indicates that a role instance has started and is ready to be used.

BusyRole

Indicates that a role instance is unavailable for requests. This state is usually generated while the role instance is being created or stopped.

StoppingRole

Indicates that a role instance is stopping.

StoppingVM

Indicates that a Virtual Machine is stopping.

DeletingVM

Indicates that a Virtual Machine is being deleted.

StoppedVM

Indicates that a Virtual Machine is not running. This is the final state of the shutdown process, and no other status messages should be received after StoppedVM.

RestartingRole

Indicates that a role instance has unexpectedly stopped or has failed to start. This status indicates that there is a problem with the role instance that is causing it to crash or preventing it from starting, and must be corrected before the role instance can be started. The InstanceStateDetails and InstanceErrorCode fields can hold information about the role error that caused this state.

CyclingRole

Indicates that a role has continually crashed after being started by Azure. This status indicates that there is a problem with the role that prevents it from starting, and may be generated after the StartingRole even ReadyRole statuses are received. The problem in the role must be found and corrected before the role can be started. The InstanceStateDetails and InstanceErrorCode fields can hold information about the role error that caused this state, which may be useful for identifying and debugging the problem. The CyclingRole element is only returned if the version is 2014-02-01 or lower.

FailedStartingRole

The role has continually failed to start. This status indicates that there is a problem with the role instance that prevents it from starting, and may be generated after the process returns StartingRole. The problem in the role must be found and corrected before the role can be started. The InstanceStateDetails and InstanceErrorCode fields can hold information about the role error that caused this state, which may be useful for identifying and debugging the problem.

FailedStartingVM

Indicates that a Virtual Machine has continually failed to start. This status is generated by Azure, and does not indicate an error with the role. It may be generated after the StartingRole state.

UnresponsiveRole

Indicates that a role instance has timed out before receiving a status message and is not responding to requests.

StoppedDeallocated

Indicates that a role instance has been stopped and all allocated resources have been released. This stops billing for the role instance. Role instances that have a status of StoppedDeallocated are only returned in the role instance list if the version is 2013-06-01 or higher. If all role instances in the deployment have a status of StoppedDeallocated, the deployment is not returned if the version is lower than 2013-06-01.

InstanceUpgradeDomain

Specifies the upgrade domain that the role instance belongs to. During an upgrade deployment, all roles in the same upgrade domain are upgraded at the same time.

The InstanceUpgradeDomain element is only available using version 2011-06-01 or higher.

InstanceFaultDomain

Specifies the fault domain that the role instance belongs to. Role instances in the same fault domain may be vulnerable to the failure of a single piece of hardware.

The InstanceFaultDomain element is only available using version 2011-06-01 or higher.

InstanceSize

Specifies the size of the role instance.

The InstanceSize element is only available using version 2011-06-01 or higher.

InstanceStateDetails

Provides a snapshot of the state of the role instance at the time that the operation was called.

The InstanceStateDetails element is only available using version 2011-10-01 or higher.

InstanceErrorCode

The error code of the latest role start.

For Virtual Machines the error codes are:

  • WaitTimeout - The role instance did not communicate within 25 minutes. Typically this indicates that it did not start or that the guest agent is not installed.

  • VhdTooLarge - The VHD image selected was too large for the role instance.

  • AzureInternalError – An internal error has occurred that has caused to role instance to fail to start. Contact support for additional assistance.

For web and worker roles this field returns an error code that can be provided to Azure support to assist in resolution of errors. Typically this field will be empty.

The InstanceErrorCode element is only available using version 2011-10-01 or higher.

IpAddress

Specifies the IP address of the role instance (DIP).

The IpAddress element is only available using version 2012-03-01 or higher.

InstanceEndpoints

Contains the list of instance endpoints for the role.

PowerState

The running state of the virtual machine.

The following are possible values:

  • Starting

  • Started

  • Stopping

  • Stopped

  • Unknown

HostName

Specifies the DNS host name of the cloud service in which the role instance is running. This element is only listed for Virtual Machine deployments.

RemoteAccessCertificateThumbprint

Specifies the thumbprint of the RDP server certificate (in Windows) or SSH server certificate (in Linux). The thumbprint is only used for Virtual Machines that have been created from an image.

The RemoteAccessCertificateThumbprint element is only available using version 2012-08-01 or higher.

GuestAgentStatus

Specifies information about the agent that is installed on an instance.

The GuestAgentStatus element is only available using version 2014-04-01 or higher.

ResourceExtensionStatusList

Specifies information about the extensions that are installed on an instance.

The ResourceExtensionStatusList element is only available using version 2014-04-01 or higher.

Contains the list of instance endpoints for the role.

 

Element name Description

Name

Specifies the name of the endpoint.

Vip

Specifies the virtual IP address of the endpoint.

The Vip element is only available using version 2011-06-01 or higher.

PublicPort

Specifies the external port that is used by the endpoint.

LocalPort

Specifies the internal port that is used by the endpoint.

Protocol

Specifies the protocol of traffic on the endpoint.

Specifies information about an upgrade occurring on the deployment.

 

Element name Description

UpgradeType

Specifies the type of the upgrade.

Possible values are:

  • Auto

  • Manual

  • Simultaneous

CurrentUpgradeDomainState

Specifies the current state of the upgrade. Possible values are Before and During.

CurrentUpgradeDomain

Contains 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.

Contains the list of roles in the deployment.

 

Element name Description

RoleName

Specifies the name of the role.

OsVersion

Specifies the version of the operating system on which the role instances are running.

RoleType

Specifies the type of the role. This element is only listed for Virtual Machine deployments and by default is PersistentVMRole.

ConfigurationSets

Contains a collection of values that represents system or application configuration settings.

AvailabilitySetName

Specifies the name of a collection of virtual machines.

DataVirtualHardDisks

Contains the parameters that are used to add a data disk to a Virtual Machine.

OSVirtualHardDisk

Contains the parameters that are used to create the operating system disk for a Virtual Machine.

RoleSize

Specifies the size of the role instance.

ProvisionGuestAgent

Optional. Indicates whether the VM Agent is installed on the Virtual Machine. To run a resource extension in a Virtual Machine, this service must be installed.

Possible values are:

  • true

  • false

ResourceExtensionReferences

Optional. Contains a collection of resource extensions that are to be installed on the Virtual Machine. This element is used if ProvisionGuestAgent is set to true.

Contains a collection of objects that provide system or application data.

 

Element name Description

ConfigurationSetType

Specifies the configuration type for the configuration set. This is currently always set to NetworkConfiguration.

InputEndpoints

Contains a collection of external endpoints for a Virtual Machine.

SubnetNames

Contains a list of Virtual Network subnet names to which the deployment belongs.

StaticVirtualNetworkIPAddress

Specifies the internal IP address for the Virtual Machine in a Virtual Network. If this element is specified, the SubnetNames element will contain only one subnet. The IP address specified in this element belongs to the subnet that is defined in SubnetNames.

The StaticVirtualNetworkIPAddress element is only available using version 2013-11-01 or higher.

Contains a collection of external endpoints for a Virtual Machine.

 

Element name Description

LoadBalancedEndpointSetName

Specifies a name of a set of load-balanced endpoints. This element is only listed for Virtual Machine deployments.

LocalPort

Specifies the internal port on which the Virtual Machine is listening to serve the endpoint. This element is only listed for Virtual Machine deployments.

Name

Specifies the name for the external endpoint. This element is only listed for Virtual Machine deployments.

Port

Specifies the external port to use for the endpoint.

LoadBalancerProbe

Contains the endpoint settings which the Azure load balancer uses to monitor the availability of a Virtual Machine before forwarding traffic to the endpoint.

Protocol

Specifies the transport protocol for the endpoint.

Possible Values are:

  • TCP

  • UDP

Vip

Specifies the virtual IP address for the endpoint.

Contains the endpoint settings which the Azure load balancer uses to monitor the availability of a Virtual Machine before forwarding traffic to the endpoint.

 

Element name Description

Path

Specifies the relative path name to inspect to determine the availability status. If Protocol is set to TCP, this value must be NULL.

Example:

path

The probe will use https://example.com/path to perform the probe.

Port

Specifies the port to use to inspect the availability status.

Protocol

Specifies the protocol to use to inspect the availability status.

Possible values are:

  • HTTP

  • TCP

Specifies the custom DNS settings that are specified for deployment.

 

Element name Description

Name

Specifies the name of the DNS server.

Address

Specifies the IP address of the DNS server.

Specifies the properties that are used to provide more information about a deployment.

 

Element name Description

Name

Specifies the name of a property that is associated with the deployment.

Value

Specifies the value of a property that is associated with the deployment.

Specifies information about when the Virtual Machine has been started and stopped.

 

Element name Description

StartTime

Specifies the time that the Virtual Machine was started.

EndTime

Specifies the time that the Virtual Machine was stopped.

Status

Specifies the status of the Virtual Machine.

Contains the virtual IP addresses that are specified for the deployment.

 

Element name Description

Address

Specifies the virtual IP address of the deployment.

Contains a list of subnets to which the Virtual Machine will belong.

 

Element name Description

SubnetName

Required. Specifies the name of a subnet to which the Virtual Machine belongs.

Contains the parameters that are used to add a data disk to a Virtual Machine.

 

Element name Description

HostCaching

Specifies the platform caching behavior of the data disk blob for read/write efficiency.

Possible values are:

  • None

  • ReadOnly

  • ReadWrite

The default vault is ReadOnly.

DiskName

Specifies the name of the VHD to use to create the data disk for the Virtual Machine.

Lun

Specifies the Logical Unit Number (LUN) for the data disk. The LUN specifies the slot in which the data drive appears when mounted for usage by the Virtual Machine. This element is only listed when more than one data disk is attached to a Virtual Machine.

LogicalDiskSizeInGB

Specifies the size, in GB, of the disk to be attached to the Virtual Machine.

MediaLink

Specifies the location in Azure storage of the VHD that is associated with the disk.

Example:

http://example.blob.core.windows.net/disks/mydatadisk.vhd

Contains the parameters that are used to create the operating system disk for a Virtual Machine.

 

Element name Description

HostCaching

Specifies the platform caching behavior of the operating system disk blob for read/write efficiency.

Possible values are:

  • ReadOnly

  • ReadWrite

DiskName

Specifies the name an operating system image in the image repository.

MediaLink

Specifies the location in Azure storage of the VHD that is associated with the operating system disk.

SourceImageName

Specifies the name of the source image that was used to create the operating system disk.

OS

Specifies the operating system that is running on the Virtual Machine.

Contains a collection of resource extensions that are to be installed on the Virtual Machine. A resource extension is a software component that is installed on the Virtual Machine. The VM Agent must be installed on the Virtual Machine to install resource extensions.

 

Element name Description

ResourceExtensionReference

Required. Specifies the properties of a resource extension that should be installed on the Virtual Machine.

ReferenceName

Required. Specifies the reference name of the resource extension.

Publisher

Required. Specifies the name of the publisher who created the resource extension. You can use List Resource Extensions to find the publisher name of a resource extension.

Name

Required. Specifies the name of the resource extension. You can use List Resource Extensions to find the names of available resource extensions.

Version

Required. Specifies the version of the resource extension. You can use List Resource Extension Versions to find the version of the resource extension.

ResourceExtensionParameterValues

Optional. Contains a collection of parameters that are passed to the resource extension when it is installed.

State

Optional. Specifies the state of the resource extension.

Possible values are:

  • Enable

  • Disable

The default value is Enable.

Contains a collection of parameters that are passed to the resource extension when it is installed.

 

Element name Description

ResourceExtensionParameterValue

Required. Specifies the key, value, and type of the parameter.

Key

Required. Specifies the key of the parameter.

Value

Required. Specifies the base-64 encoded value of the parameter.

Type

Required. Specifies the type for the resource extension.

Possible values are:

  • Public

  • Private

If this value is set to Private, the parameter will not be returned by Get Deployment. You can only specify one public parameter and one private parameter for a maximum of two parameters.

Contains extensions that are added to the cloud service.

 

Element name Description

AllRoles

Specifies a list of extensions that are applied to all roles in a deployment.

Extension

Specifies an extension that is to be deployed to a role in a cloud service.

NamedRoles

Specifies a list of extensions that are applied to specific roles in a deployment.

Specifies an extension that is to be deployed to a role in a cloud service.

 

Element name Description

Id

Specifies the identifier of the extension. The identifier is created when the extension is added to the cloud service. You can find the Id of an extension that was added to a cloud service by using List Extensions.

Specifies a list of extensions that are applied to specific roles in a deployment.

 

Element name Description

Role

Specifies a specific role to which the extension is added.

RoleName

Specifies the name of the role.

Extension

Specifies an extension that is to be deployed to a role in a cloud service.

Specifies information about the agent that is installed on an instance.

 

Element name Description

ProtocolVersion

Specifies the version of the protocol that is used by the agent for status reporting.

Timestamp

Specifies the UTC time when the status was reported.

GuestAgentVersion

Specifies the version of the agent that is installed on the instance.

Status

Specifies the status of the agent.

Possible values are:

  • Ready

  • NotReady

FormattedMessage

Specifies a localized status message.

Specifies a localized status message.

 

Element name Description

Language

Specifies the language of the message.

Message

Specifies the message.

Specifies information about the extensions that are installed on an instance.

 

Element name Description

ResourceExtensionStatus

Specifies information about a specific extension.

Specifies information about a specific extension.

 

Element name Description

HandlerName

Specifies the name of the extension.

Version

Specifies the version of the extension.

Status

Specifies the status of the extension.

Possible values are:

  • Installing

  • Ready

  • NotReady

  • Unresponsive

Code

Specifies the status code that is returned by the extension.

FormattedMessage

Specifies a localized status message.

To obtain the names of cloud services in your subscription, you can use List Cloud Services.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.