AttachedClusterState class
Input properties used for looking up and filtering AttachedCluster resources.
Constructors
-
AttachedClusterState({Input<
Map< ? annotations, Input<String, String> ?>AttachedClusterAuthorization?> ? authorization, Input<AttachedClusterBinaryAuthorization?> ? binaryAuthorization, Input<String?> ? clusterRegion, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? distribution, Input<Map< ? effectiveAnnotations, Input<String, String> ?>List< ? errors, Input<AttachedClusterError> ?>AttachedClusterFleet?> ? fleet, Input<String?> ? kubernetesVersion, Input<String?> ? location, Input<AttachedClusterLoggingConfig?> ? loggingConfig, Input<AttachedClusterMonitoringConfig?> ? monitoringConfig, Input<String?> ? name, Input<AttachedClusterOidcConfig?> ? oidcConfig, Input<String?> ? platformVersion, Input<String?> ? project, Input<AttachedClusterProxyConfig?> ? proxyConfig, Input<bool?> ? reconciling, Input<AttachedClusterSecurityPostureConfig?> ? securityPostureConfig, Input<String?> ? state, Input<String?> ? uid, Input<String?> ? updateTime, Input<List< ? workloadIdentityConfigs})AttachedClusterWorkloadIdentityConfig> ?> -
Creates a new AttachedClusterState.
annotationsOptional. Annotations on the cluster. This field has the sameauthorizationConfiguration related to the cluster RBAC settings.binaryAuthorizationBinary Authorization configuration.clusterRegionOutput only. The region where this cluster runs.createTimeOutput only. The time at which this cluster was created.deletionPolicyPolicy to determine what flags to send on delete.descriptionA human readable description of this attached cluster. Cannot be longerdistributionThe Kubernetes distribution of the underlying attached cluster. Supported values:effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.errorsA set of errors found in the cluster.fleetFleet configuration.kubernetesVersionThe Kubernetes version of the cluster.locationThe location for the resourceloggingConfigLogging configuration.monitoringConfigMonitoring configuration.nameThe name of this resource.oidcConfigOIDC discovery information of the target cluster.platformVersionThe platform version for the cluster (e.g.1.23.0-gke.1).projectThe ID of the project in which the resource belongs.proxyConfigSupport for proxy configuration.reconcilingIf set, there are currently changes in flight to the cluster.securityPostureConfig(Optional, Deprecated)stateThe current state of the cluster. Possible values:uidA globally unique identifier for the cluster.updateTimeThe time at which this cluster was last updated.workloadIdentityConfigsWorkload Identity settings.const -
AttachedClusterState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
Optional. Annotations on the cluster. This field has the same
restrictions as Kubernetes annotations. The total size of all keys and
values combined is limited to 256k. Key can have 2 segments: prefix (optional)
and name (required), separated by a slash (/). Prefix must be a DNS subdomain.
Name must be 63 characters or less, begin and end with alphanumerics,
with dashes (-), underscores (_), dots (.), and alphanumerics between.
final
-
Configuration related to the cluster RBAC settings.
Structure is documented below.
final
-
binaryAuthorization
→ Input<
AttachedClusterBinaryAuthorization?> ? -
Binary Authorization configuration.
Structure is documented below.
final
-
clusterRegion
→ Input<
String?> ? -
Output only. The region where this cluster runs.
For EKS clusters, this is an AWS region. For AKS clusters,
this is an Azure region.
final
-
createTime
→ Input<
String?> ? -
Output only. The time at which this cluster was created.
final
-
deletionPolicy
→ Input<
String?> ? -
Policy to determine what flags to send on delete.
final
-
description
→ Input<
String?> ? -
A human readable description of this attached cluster. Cannot be longer
than 255 UTF-8 encoded bytes.
final
-
distribution
→ Input<
String?> ? -
The Kubernetes distribution of the underlying attached cluster. Supported values:
"eks", "aks", "generic". The generic distribution provides the ability to register
or migrate any CNCF conformant cluster.
final
-
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
final
-
errors
→ Input<
List< ?AttachedClusterError> ?> -
A set of errors found in the cluster.
Structure is documented below.
final
-
fleet
→ Input<
AttachedClusterFleet?> ? -
Fleet configuration.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kubernetesVersion
→ Input<
String?> ? -
The Kubernetes version of the cluster.
final
-
location
→ Input<
String?> ? -
The location for the resource
final
-
loggingConfig
→ Input<
AttachedClusterLoggingConfig?> ? -
Logging configuration.
Structure is documented below.
final
-
monitoringConfig
→ Input<
AttachedClusterMonitoringConfig?> ? -
Monitoring configuration.
Structure is documented below.
final
-
name
→ Input<
String?> ? -
The name of this resource.
final
-
oidcConfig
→ Input<
AttachedClusterOidcConfig?> ? -
OIDC discovery information of the target cluster.
Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster
API server. This fields indicates how GCP services
validate KSA tokens in order to allow system workloads (such as GKE Connect
and telemetry agents) to authenticate back to GCP.
Both clusters with public and private issuer URLs are supported.
Clusters with public issuers only need to specify the
issuerUrlfield while clusters with private issuers need to provide bothissuerUrlandjwks. Structure is documented below.final -
platformVersion
→ Input<
String?> ? -
The platform version for the cluster (e.g.
1.23.0-gke.1).final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
proxyConfig
→ Input<
AttachedClusterProxyConfig?> ? -
Support for proxy configuration.
Structure is documented below.
final
-
reconciling
→ Input<
bool?> ? -
If set, there are currently changes in flight to the cluster.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityPostureConfig
→ Input<
AttachedClusterSecurityPostureConfig?> ? -
(Optional, Deprecated)
Enable/Disable Security Posture API features for the cluster.
Structure is documented below.
final
-
state
→ Input<
String?> ? -
The current state of the cluster. Possible values:
STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,
DEGRADED
final
-
uid
→ Input<
String?> ? -
A globally unique identifier for the cluster.
final
-
updateTime
→ Input<
String?> ? -
The time at which this cluster was last updated.
final
-
workloadIdentityConfigs
→ Input<
List< ?AttachedClusterWorkloadIdentityConfig> ?> -
Workload Identity settings.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited