共用方式為


ConnectedCluster Class

Definition

ConnectedCluster.

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

Constructors

ConnectedCluster(String, String)

Creates a new ConnectedCluster.

Properties

AgentPublicKeyCertificate

Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure.

AgentVersion

Version of the agent running on the connected cluster resource.

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)
ConnectivityStatus

Represents the connectivity status of the connected cluster.

DependsOn

Declares explicit dependencies on other resources.

(Inherited from ProvisionableResource)
Distribution

The Kubernetes distribution running on this connected cluster.

Id

Gets the Id.

Identity

The identity of the connected cluster. Current supported identity types: None, SystemAssigned.

Infrastructure

The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on.

IsExistingResource

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

(Inherited from ProvisionableResource)
KubernetesVersion

The Kubernetes version of the connected cluster resource.

LastConnectivityOn

Time representing the last instance when heart beat was received from the cluster.

Location

Gets or sets the Location.

ManagedIdentityCertificateExpirationOn

Expiration time of the managed identity certificate.

Name

The name of the Kubernetes cluster on which get is called.

Offering

Connected cluster offering.

PrivateLinkScopeResourceId

The resource id of the private link scope this connected cluster is assigned to, if any.

PrivateLinkState

Property which describes the state of private link on a connected cluster resource.

ProvisioningState

Provisioning state of the connected cluster resource.

ResourceType

Gets the type of the resource.

(Inherited from ProvisionableResource)
ResourceVersion

Gets or sets the version of the resource.

(Inherited from ProvisionableResource)
SystemData

Gets the SystemData.

Tags

Gets or sets the Tags.

TotalCoreCount

Number of CPU cores present in the connected cluster resource.

TotalNodeCount

Number of nodes present in the connected cluster resource.

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(KubernetesBuiltInRole, BicepValue<RoleManagementPrincipalType>, BicepValue<Guid>, String)

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

CreateRoleAssignment(KubernetesBuiltInRole, UserAssignedIdentity)

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

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 ConnectedCluster.

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

Creates a reference to an existing ConnectedCluster.

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