Este tópico ainda não foi avaliado como - Avalie este tópico

List Operating System Families

Atualizado: julho de 2011

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.

The List OS Families request may be specified as follows. Replace <subscription-id> with your subscription ID:

 

Method Request URI HTTP Version

GET

https://management.core.windows.net/<subscription-id>/operatingsystemfamilies

HTTP/1.1

The following table describes required and optional request headers.

 

Request Header Description

x-ms-version

Required. Specifies the version of the operation to use for this request. The value of this header must be set to 2010-10-28 or later. 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 format of the response body is as follows:

<?xml version="1.0" encoding="utf-8"?>
<OperatingSystemFamilies xmlns="http://schemas.microsoft.com/windowsazure">
  <OperatingSystemFamily>
    <Name>operating-system-family-name</Name>
    <Label>base64-encoded-label</Label>
    <OperatingSystems>
      <OperatingSystem>
        <Version>operating-system-version</Version>
        <Label>base64-encoded-label</Label> 
        <IsDefault>true|false</IsDefault>
        <IsActive>true|false</IsActive>
      </OperatingSystem>
    </OperatingSystems>
  </OperatingSystemFamily>
</OperatingSystemFamilies>

The following table describes the key elements in the response body:

 

Element Name Description

Name

Indicates which operating system family this version belongs to. A value of 1 corresponds to the Windows Azure guest operating system that is substantially compatible with Windows Server 2008 SP2. A value of 2 corresponds to the Windows Azure guest operating system that is substantially compatible with Windows Server 2008 R2.

Label

A Base64-encoded label for the operating system family.

Version

The operating system version. This value corresponds to the configuration value for specifying that your service is to run on a particular version of the Windows Azure guest operating system. See Configurando parâmetros para o sistema operacional convidado do Windows Azure for additional details.

Label

A Base64-encoded label for the operating system version.

IsDefault

Indicates whether this operating system version is the default version for a service that has not otherwise specified a particular version. The default operating system version is applied to services that are configured for auto-upgrade. An operating system family has exactly one default operating system version at any given time, for which the IsDefault element is set to true; for all other versions, IsDefault is set to false.

See Configurando parâmetros para o sistema operacional convidado do Windows Azure for additional details on configuring operating system versions for your service.

IsActive

Indicates whether this operating system version is currently active for running a service. If an operating system version is active, you can manually configure your service to run on that version.

An operating system version may be inactive for one of two reasons:

  • It is not yet active as it is in the process of being rolled out to Windows Azure data centers. If your service is configured to use auto-upgrade, it will be upgraded to the new operating system version during the rollout. If you are manually configuring your operating system version, you can upgrade to the latest version once it becomes active.

  • It is no longer supported for running a service. In this case you will either need to manually configure your service to run on a newer version, or configure your service to use auto-upgrade to manage operating system upgrades.

The following example shows the response from a call to List Operating System Families:

Any management certificate associated with the subscription specified by <subscription-id> can be used to authenticate this operation. For additional details, see Authenticating Service Management Requests.

None.

Tópicos relacionados

 
Isso foi útil para você?
(1500 caracteres restantes)

Contribuições da comunidade

© 2013 Microsoft. Todos os direitos reservados.
facebook page visit twitter rss feed newsletter