Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

List Available Extensions

Updated: April 3, 2014

The List Available Extensions operation lists the extensions that are available to add to your cloud service. In Microsoft Azure, a process can run as an extension of a cloud service.

The List Available Extensions request may be specified as follows. Replace <subscription-id> with your subscription ID.

 

Method Request URI

GET

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

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 2013-03-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 comply with 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"?>
<ExtensionImages xmlns=”http://schemas.microsoft.com/windowsazure”>
  <ExtensionImage>
    <ProviderNameSpace>namespace-of-extension</ProviderNameSpace>
    <Type>type-of-extension</Type>    
    <Version>version-of-extension</Version>
    <Label>label-of-extension</Label>
    <Description>description-of-extension</Description>
    <HostingResources>role-type</HostingResources>
    <ThumbprintAlgorithm>thumbprint-algorithm</ThumbprintAlgorithm>
    <PublicConfigurationSchema>base-64-encoded-xsd-for-extension-settings</PublicConfigurationSchema>
    <PrivateConfigurationSchema>base-64-encoded-xsd-for-extension-settings</PrivateConfigurationSchema>
    <SampleConfig>base-64-encoded-sample-XML-for-extension</SampleConfig>
    <ReplicationCompleted>indicator-of-replication-status</ReplicationCompleted>
    <Eula>eula-of-extension</Eula>
    <PrivacyUri>privacy-policy-of-extension</PrivacyUri>
    <HomepageUri>homepage-of-extension</HomepageUri>
    <IsJsonExtension>indicator-of-JSON-support</IsJsonExtension>
  </ExtensionImage>
</ExtensionImages>

The following table describes the elements of the response body.

 

Element name Description

ProviderNameSpace

Specifies the provider namespace of the extension. The provider namespace for Azure extensions is Microsoft.WindowsAzure.Extensions.

Type

Specifies the type of the extension.

Version

Specifies the version of the extension.

Label

Specifies the label that is used to identify the extension.

Description

Specifies the description of the extension.

HostingResources

Specifies the type of resource that supports the extension. This value can be WebRole, WorkerRole, or WebRole|WorkerRole.

ThumbprintAlgorithm

Specifies the thumbprint algorithm of the certificate that is used for encryption.

PublicConfigurationSchema

Specifies the base64-encoded schema of the public configuration.

PrivateConfigurationSchema

Specifies the base64-encoded schema of the private configuration.

SampleConfig

Specifies a sample configuration file for the resource extension.

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

ReplicationCompleted

Indicates whether the version of the extension has been replicated to all regions.

Possible values are:

  • true

  • false

true if the extension version can be used to create or update a deployment; otherwise, false indicating that the version of the extension is not ready to be used in all regions.

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

Eula

Specifies a URI that points to the End User License Agreement (EULA) for the version of the extension.

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

PrivacyUri

Specifies a URI that points to the privacy statement for the version of extension.

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

HomepageUri

Specifies the URI that points to the homepage for the version of extension.

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

IsJsonExtension

Indicates whether the version of the extension accepts a JSON based configuration.

Possible values are:

  • true

  • false

true if the extension accepts a JSON based configuration; otherwise, false and the extension accepts an XML based configuration.

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

To add extensions to a cloud service, see Add Extension.

Show:
© 2014 Microsoft