Google Cloud (GCP) Classic

v6.38.0 published on Thursday, Sep 22, 2022 by Pulumi

getCluster

Get info about a GKE cluster from its name and location.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var myCluster = Gcp.Container.GetCluster.Invoke(new()
    {
        Name = "my-cluster",
        Location = "us-east1-a",
    });

    return new Dictionary<string, object?>
    {
        ["endpoint"] = myCluster.Apply(getClusterResult => getClusterResult.Endpoint),
        ["instanceGroupUrls"] = myCluster.Apply(getClusterResult => getClusterResult.NodePools[0]?.InstanceGroupUrls),
        ["nodeConfig"] = myCluster.Apply(getClusterResult => getClusterResult.NodeConfigs),
        ["nodePools"] = myCluster.Apply(getClusterResult => getClusterResult.NodePools),
    };
});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/container"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myCluster, err := container.LookupCluster(ctx, &container.LookupClusterArgs{
			Name:     "my-cluster",
			Location: pulumi.StringRef("us-east1-a"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("endpoint", myCluster.Endpoint)
		ctx.Export("instanceGroupUrls", myCluster.NodePools[0].InstanceGroupUrls)
		ctx.Export("nodeConfig", myCluster.NodeConfigs)
		ctx.Export("nodePools", myCluster.NodePools)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.container.ContainerFunctions;
import com.pulumi.gcp.container.inputs.GetClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var myCluster = ContainerFunctions.getCluster(GetClusterArgs.builder()
            .name("my-cluster")
            .location("us-east1-a")
            .build());

        ctx.export("endpoint", myCluster.applyValue(getClusterResult -> getClusterResult.endpoint()));
        ctx.export("instanceGroupUrls", myCluster.applyValue(getClusterResult -> getClusterResult.nodePools()[0].instanceGroupUrls()));
        ctx.export("nodeConfig", myCluster.applyValue(getClusterResult -> getClusterResult.nodeConfigs()));
        ctx.export("nodePools", myCluster.applyValue(getClusterResult -> getClusterResult.nodePools()));
    }
}
import pulumi
import pulumi_gcp as gcp

my_cluster = gcp.container.get_cluster(name="my-cluster",
    location="us-east1-a")
pulumi.export("endpoint", my_cluster.endpoint)
pulumi.export("instanceGroupUrls", my_cluster.node_pools[0].instance_group_urls)
pulumi.export("nodeConfig", my_cluster.node_configs)
pulumi.export("nodePools", my_cluster.node_pools)
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const myCluster = gcp.container.getCluster({
    name: "my-cluster",
    location: "us-east1-a",
});
export const endpoint = myCluster.then(myCluster => myCluster.endpoint);
export const instanceGroupUrls = myCluster.then(myCluster => myCluster.nodePools?[0]?.instanceGroupUrls);
export const nodeConfig = myCluster.then(myCluster => myCluster.nodeConfigs);
export const nodePools = myCluster.then(myCluster => myCluster.nodePools);
variables:
  myCluster:
    Fn::Invoke:
      Function: gcp:container:getCluster
      Arguments:
        name: my-cluster
        location: us-east1-a
outputs:
  endpoint: ${myCluster.endpoint}
  instanceGroupUrls: ${myCluster.nodePools[0].instanceGroupUrls}
  nodeConfig: ${myCluster.nodeConfigs}
  nodePools: ${myCluster.nodePools}

Using getCluster

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(location: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput

> Note: This function is named LookupCluster in the Go SDK.

public static class GetCluster 
{
    public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: gcp:container/getCluster:getCluster
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

The name of the cluster.

Location string

The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified.

Project string

The project in which the resource belongs. If it is not provided, the provider project is used.

Name string

The name of the cluster.

Location string

The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified.

Project string

The project in which the resource belongs. If it is not provided, the provider project is used.

name String

The name of the cluster.

location String

The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified.

project String

The project in which the resource belongs. If it is not provided, the provider project is used.

name string

The name of the cluster.

location string

The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified.

project string

The project in which the resource belongs. If it is not provided, the provider project is used.

name str

The name of the cluster.

location str

The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified.

project str

The project in which the resource belongs. If it is not provided, the provider project is used.

name String

The name of the cluster.

location String

The location (zone or region) this cluster has been created in. One of location, region, zone, or a provider-level zone must be specified.

project String

The project in which the resource belongs. If it is not provided, the provider project is used.

getCluster Result

The following output properties are available:

AddonsConfigs List<GetClusterAddonsConfig>
AuthenticatorGroupsConfigs List<GetClusterAuthenticatorGroupsConfig>
BinaryAuthorizations List<GetClusterBinaryAuthorization>
ClusterAutoscalings List<GetClusterClusterAutoscaling>
ClusterIpv4Cidr string
ClusterTelemetries List<GetClusterClusterTelemetry>
ConfidentialNodes List<GetClusterConfidentialNode>
CostManagementConfigs List<GetClusterCostManagementConfig>
DatabaseEncryptions List<GetClusterDatabaseEncryption>
DatapathProvider string
DefaultMaxPodsPerNode int
DefaultSnatStatuses List<GetClusterDefaultSnatStatus>
Description string
DnsConfigs List<GetClusterDnsConfig>
EnableAutopilot bool
EnableBinaryAuthorization bool
EnableIntranodeVisibility bool
EnableKubernetesAlpha bool
EnableL4IlbSubsetting bool
EnableLegacyAbac bool
EnableShieldedNodes bool
EnableTpu bool
Endpoint string
Id string

The provider-assigned unique ID for this managed resource.

IdentityServiceConfigs List<GetClusterIdentityServiceConfig>
InitialNodeCount int
IpAllocationPolicies List<GetClusterIpAllocationPolicy>
LabelFingerprint string
LoggingConfigs List<GetClusterLoggingConfig>
LoggingService string
MaintenancePolicies List<GetClusterMaintenancePolicy>
MasterAuthorizedNetworksConfigs List<GetClusterMasterAuthorizedNetworksConfig>
MasterAuths List<GetClusterMasterAuth>
MasterVersion string
MeshCertificates List<GetClusterMeshCertificate>
MinMasterVersion string
MonitoringConfigs List<GetClusterMonitoringConfig>
MonitoringService string
Name string
Network string
NetworkPolicies List<GetClusterNetworkPolicy>
NetworkingMode string
NodeConfigs List<GetClusterNodeConfig>
NodeLocations List<string>
NodePoolAutoConfigs List<GetClusterNodePoolAutoConfig>
NodePoolDefaults List<GetClusterNodePoolDefault>
NodePools List<GetClusterNodePool>
NodeVersion string
NotificationConfigs List<GetClusterNotificationConfig>
Operation string
PodSecurityPolicyConfigs List<GetClusterPodSecurityPolicyConfig>
PrivateClusterConfigs List<GetClusterPrivateClusterConfig>
PrivateIpv6GoogleAccess string
ReleaseChannels List<GetClusterReleaseChannel>
RemoveDefaultNodePool bool
ResourceLabels Dictionary<string, string>
ResourceUsageExportConfigs List<GetClusterResourceUsageExportConfig>
SelfLink string
ServiceExternalIpsConfigs List<GetClusterServiceExternalIpsConfig>
ServicesIpv4Cidr string
Subnetwork string
TpuConfigs List<GetClusterTpuConfig>
TpuIpv4CidrBlock string
VerticalPodAutoscalings List<GetClusterVerticalPodAutoscaling>
WorkloadIdentityConfigs List<GetClusterWorkloadIdentityConfig>
Location string
Project string
AddonsConfigs []GetClusterAddonsConfig
AuthenticatorGroupsConfigs []GetClusterAuthenticatorGroupsConfig
BinaryAuthorizations []GetClusterBinaryAuthorization
ClusterAutoscalings []GetClusterClusterAutoscaling
ClusterIpv4Cidr string
ClusterTelemetries []GetClusterClusterTelemetry
ConfidentialNodes []GetClusterConfidentialNode
CostManagementConfigs []GetClusterCostManagementConfig
DatabaseEncryptions []GetClusterDatabaseEncryption
DatapathProvider string
DefaultMaxPodsPerNode int
DefaultSnatStatuses []GetClusterDefaultSnatStatus
Description string
DnsConfigs []GetClusterDnsConfig
EnableAutopilot bool
EnableBinaryAuthorization bool
EnableIntranodeVisibility bool
EnableKubernetesAlpha bool
EnableL4IlbSubsetting bool
EnableLegacyAbac bool
EnableShieldedNodes bool
EnableTpu bool
Endpoint string
Id string

The provider-assigned unique ID for this managed resource.

IdentityServiceConfigs []GetClusterIdentityServiceConfig
InitialNodeCount int
IpAllocationPolicies []GetClusterIpAllocationPolicy
LabelFingerprint string
LoggingConfigs []GetClusterLoggingConfig
LoggingService string
MaintenancePolicies []GetClusterMaintenancePolicy
MasterAuthorizedNetworksConfigs []GetClusterMasterAuthorizedNetworksConfig
MasterAuths []GetClusterMasterAuth
MasterVersion string
MeshCertificates []GetClusterMeshCertificate
MinMasterVersion string
MonitoringConfigs []GetClusterMonitoringConfig
MonitoringService string
Name string
Network string
NetworkPolicies []GetClusterNetworkPolicy
NetworkingMode string
NodeConfigs []GetClusterNodeConfig
NodeLocations []string
NodePoolAutoConfigs []GetClusterNodePoolAutoConfig
NodePoolDefaults []GetClusterNodePoolDefault
NodePools []GetClusterNodePool
NodeVersion string
NotificationConfigs []GetClusterNotificationConfig
Operation string
PodSecurityPolicyConfigs []GetClusterPodSecurityPolicyConfig
PrivateClusterConfigs []GetClusterPrivateClusterConfig
PrivateIpv6GoogleAccess string
ReleaseChannels []GetClusterReleaseChannel
RemoveDefaultNodePool bool
ResourceLabels map[string]string
ResourceUsageExportConfigs []GetClusterResourceUsageExportConfig
SelfLink string
ServiceExternalIpsConfigs []GetClusterServiceExternalIpsConfig
ServicesIpv4Cidr string
Subnetwork string
TpuConfigs []GetClusterTpuConfig
TpuIpv4CidrBlock string
VerticalPodAutoscalings []GetClusterVerticalPodAutoscaling
WorkloadIdentityConfigs []GetClusterWorkloadIdentityConfig
Location string
Project string
addonsConfigs List<GetClusterAddonsConfig>
authenticatorGroupsConfigs List<GetClusterAuthenticatorGroupsConfig>
binaryAuthorizations List<GetClusterBinaryAuthorization>
clusterAutoscalings List<GetClusterClusterAutoscaling>
clusterIpv4Cidr String
clusterTelemetries List<GetClusterClusterTelemetry>
confidentialNodes List<GetClusterConfidentialNode>
costManagementConfigs List<GetClusterCostManagementConfig>
databaseEncryptions List<GetClusterDatabaseEncryption>
datapathProvider String
defaultMaxPodsPerNode Integer
defaultSnatStatuses List<GetClusterDefaultSnatStatus>
description String
dnsConfigs List<GetClusterDnsConfig>
enableAutopilot Boolean
enableBinaryAuthorization Boolean
enableIntranodeVisibility Boolean
enableKubernetesAlpha Boolean
enableL4IlbSubsetting Boolean
enableLegacyAbac Boolean
enableShieldedNodes Boolean
enableTpu Boolean
endpoint String
id String

The provider-assigned unique ID for this managed resource.

identityServiceConfigs List<GetClusterIdentityServiceConfig>
initialNodeCount Integer
ipAllocationPolicies List<GetClusterIpAllocationPolicy>
labelFingerprint String
loggingConfigs List<GetClusterLoggingConfig>
loggingService String
maintenancePolicies List<GetClusterMaintenancePolicy>
masterAuthorizedNetworksConfigs List<GetClusterMasterAuthorizedNetworksConfig>
masterAuths List<GetClusterMasterAuth>
masterVersion String
meshCertificates List<GetClusterMeshCertificate>
minMasterVersion String
monitoringConfigs List<GetClusterMonitoringConfig>
monitoringService String
name String
network String
networkPolicies List<GetClusterNetworkPolicy>
networkingMode String
nodeConfigs List<GetClusterNodeConfig>
nodeLocations List<String>
nodePoolAutoConfigs List<GetClusterNodePoolAutoConfig>
nodePoolDefaults List<GetClusterNodePoolDefault>
nodePools List<GetClusterNodePool>
nodeVersion String
notificationConfigs List<GetClusterNotificationConfig>
operation String
podSecurityPolicyConfigs List<GetClusterPodSecurityPolicyConfig>
privateClusterConfigs List<GetClusterPrivateClusterConfig>
privateIpv6GoogleAccess String
releaseChannels List<GetClusterReleaseChannel>
removeDefaultNodePool Boolean
resourceLabels Map<String,String>
resourceUsageExportConfigs List<GetClusterResourceUsageExportConfig>
selfLink String
serviceExternalIpsConfigs List<GetClusterServiceExternalIpsConfig>
servicesIpv4Cidr String
subnetwork String
tpuConfigs List<GetClusterTpuConfig>
tpuIpv4CidrBlock String
verticalPodAutoscalings List<GetClusterVerticalPodAutoscaling>
workloadIdentityConfigs List<GetClusterWorkloadIdentityConfig>
location String
project String
addonsConfigs GetClusterAddonsConfig[]
authenticatorGroupsConfigs GetClusterAuthenticatorGroupsConfig[]
binaryAuthorizations GetClusterBinaryAuthorization[]
clusterAutoscalings GetClusterClusterAutoscaling[]
clusterIpv4Cidr string
clusterTelemetries GetClusterClusterTelemetry[]
confidentialNodes GetClusterConfidentialNode[]
costManagementConfigs GetClusterCostManagementConfig[]
databaseEncryptions GetClusterDatabaseEncryption[]
datapathProvider string
defaultMaxPodsPerNode number
defaultSnatStatuses GetClusterDefaultSnatStatus[]
description string
dnsConfigs GetClusterDnsConfig[]
enableAutopilot boolean
enableBinaryAuthorization boolean
enableIntranodeVisibility boolean
enableKubernetesAlpha boolean
enableL4IlbSubsetting boolean
enableLegacyAbac boolean
enableShieldedNodes boolean
enableTpu boolean
endpoint string
id string

The provider-assigned unique ID for this managed resource.

identityServiceConfigs GetClusterIdentityServiceConfig[]
initialNodeCount number
ipAllocationPolicies GetClusterIpAllocationPolicy[]
labelFingerprint string
loggingConfigs GetClusterLoggingConfig[]
loggingService string
maintenancePolicies GetClusterMaintenancePolicy[]
masterAuthorizedNetworksConfigs GetClusterMasterAuthorizedNetworksConfig[]
masterAuths GetClusterMasterAuth[]
masterVersion string
meshCertificates GetClusterMeshCertificate[]
minMasterVersion string
monitoringConfigs GetClusterMonitoringConfig[]
monitoringService string
name string
network string
networkPolicies GetClusterNetworkPolicy[]
networkingMode string
nodeConfigs GetClusterNodeConfig[]
nodeLocations string[]
nodePoolAutoConfigs GetClusterNodePoolAutoConfig[]
nodePoolDefaults GetClusterNodePoolDefault[]
nodePools GetClusterNodePool[]
nodeVersion string
notificationConfigs GetClusterNotificationConfig[]
operation string
podSecurityPolicyConfigs GetClusterPodSecurityPolicyConfig[]
privateClusterConfigs GetClusterPrivateClusterConfig[]
privateIpv6GoogleAccess string
releaseChannels GetClusterReleaseChannel[]
removeDefaultNodePool boolean
resourceLabels {[key: string]: string}
resourceUsageExportConfigs GetClusterResourceUsageExportConfig[]
selfLink string
serviceExternalIpsConfigs GetClusterServiceExternalIpsConfig[]
servicesIpv4Cidr string
subnetwork string
tpuConfigs GetClusterTpuConfig[]
tpuIpv4CidrBlock string
verticalPodAutoscalings GetClusterVerticalPodAutoscaling[]
workloadIdentityConfigs GetClusterWorkloadIdentityConfig[]
location string
project string
addons_configs Sequence[GetClusterAddonsConfig]
authenticator_groups_configs Sequence[GetClusterAuthenticatorGroupsConfig]
binary_authorizations Sequence[GetClusterBinaryAuthorization]
cluster_autoscalings Sequence[GetClusterClusterAutoscaling]
cluster_ipv4_cidr str
cluster_telemetries Sequence[GetClusterClusterTelemetry]
confidential_nodes Sequence[GetClusterConfidentialNode]
cost_management_configs Sequence[GetClusterCostManagementConfig]
database_encryptions Sequence[GetClusterDatabaseEncryption]
datapath_provider str
default_max_pods_per_node int
default_snat_statuses Sequence[GetClusterDefaultSnatStatus]
description str
dns_configs Sequence[GetClusterDnsConfig]
enable_autopilot bool
enable_binary_authorization bool
enable_intranode_visibility bool
enable_kubernetes_alpha bool
enable_l4_ilb_subsetting bool
enable_legacy_abac bool
enable_shielded_nodes bool
enable_tpu bool
endpoint str
id str

The provider-assigned unique ID for this managed resource.

identity_service_configs Sequence[GetClusterIdentityServiceConfig]
initial_node_count int
ip_allocation_policies Sequence[GetClusterIpAllocationPolicy]
label_fingerprint str
logging_configs Sequence[GetClusterLoggingConfig]
logging_service str
maintenance_policies Sequence[GetClusterMaintenancePolicy]
master_authorized_networks_configs Sequence[GetClusterMasterAuthorizedNetworksConfig]
master_auths Sequence[GetClusterMasterAuth]
master_version str
mesh_certificates Sequence[GetClusterMeshCertificate]
min_master_version str
monitoring_configs Sequence[GetClusterMonitoringConfig]
monitoring_service str
name str
network str
network_policies Sequence[GetClusterNetworkPolicy]
networking_mode str
node_configs Sequence[GetClusterNodeConfig]
node_locations Sequence[str]
node_pool_auto_configs Sequence[GetClusterNodePoolAutoConfig]
node_pool_defaults Sequence[GetClusterNodePoolDefault]
node_pools Sequence[GetClusterNodePool]
node_version str
notification_configs Sequence[GetClusterNotificationConfig]
operation str
pod_security_policy_configs Sequence[GetClusterPodSecurityPolicyConfig]
private_cluster_configs Sequence[GetClusterPrivateClusterConfig]
private_ipv6_google_access str
release_channels Sequence[GetClusterReleaseChannel]
remove_default_node_pool bool
resource_labels Mapping[str, str]
resource_usage_export_configs Sequence[GetClusterResourceUsageExportConfig]
self_link str
service_external_ips_configs Sequence[GetClusterServiceExternalIpsConfig]
services_ipv4_cidr str
subnetwork str
tpu_configs Sequence[GetClusterTpuConfig]
tpu_ipv4_cidr_block str
vertical_pod_autoscalings Sequence[GetClusterVerticalPodAutoscaling]
workload_identity_configs Sequence[GetClusterWorkloadIdentityConfig]
location str
project str
addonsConfigs List<Property Map>
authenticatorGroupsConfigs List<Property Map>
binaryAuthorizations List<Property Map>
clusterAutoscalings List<Property Map>
clusterIpv4Cidr String
clusterTelemetries List<Property Map>
confidentialNodes List<Property Map>
costManagementConfigs List<Property Map>
databaseEncryptions List<Property Map>
datapathProvider String
defaultMaxPodsPerNode Number
defaultSnatStatuses List<Property Map>
description String
dnsConfigs List<Property Map>
enableAutopilot Boolean
enableBinaryAuthorization Boolean
enableIntranodeVisibility Boolean
enableKubernetesAlpha Boolean
enableL4IlbSubsetting Boolean
enableLegacyAbac Boolean
enableShieldedNodes Boolean
enableTpu Boolean
endpoint String
id String

The provider-assigned unique ID for this managed resource.

identityServiceConfigs List<Property Map>
initialNodeCount Number
ipAllocationPolicies List<Property Map>
labelFingerprint String
loggingConfigs List<Property Map>
loggingService String
maintenancePolicies List<Property Map>
masterAuthorizedNetworksConfigs List<Property Map>
masterAuths List<Property Map>
masterVersion String
meshCertificates List<Property Map>
minMasterVersion String
monitoringConfigs List<Property Map>
monitoringService String
name String
network String
networkPolicies List<Property Map>
networkingMode String
nodeConfigs List<Property Map>
nodeLocations List<String>
nodePoolAutoConfigs List<Property Map>
nodePoolDefaults List<Property Map>
nodePools List<Property Map>
nodeVersion String
notificationConfigs List<Property Map>
operation String
podSecurityPolicyConfigs List<Property Map>
privateClusterConfigs List<Property Map>
privateIpv6GoogleAccess String
releaseChannels List<Property Map>
removeDefaultNodePool Boolean
resourceLabels Map<String>
resourceUsageExportConfigs List<Property Map>
selfLink String
serviceExternalIpsConfigs List<Property Map>
servicesIpv4Cidr String
subnetwork String
tpuConfigs List<Property Map>
tpuIpv4CidrBlock String
verticalPodAutoscalings List<Property Map>
workloadIdentityConfigs List<Property Map>
location String
project String

Supporting Types

GetClusterAddonsConfig

cloudrun_configs Sequence[GetClusterAddonsConfigCloudrunConfig]
config_connector_configs Sequence[GetClusterAddonsConfigConfigConnectorConfig]
dns_cache_configs Sequence[GetClusterAddonsConfigDnsCacheConfig]
gce_persistent_disk_csi_driver_configs Sequence[GetClusterAddonsConfigGcePersistentDiskCsiDriverConfig]
gcp_filestore_csi_driver_configs Sequence[GetClusterAddonsConfigGcpFilestoreCsiDriverConfig]
gke_backup_agent_configs Sequence[GetClusterAddonsConfigGkeBackupAgentConfig]
horizontal_pod_autoscalings Sequence[GetClusterAddonsConfigHorizontalPodAutoscaling]
http_load_balancings Sequence[GetClusterAddonsConfigHttpLoadBalancing]
istio_configs Sequence[GetClusterAddonsConfigIstioConfig]
kalm_configs Sequence[GetClusterAddonsConfigKalmConfig]
network_policy_configs Sequence[GetClusterAddonsConfigNetworkPolicyConfig]

GetClusterAddonsConfigCloudrunConfig

GetClusterAddonsConfigConfigConnectorConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterAddonsConfigDnsCacheConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterAddonsConfigGcePersistentDiskCsiDriverConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterAddonsConfigGcpFilestoreCsiDriverConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterAddonsConfigGkeBackupAgentConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterAddonsConfigHorizontalPodAutoscaling

disabled Boolean
disabled boolean
disabled Boolean

GetClusterAddonsConfigHttpLoadBalancing

disabled Boolean
disabled boolean
disabled Boolean

GetClusterAddonsConfigIstioConfig

Auth string
Disabled bool
Auth string
Disabled bool
auth String
disabled Boolean
auth string
disabled boolean
auth str
disabled bool
auth String
disabled Boolean

GetClusterAddonsConfigKalmConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterAddonsConfigNetworkPolicyConfig

disabled Boolean
disabled boolean
disabled Boolean

GetClusterAuthenticatorGroupsConfig

GetClusterBinaryAuthorization

enabled Boolean
evaluationMode String
enabled boolean
evaluationMode string
enabled Boolean
evaluationMode String

GetClusterClusterAutoscaling

GetClusterClusterAutoscalingAutoProvisioningDefault

GetClusterClusterAutoscalingResourceLimit

maximum Integer
minimum Integer
resourceType String
maximum number
minimum number
resourceType string
maximum Number
minimum Number
resourceType String

GetClusterClusterTelemetry

Type string
Type string
type String
type string
type str
type String

GetClusterConfidentialNode

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterCostManagementConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterDatabaseEncryption

KeyName string
State string
KeyName string
State string
keyName String
state String
keyName string
state string
keyName String
state String

GetClusterDefaultSnatStatus

disabled Boolean
disabled boolean
disabled Boolean

GetClusterDnsConfig

GetClusterIdentityServiceConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterIpAllocationPolicy

GetClusterLoggingConfig

EnableComponents List<string>
enableComponents List<String>
enable_components Sequence[str]
enableComponents List<String>

GetClusterMaintenancePolicy

GetClusterMaintenancePolicyDailyMaintenanceWindow

Duration string
StartTime string
Duration string
StartTime string
duration String
startTime String
duration string
startTime string
duration String
startTime String

GetClusterMaintenancePolicyMaintenanceExclusion

GetClusterMaintenancePolicyMaintenanceExclusionExclusionOption

Scope string
Scope string
scope String
scope string
scope str
scope String

GetClusterMaintenancePolicyRecurringWindow

EndTime string
Recurrence string
StartTime string
EndTime string
Recurrence string
StartTime string
endTime String
recurrence String
startTime String
endTime string
recurrence string
startTime string
endTime String
recurrence String
startTime String

GetClusterMasterAuth

GetClusterMasterAuthClientCertificateConfig

GetClusterMasterAuthorizedNetworksConfig

GetClusterMasterAuthorizedNetworksConfigCidrBlock

CidrBlock string
DisplayName string
CidrBlock string
DisplayName string
cidrBlock String
displayName String
cidrBlock string
displayName string
cidrBlock String
displayName String

GetClusterMeshCertificate

GetClusterMonitoringConfig

GetClusterMonitoringConfigManagedPrometheus

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterNetworkPolicy

Enabled bool
Provider string
Enabled bool
Provider string
enabled Boolean
provider String
enabled boolean
provider string
enabled Boolean
provider String

GetClusterNodeConfig

BootDiskKmsKey string
DiskSizeGb int
DiskType string
EphemeralStorageConfigs List<GetClusterNodeConfigEphemeralStorageConfig>
GcfsConfigs List<GetClusterNodeConfigGcfsConfig>
GuestAccelerators List<GetClusterNodeConfigGuestAccelerator>
Gvnics List<GetClusterNodeConfigGvnic>
ImageType string
KubeletConfigs List<GetClusterNodeConfigKubeletConfig>
Labels Dictionary<string, string>
LinuxNodeConfigs List<GetClusterNodeConfigLinuxNodeConfig>
LocalSsdCount int
MachineType string
Metadata Dictionary<string, string>
MinCpuPlatform string
NodeGroup string
OauthScopes List<string>
Preemptible bool
ReservationAffinities List<GetClusterNodeConfigReservationAffinity>
SandboxConfigs List<GetClusterNodeConfigSandboxConfig>
ServiceAccount string
ShieldedInstanceConfigs List<GetClusterNodeConfigShieldedInstanceConfig>
Spot bool
Tags List<string>
Taints List<GetClusterNodeConfigTaint>
WorkloadMetadataConfigs List<GetClusterNodeConfigWorkloadMetadataConfig>
BootDiskKmsKey string
DiskSizeGb int
DiskType string
EphemeralStorageConfigs []GetClusterNodeConfigEphemeralStorageConfig
GcfsConfigs []GetClusterNodeConfigGcfsConfig
GuestAccelerators []GetClusterNodeConfigGuestAccelerator
Gvnics []GetClusterNodeConfigGvnic
ImageType string
KubeletConfigs []GetClusterNodeConfigKubeletConfig
Labels map[string]string
LinuxNodeConfigs []GetClusterNodeConfigLinuxNodeConfig
LocalSsdCount int
MachineType string
Metadata map[string]string
MinCpuPlatform string
NodeGroup string
OauthScopes []string
Preemptible bool
ReservationAffinities []GetClusterNodeConfigReservationAffinity
SandboxConfigs []GetClusterNodeConfigSandboxConfig
ServiceAccount string
ShieldedInstanceConfigs []GetClusterNodeConfigShieldedInstanceConfig
Spot bool
Tags []string
Taints []GetClusterNodeConfigTaint
WorkloadMetadataConfigs []GetClusterNodeConfigWorkloadMetadataConfig
bootDiskKmsKey String
diskSizeGb Integer
diskType String
ephemeralStorageConfigs List<GetClusterNodeConfigEphemeralStorageConfig>
gcfsConfigs List<GetClusterNodeConfigGcfsConfig>
guestAccelerators List<GetClusterNodeConfigGuestAccelerator>
gvnics List<GetClusterNodeConfigGvnic>
imageType String
kubeletConfigs List<GetClusterNodeConfigKubeletConfig>
labels Map<String,String>
linuxNodeConfigs List<GetClusterNodeConfigLinuxNodeConfig>
localSsdCount Integer
machineType String
metadata Map<String,String>
minCpuPlatform String
nodeGroup String
oauthScopes List<String>
preemptible Boolean
reservationAffinities List<GetClusterNodeConfigReservationAffinity>
sandboxConfigs List<GetClusterNodeConfigSandboxConfig>
serviceAccount String
shieldedInstanceConfigs List<GetClusterNodeConfigShieldedInstanceConfig>
spot Boolean
tags List<String>
taints List<GetClusterNodeConfigTaint>
workloadMetadataConfigs List<GetClusterNodeConfigWorkloadMetadataConfig>
bootDiskKmsKey string
diskSizeGb number
diskType string
ephemeralStorageConfigs GetClusterNodeConfigEphemeralStorageConfig[]
gcfsConfigs GetClusterNodeConfigGcfsConfig[]
guestAccelerators GetClusterNodeConfigGuestAccelerator[]
gvnics GetClusterNodeConfigGvnic[]
imageType string
kubeletConfigs GetClusterNodeConfigKubeletConfig[]
labels {[key: string]: string}
linuxNodeConfigs GetClusterNodeConfigLinuxNodeConfig[]
localSsdCount number
machineType string
metadata {[key: string]: string}
minCpuPlatform string
nodeGroup string
oauthScopes string[]
preemptible boolean
reservationAffinities GetClusterNodeConfigReservationAffinity[]
sandboxConfigs GetClusterNodeConfigSandboxConfig[]
serviceAccount string
shieldedInstanceConfigs GetClusterNodeConfigShieldedInstanceConfig[]
spot boolean
tags string[]
taints GetClusterNodeConfigTaint[]
workloadMetadataConfigs GetClusterNodeConfigWorkloadMetadataConfig[]
boot_disk_kms_key str
disk_size_gb int
disk_type str
ephemeral_storage_configs Sequence[GetClusterNodeConfigEphemeralStorageConfig]
gcfs_configs Sequence[GetClusterNodeConfigGcfsConfig]
guest_accelerators Sequence[GetClusterNodeConfigGuestAccelerator]
gvnics Sequence[GetClusterNodeConfigGvnic]
image_type str
kubelet_configs Sequence[GetClusterNodeConfigKubeletConfig]
labels Mapping[str, str]
linux_node_configs Sequence[GetClusterNodeConfigLinuxNodeConfig]
local_ssd_count int
machine_type str
metadata Mapping[str, str]
min_cpu_platform str
node_group str
oauth_scopes Sequence[str]
preemptible bool
reservation_affinities Sequence[GetClusterNodeConfigReservationAffinity]
sandbox_configs Sequence[GetClusterNodeConfigSandboxConfig]
service_account str
shielded_instance_configs Sequence[GetClusterNodeConfigShieldedInstanceConfig]
spot bool
tags Sequence[str]
taints Sequence[GetClusterNodeConfigTaint]
workload_metadata_configs Sequence[GetClusterNodeConfigWorkloadMetadataConfig]

GetClusterNodeConfigEphemeralStorageConfig

GetClusterNodeConfigGcfsConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterNodeConfigGuestAccelerator

Count int
GpuPartitionSize string
Type string
Count int
GpuPartitionSize string
Type string
count Integer
gpuPartitionSize String
type String
count number
gpuPartitionSize string
type string
count Number
gpuPartitionSize String
type String

GetClusterNodeConfigGvnic

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterNodeConfigKubeletConfig

GetClusterNodeConfigLinuxNodeConfig

Sysctls Dictionary<string, string>
Sysctls map[string]string
sysctls Map<String,String>
sysctls {[key: string]: string}
sysctls Mapping[str, str]
sysctls Map<String>

GetClusterNodeConfigReservationAffinity

ConsumeReservationType string
Key string
Values List<string>
ConsumeReservationType string
Key string
Values []string
consumeReservationType String
key String
values List<String>
consumeReservationType string
key string
values string[]
consume_reservation_type str
key str
values Sequence[str]
consumeReservationType String
key String
values List<String>

GetClusterNodeConfigSandboxConfig

GetClusterNodeConfigShieldedInstanceConfig

GetClusterNodeConfigTaint

Effect string
Key string
Value string
Effect string
Key string
Value string
effect String
key String
value String
effect string
key string
value string
effect str
key str
value str
effect String
key String
value String

GetClusterNodeConfigWorkloadMetadataConfig

Mode string
Mode string
mode String
mode string
mode str
mode String

GetClusterNodePool

GetClusterNodePoolAutoConfig

GetClusterNodePoolAutoConfigNetworkTag

Tags List<string>
Tags []string
tags List<String>
tags string[]
tags Sequence[str]
tags List<String>

GetClusterNodePoolAutoscaling

GetClusterNodePoolDefault

GetClusterNodePoolDefaultNodeConfigDefault

GetClusterNodePoolDefaultNodeConfigDefaultGcfsConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterNodePoolManagement

autoRepair Boolean
autoUpgrade Boolean
autoRepair boolean
autoUpgrade boolean
autoRepair Boolean
autoUpgrade Boolean

GetClusterNodePoolNetworkConfig

GetClusterNodePoolNodeConfig

BootDiskKmsKey string
DiskSizeGb int
DiskType string
EphemeralStorageConfigs List<GetClusterNodePoolNodeConfigEphemeralStorageConfig>
GcfsConfigs List<GetClusterNodePoolNodeConfigGcfsConfig>
GuestAccelerators List<GetClusterNodePoolNodeConfigGuestAccelerator>
Gvnics List<GetClusterNodePoolNodeConfigGvnic>
ImageType string
KubeletConfigs List<GetClusterNodePoolNodeConfigKubeletConfig>
Labels Dictionary<string, string>
LinuxNodeConfigs List<GetClusterNodePoolNodeConfigLinuxNodeConfig>
LocalSsdCount int
MachineType string
Metadata Dictionary<string, string>
MinCpuPlatform string
NodeGroup string
OauthScopes List<string>
Preemptible bool
ReservationAffinities List<GetClusterNodePoolNodeConfigReservationAffinity>
SandboxConfigs List<GetClusterNodePoolNodeConfigSandboxConfig>
ServiceAccount string
ShieldedInstanceConfigs List<GetClusterNodePoolNodeConfigShieldedInstanceConfig>
Spot bool
Tags List<string>
Taints List<GetClusterNodePoolNodeConfigTaint>
WorkloadMetadataConfigs List<GetClusterNodePoolNodeConfigWorkloadMetadataConfig>
BootDiskKmsKey string
DiskSizeGb int
DiskType string
EphemeralStorageConfigs []GetClusterNodePoolNodeConfigEphemeralStorageConfig
GcfsConfigs []GetClusterNodePoolNodeConfigGcfsConfig
GuestAccelerators []GetClusterNodePoolNodeConfigGuestAccelerator
Gvnics []GetClusterNodePoolNodeConfigGvnic
ImageType string
KubeletConfigs []GetClusterNodePoolNodeConfigKubeletConfig
Labels map[string]string
LinuxNodeConfigs []GetClusterNodePoolNodeConfigLinuxNodeConfig
LocalSsdCount int
MachineType string
Metadata map[string]string
MinCpuPlatform string
NodeGroup string
OauthScopes []string
Preemptible bool
ReservationAffinities []GetClusterNodePoolNodeConfigReservationAffinity
SandboxConfigs []GetClusterNodePoolNodeConfigSandboxConfig
ServiceAccount string
ShieldedInstanceConfigs []GetClusterNodePoolNodeConfigShieldedInstanceConfig
Spot bool
Tags []string
Taints []GetClusterNodePoolNodeConfigTaint
WorkloadMetadataConfigs []GetClusterNodePoolNodeConfigWorkloadMetadataConfig
bootDiskKmsKey String
diskSizeGb Integer
diskType String
ephemeralStorageConfigs List<GetClusterNodePoolNodeConfigEphemeralStorageConfig>
gcfsConfigs List<GetClusterNodePoolNodeConfigGcfsConfig>
guestAccelerators List<GetClusterNodePoolNodeConfigGuestAccelerator>
gvnics List<GetClusterNodePoolNodeConfigGvnic>
imageType String
kubeletConfigs List<GetClusterNodePoolNodeConfigKubeletConfig>
labels Map<String,String>
linuxNodeConfigs List<GetClusterNodePoolNodeConfigLinuxNodeConfig>
localSsdCount Integer
machineType String
metadata Map<String,String>
minCpuPlatform String
nodeGroup String
oauthScopes List<String>
preemptible Boolean
reservationAffinities List<GetClusterNodePoolNodeConfigReservationAffinity>
sandboxConfigs List<GetClusterNodePoolNodeConfigSandboxConfig>
serviceAccount String
shieldedInstanceConfigs List<GetClusterNodePoolNodeConfigShieldedInstanceConfig>
spot Boolean
tags List<String>
taints List<GetClusterNodePoolNodeConfigTaint>
workloadMetadataConfigs List<GetClusterNodePoolNodeConfigWorkloadMetadataConfig>
bootDiskKmsKey string
diskSizeGb number
diskType string
ephemeralStorageConfigs GetClusterNodePoolNodeConfigEphemeralStorageConfig[]
gcfsConfigs GetClusterNodePoolNodeConfigGcfsConfig[]
guestAccelerators GetClusterNodePoolNodeConfigGuestAccelerator[]
gvnics GetClusterNodePoolNodeConfigGvnic[]
imageType string
kubeletConfigs GetClusterNodePoolNodeConfigKubeletConfig[]
labels {[key: string]: string}
linuxNodeConfigs GetClusterNodePoolNodeConfigLinuxNodeConfig[]
localSsdCount number
machineType string
metadata {[key: string]: string}
minCpuPlatform string
nodeGroup string
oauthScopes string[]
preemptible boolean
reservationAffinities GetClusterNodePoolNodeConfigReservationAffinity[]
sandboxConfigs GetClusterNodePoolNodeConfigSandboxConfig[]
serviceAccount string
shieldedInstanceConfigs GetClusterNodePoolNodeConfigShieldedInstanceConfig[]
spot boolean
tags string[]
taints GetClusterNodePoolNodeConfigTaint[]
workloadMetadataConfigs GetClusterNodePoolNodeConfigWorkloadMetadataConfig[]
boot_disk_kms_key str
disk_size_gb int
disk_type str
ephemeral_storage_configs Sequence[GetClusterNodePoolNodeConfigEphemeralStorageConfig]
gcfs_configs Sequence[GetClusterNodePoolNodeConfigGcfsConfig]
guest_accelerators Sequence[GetClusterNodePoolNodeConfigGuestAccelerator]
gvnics Sequence[GetClusterNodePoolNodeConfigGvnic]
image_type str
kubelet_configs Sequence[GetClusterNodePoolNodeConfigKubeletConfig]
labels Mapping[str, str]
linux_node_configs Sequence[GetClusterNodePoolNodeConfigLinuxNodeConfig]
local_ssd_count int
machine_type str
metadata Mapping[str, str]
min_cpu_platform str
node_group str
oauth_scopes Sequence[str]
preemptible bool
reservation_affinities Sequence[GetClusterNodePoolNodeConfigReservationAffinity]
sandbox_configs Sequence[GetClusterNodePoolNodeConfigSandboxConfig]
service_account str
shielded_instance_configs Sequence[GetClusterNodePoolNodeConfigShieldedInstanceConfig]
spot bool
tags Sequence[str]
taints Sequence[GetClusterNodePoolNodeConfigTaint]
workload_metadata_configs Sequence[GetClusterNodePoolNodeConfigWorkloadMetadataConfig]

GetClusterNodePoolNodeConfigEphemeralStorageConfig

GetClusterNodePoolNodeConfigGcfsConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterNodePoolNodeConfigGuestAccelerator

Count int
GpuPartitionSize string
Type string
Count int
GpuPartitionSize string
Type string
count Integer
gpuPartitionSize String
type String
count number
gpuPartitionSize string
type string
count Number
gpuPartitionSize String
type String

GetClusterNodePoolNodeConfigGvnic

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterNodePoolNodeConfigKubeletConfig

GetClusterNodePoolNodeConfigLinuxNodeConfig

Sysctls Dictionary<string, string>
Sysctls map[string]string
sysctls Map<String,String>
sysctls {[key: string]: string}
sysctls Mapping[str, str]
sysctls Map<String>

GetClusterNodePoolNodeConfigReservationAffinity

ConsumeReservationType string
Key string
Values List<string>
ConsumeReservationType string
Key string
Values []string
consumeReservationType String
key String
values List<String>
consumeReservationType string
key string
values string[]
consume_reservation_type str
key str
values Sequence[str]
consumeReservationType String
key String
values List<String>

GetClusterNodePoolNodeConfigSandboxConfig

GetClusterNodePoolNodeConfigShieldedInstanceConfig

GetClusterNodePoolNodeConfigTaint

Effect string
Key string
Value string
Effect string
Key string
Value string
effect String
key String
value String
effect string
key string
value string
effect str
key str
value str
effect String
key String
value String

GetClusterNodePoolNodeConfigWorkloadMetadataConfig

Mode string
Mode string
mode String
mode string
mode str
mode String

GetClusterNodePoolPlacementPolicy

Type string
Type string
type String
type string
type str
type String

GetClusterNodePoolUpgradeSetting

maxSurge Integer
maxUnavailable Integer

GetClusterNotificationConfig

GetClusterNotificationConfigPubsub

Enabled bool
Topic string
Enabled bool
Topic string
enabled Boolean
topic String
enabled boolean
topic string
enabled bool
topic str
enabled Boolean
topic String

GetClusterPodSecurityPolicyConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterPrivateClusterConfig

GetClusterPrivateClusterConfigMasterGlobalAccessConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterReleaseChannel

Channel string
Channel string
channel String
channel string
channel String

GetClusterResourceUsageExportConfig

GetClusterResourceUsageExportConfigBigqueryDestination

DatasetId string
DatasetId string
datasetId String
datasetId string
datasetId String

GetClusterServiceExternalIpsConfig

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterTpuConfig

GetClusterVerticalPodAutoscaling

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

GetClusterWorkloadIdentityConfig

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.