Udostępnij za pośrednictwem


Extension Constructors

Definition

Overloads

Extension()

Initializes a new instance of the Extension class.

Extension(String, String, String, String, Nullable<Boolean>, String, String, Scope, IDictionary<String,String>, IDictionary<String, String>, String, String, IList<ExtensionStatus>, ErrorDetail, IDictionary<String,String>, String, ExtensionPropertiesAksAssignedIdentity, Identity, SystemData)

Initializes a new instance of the Extension class.

Extension()

Initializes a new instance of the Extension class.

public Extension ();
Public Sub New ()

Applies to

Extension(String, String, String, String, Nullable<Boolean>, String, String, Scope, IDictionary<String,String>, IDictionary<String, String>, String, String, IList<ExtensionStatus>, ErrorDetail, IDictionary<String,String>, String, ExtensionPropertiesAksAssignedIdentity, Identity, SystemData)

Initializes a new instance of the Extension class.

public Extension (string id = default, string name = default, string type = default, string extensionType = default, bool? autoUpgradeMinorVersion = default, string releaseTrain = default, string version = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.Scope scope = default, System.Collections.Generic.IDictionary<string,string> configurationSettings = default, System.Collections.Generic.IDictionary<string,string> configurationProtectedSettings = default, string installedVersion = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KubernetesConfiguration.Models.ExtensionStatus> statuses = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.ErrorDetail errorInfo = default, System.Collections.Generic.IDictionary<string,string> customLocationSettings = default, string packageUri = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.ExtensionPropertiesAksAssignedIdentity aksAssignedIdentity = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.Identity identity = default, Microsoft.Azure.Management.KubernetesConfiguration.Models.SystemData systemData = default);
new Microsoft.Azure.Management.KubernetesConfiguration.Models.Extension : string * string * string * string * Nullable<bool> * string * string * Microsoft.Azure.Management.KubernetesConfiguration.Models.Scope * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.KubernetesConfiguration.Models.ExtensionStatus> * Microsoft.Azure.Management.KubernetesConfiguration.Models.ErrorDetail * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.KubernetesConfiguration.Models.ExtensionPropertiesAksAssignedIdentity * Microsoft.Azure.Management.KubernetesConfiguration.Models.Identity * Microsoft.Azure.Management.KubernetesConfiguration.Models.SystemData -> Microsoft.Azure.Management.KubernetesConfiguration.Models.Extension
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional extensionType As String = Nothing, Optional autoUpgradeMinorVersion As Nullable(Of Boolean) = Nothing, Optional releaseTrain As String = Nothing, Optional version As String = Nothing, Optional scope As Scope = Nothing, Optional configurationSettings As IDictionary(Of String, String) = Nothing, Optional configurationProtectedSettings As IDictionary(Of String, String) = Nothing, Optional installedVersion As String = Nothing, Optional provisioningState As String = Nothing, Optional statuses As IList(Of ExtensionStatus) = Nothing, Optional errorInfo As ErrorDetail = Nothing, Optional customLocationSettings As IDictionary(Of String, String) = Nothing, Optional packageUri As String = Nothing, Optional aksAssignedIdentity As ExtensionPropertiesAksAssignedIdentity = Nothing, Optional identity As Identity = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

extensionType
String

Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher.

autoUpgradeMinorVersion
Nullable<Boolean>

Flag to note if this extension participates in auto upgrade of minor version, or not.

releaseTrain
String

ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'.

version
String

User-specified version of the extension for this extension to 'pin'. To use 'version', autoUpgradeMinorVersion must be 'false'.

scope
Scope

Scope at which the extension is installed.

configurationSettings
IDictionary<String,String>

Configuration settings, as name-value pairs for configuring this extension.

configurationProtectedSettings
IDictionary<String,String>

Configuration settings that are sensitive, as name-value pairs for configuring this extension.

installedVersion
String

Installed version of the extension.

provisioningState
String

Status of installation of this extension. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Creating', 'Updating', 'Deleting'

statuses
IList<ExtensionStatus>

Status from this extension.

errorInfo
ErrorDetail

Error information from the Agent - e.g. errors during installation.

customLocationSettings
IDictionary<String,String>

Custom Location settings properties.

packageUri
String

Uri of the Helm package

aksAssignedIdentity
ExtensionPropertiesAksAssignedIdentity

Identity of the Extension resource in an AKS cluster

identity
Identity

Identity of the Extension resource

Applies to