共用方式為


KubernetesClusterExtension Class

Definition

KubernetesClusterExtension.

public class KubernetesClusterExtension : Azure.Provisioning.Primitives.ProvisionableResource
type KubernetesClusterExtension = class
    inherit ProvisionableResource
Public Class KubernetesClusterExtension
Inherits ProvisionableResource
Inheritance

Constructors

KubernetesClusterExtension(String, String)

Creates a new KubernetesClusterExtension.

Properties

AksAssignedIdentity

Identity of the Extension resource in an AKS cluster. Current supported identity types: SystemAssigned, UserAssigned.

AutoUpgradeMinorVersion

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

BicepIdentifier

Gets or sets the the Bicep identifier name of the resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

(Inherited from NamedProvisionableConstruct)
ConfigurationProtectedSettings

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

ConfigurationSettings

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

CurrentVersion

Currently installed version of the extension.

CustomLocationSettings

Custom Location settings properties.

DependsOn

Declares explicit dependencies on other resources.

(Inherited from ProvisionableResource)
ErrorInfo

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

ExtensionType

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.

Id

Gets the Id.

Identity

Identity of the Extension resource. Current supported identity types: SystemAssigned.

IsExistingResource

Gets whether this is referencing an existing resource or we're defining a new resource.

(Inherited from ProvisionableResource)
IsSystemExtension

Flag to note if this extension is a system extension.

Name

Name of the Extension.

PackageUri

Uri of the Helm package.

Plan

The plan information.

ProvisioningState

Status of installation of this extension.

ReleaseTrain

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

ResourceType

Gets the type of the resource.

(Inherited from ProvisionableResource)
ResourceVersion

Gets or sets the version of the resource.

(Inherited from ProvisionableResource)
Scope

Scope at which the extension is installed.

Statuses

Status from this extension.

SystemData

Gets the SystemData.

Version

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

Methods

AssignOrReplace<T>(T, T) (Inherited from ProvisionableConstruct)
Build(ProvisioningBuildOptions)

Compose the resource into a provisioning plan that can be saved as Bicep or deployed directly.

(Inherited from ProvisionableResource)
Compile()

Compile the resource into a set of Bicep statements.

(Inherited from ProvisionableResource)
CreateRoleAssignment(KubernetesConfigurationBuiltInRole, BicepValue<RoleManagementPrincipalType>, BicepValue<Guid>, String)

Creates a role assignment for a principal that grants access to this KubernetesClusterExtension.

CreateRoleAssignment(KubernetesConfigurationBuiltInRole, UserAssignedIdentity)

Creates a role assignment for a user-assigned identity that grants access to this KubernetesClusterExtension.

DefineDictionaryProperty<T>(String, String[], Boolean, Boolean) (Inherited from ProvisionableConstruct)
DefineListProperty<T>(String, String[], Boolean, Boolean) (Inherited from ProvisionableConstruct)
DefineModelProperty<T>(String, String[], Boolean, Boolean, Boolean, String) (Inherited from ProvisionableConstruct)
DefineProperty<T>(String, String[], Boolean, Boolean, Boolean, BicepValue<T>, String) (Inherited from ProvisionableConstruct)
DefineProvisionableProperties()

Define all the provisionable properties of KubernetesClusterExtension.

DefineResource<T>(String, String[], Boolean, Boolean, T) (Inherited from ProvisionableResource)
FromExisting(String, String)

Creates a reference to an existing KubernetesClusterExtension.

GetProvisionableResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
Initialize()

Initialize this construct.

(Inherited from ProvisionableConstruct)
OverrideWithExpression(BicepExpression) (Inherited from ProvisionableConstruct)
Resolve(ProvisioningBuildOptions)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisionableConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from Provisionable)
Validate(ProvisioningBuildOptions)

Validate the presence of any required members.

(Inherited from ProvisionableResource)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from Provisionable)

Applies to