共用方式為


HostedServiceAddExtensionParameters Class

Definition

Parameters supplied to the Add Extension operation.

public class HostedServiceAddExtensionParameters
type HostedServiceAddExtensionParameters = class
Public Class HostedServiceAddExtensionParameters
Inheritance
HostedServiceAddExtensionParameters

Constructors

HostedServiceAddExtensionParameters()

Initializes a new instance of the HostedServiceAddExtensionParameters class.

HostedServiceAddExtensionParameters(String, String)

Initializes a new instance of the HostedServiceAddExtensionParameters class with required arguments.

Properties

Id

Required. The identifier of the extension.

PrivateConfiguration

Optional. The private configuration that is defined using the schema returned by the List Available Extensions operation.

ProviderNamespace

Optional. The provider namespace of the extension. The provider namespace for Azure extensions is Microsoft.Windows.Azure.Extensions.

PublicConfiguration

Optional. The public configuration that is defined using the schema returned by the List Available Extensions operation.

Thumbprint

Optional. The thumbprint of the certificate that is used to encrypt the configuration specified in PrivateConfiguration. If this element is not specified, a certificate may be automatically generated and added to the cloud service.

ThumbprintAlgorithm

Optional. The thumbprint algorithm of the certificate that is used to encrypt the configuration specified in PrivateConfiguration.

Type

Required. The type of the extension.

Version

Optional. Specifies the version of the extension. If this element is not specified or an asterisk () is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.

Applies to