ClusterState class
Input properties used for looking up and filtering Cluster resources.
Constructors
-
ClusterState({Input<
ClusterAuthorization?> ? authorization, Input<String?> ? clusterCaCertificate, Input<ClusterControlPlane?> ? controlPlane, Input<ClusterControlPlaneEncryption?> ? controlPlaneEncryption, Input<String?> ? controlPlaneVersion, Input<String?> ? createTime, Input<int?> ? defaultMaxPodsPerNode, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? endpoint, Input<List< ? externalLoadBalancerIpv4AddressPools, Input<String> ?>ClusterFleet?> ? fleet, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<List< ? maintenanceEvents, Input<ClusterMaintenanceEvent> ?>ClusterMaintenancePolicy?> ? maintenancePolicy, Input<String?> ? name, Input<ClusterNetworking?> ? networking, Input<String?> ? nodeVersion, Input<int?> ? port, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? releaseChannel, Input<String?> ? status, Input<ClusterSystemAddonsConfig?> ? systemAddonsConfig, Input<String?> ? targetVersion, Input<String?> ? updateTime}) -
Creates a new ClusterState.
authorizationRBAC policy that will be applied and managed by GEC.clusterCaCertificateThe PEM-encoded public certificate of the cluster's CA.controlPlaneThe configuration of the cluster control plane.controlPlaneEncryptionRemote control plane disk encryption options. This field is only used whencontrolPlaneVersionThe control plane release version.createTime(Output)defaultMaxPodsPerNodeThe default maximum number of pods per node used if a maximum value is notdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.endpointThe IP address of the Kubernetes API server.externalLoadBalancerIpv4AddressPoolsAddress pools for cluster data plane external load balancing.fleetFleet related configuration.labelsUser-defined labels for the edgecloud cluster.locationThe location of the resource.maintenanceEventsAll the maintenance events scheduled for the cluster, including the onesmaintenancePolicyCluster-wide maintenance policy configuration.nameThe GDCE cluster name.networkingFleet related configuration.nodeVersionThe lowest release version among all worker nodes. This field can be emptyportThe port number of the Kubernetes API server.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcereleaseChannelThe release channel a cluster is subscribed to.statusIndicates the status of the cluster.systemAddonsConfigConfig that customers are allowed to define for GDCE system add-ons.targetVersionThe target cluster version. For example: "1.5.0".updateTime(Output)const -
ClusterState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
RBAC policy that will be applied and managed by GEC.
Structure is documented below.
final
-
clusterCaCertificate
→ Input<
String?> ? -
The PEM-encoded public certificate of the cluster's CA.
Note: This property is sensitive and will not be displayed in the plan.
final
-
controlPlane
→ Input<
ClusterControlPlane?> ? -
The configuration of the cluster control plane.
Structure is documented below.
final
-
controlPlaneEncryption
→ Input<
ClusterControlPlaneEncryption?> ? -
Remote control plane disk encryption options. This field is only used when
enabling CMEK support.
Structure is documented below.
final
-
controlPlaneVersion
→ Input<
String?> ? -
The control plane release version.
final
-
createTime
→ Input<
String?> ? -
(Output)
The time when the maintenance event request was created.
final
-
defaultMaxPodsPerNode
→ Input<
int?> ? -
The default maximum number of pods per node used if a maximum value is not
specified explicitly for a node pool in this cluster. If unspecified, the
Kubernetes default value will be used.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
endpoint
→ Input<
String?> ? -
The IP address of the Kubernetes API server.
final
-
externalLoadBalancerIpv4AddressPools
→ Input<
List< ?String> ?> -
Address pools for cluster data plane external load balancing.
final
-
fleet
→ Input<
ClusterFleet?> ? -
Fleet related configuration.
Fleets are a Google Cloud concept for logically organizing clusters,
letting you use and manage multi-cluster capabilities and apply
consistent policies across your systems.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
User-defined labels for the edgecloud cluster.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String?> ? -
The location of the resource.
final
-
maintenanceEvents
→ Input<
List< ?ClusterMaintenanceEvent> ?> -
All the maintenance events scheduled for the cluster, including the ones
ongoing, planned for the future and done in the past (up to 90 days).
Structure is documented below.
final
-
maintenancePolicy
→ Input<
ClusterMaintenancePolicy?> ? -
Cluster-wide maintenance policy configuration.
Structure is documented below.
final
-
name
→ Input<
String?> ? -
The GDCE cluster name.
final
-
networking
→ Input<
ClusterNetworking?> ? -
Fleet related configuration.
Fleets are a Google Cloud concept for logically organizing clusters,
letting you use and manage multi-cluster capabilities and apply
consistent policies across your systems.
Structure is documented below.
final
-
nodeVersion
→ Input<
String?> ? -
The lowest release version among all worker nodes. This field can be empty
if the cluster does not have any worker nodes.
final
-
port
→ Input<
int?> ? -
The port number of the Kubernetes API server.
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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
releaseChannel
→ Input<
String?> ? -
The release channel a cluster is subscribed to.
Possible values are:
RELEASE_CHANNEL_UNSPECIFIED,NONE,REGULAR.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Input<
String?> ? -
Indicates the status of the cluster.
final
-
systemAddonsConfig
→ Input<
ClusterSystemAddonsConfig?> ? -
Config that customers are allowed to define for GDCE system add-ons.
Structure is documented below.
final
-
targetVersion
→ Input<
String?> ? -
The target cluster version. For example: "1.5.0".
final
-
updateTime
→ Input<
String?> ? -
(Output)
The time when the maintenance event message was updated.
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