Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.24.0 published on Tuesday, May 17, 2022 by Pulumi

getCluster

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

Example Usage

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var myCluster = Output.Create(Gcp.Container.GetCluster.InvokeAsync(new Gcp.Container.GetClusterArgs
        {
            Name = "my-cluster",
            Location = "us-east1-a",
        }));
        this.Endpoint = myCluster.Apply(myCluster => myCluster.Endpoint);
        this.InstanceGroupUrls = myCluster.Apply(myCluster => myCluster.NodePools?[0]?.InstanceGroupUrls);
        this.NodeConfig = myCluster.Apply(myCluster => myCluster.NodeConfigs);
        this.NodePools = myCluster.Apply(myCluster => myCluster.NodePools);
    }

    [Output("endpoint")]
    public Output<string> Endpoint { get; set; }
    [Output("instanceGroupUrls")]
    public Output<string> InstanceGroupUrls { get; set; }
    [Output("nodeConfig")]
    public Output<string> NodeConfig { get; set; }
    [Output("nodePools")]
    public Output<string> NodePools { get; set; }
}
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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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

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

        ctx.export("endpoint", myCluster.apply(getClusterResult -> getClusterResult.getEndpoint()));
        ctx.export("instanceGroupUrls", myCluster.apply(getClusterResult -> getClusterResult.getNodePools()[0].getInstanceGroupUrls()));
        ctx.export("nodeConfig", myCluster.apply(getClusterResult -> getClusterResult.getNodeConfigs()));
        ctx.export("nodePools", myCluster.apply(getClusterResult -> getClusterResult.getNodePools()));
        }
}
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>
ClusterAutoscalings List<GetClusterClusterAutoscaling>
ClusterIpv4Cidr string
ClusterTelemetries List<GetClusterClusterTelemetry>
ConfidentialNodes List<GetClusterConfidentialNode>
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
MinMasterVersion string
MonitoringConfigs List<GetClusterMonitoringConfig>
MonitoringService string
Name string
Network string
NetworkPolicies List<GetClusterNetworkPolicy>
NetworkingMode string
NodeConfigs List<GetClusterNodeConfig>
NodeLocations List<string>
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
ServicesIpv4Cidr string
Subnetwork string
TpuIpv4CidrBlock string
VerticalPodAutoscalings List<GetClusterVerticalPodAutoscaling>
WorkloadIdentityConfigs List<GetClusterWorkloadIdentityConfig>
Location string
Project string
AddonsConfigs []GetClusterAddonsConfig
AuthenticatorGroupsConfigs []GetClusterAuthenticatorGroupsConfig
ClusterAutoscalings []GetClusterClusterAutoscaling
ClusterIpv4Cidr string
ClusterTelemetries []GetClusterClusterTelemetry
ConfidentialNodes []GetClusterConfidentialNode
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
MinMasterVersion string
MonitoringConfigs []GetClusterMonitoringConfig
MonitoringService string
Name string
Network string
NetworkPolicies []GetClusterNetworkPolicy
NetworkingMode string
NodeConfigs []GetClusterNodeConfig
NodeLocations []string
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
ServicesIpv4Cidr string
Subnetwork string
TpuIpv4CidrBlock string
VerticalPodAutoscalings []GetClusterVerticalPodAutoscaling
WorkloadIdentityConfigs []GetClusterWorkloadIdentityConfig
Location string
Project string
addonsConfigs ListClusterAddonsConfig>
authenticatorGroupsConfigs ListClusterAuthenticatorGroupsConfig>
clusterAutoscalings ListClusterClusterAutoscaling>
clusterIpv4Cidr String
clusterTelemetries ListClusterClusterTelemetry>
confidentialNodes ListClusterConfidentialNode>
databaseEncryptions ListClusterDatabaseEncryption>
datapathProvider String
defaultMaxPodsPerNode Integer
defaultSnatStatuses ListClusterDefaultSnatStatus>
description String
dnsConfigs ListClusterDnsConfig>
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 ListClusterIdentityServiceConfig>
initialNodeCount Integer
ipAllocationPolicies ListClusterIpAllocationPolicy>
labelFingerprint String
loggingConfigs ListClusterLoggingConfig>
loggingService String
maintenancePolicies ListClusterMaintenancePolicy>
masterAuthorizedNetworksConfigs ListClusterMasterAuthorizedNetworksConfig>
masterAuths ListClusterMasterAuth>
masterVersion String
minMasterVersion String
monitoringConfigs ListClusterMonitoringConfig>
monitoringService String
name String
network String
networkPolicies ListClusterNetworkPolicy>
networkingMode String
nodeConfigs ListClusterNodeConfig>
nodeLocations List
nodePools ListClusterNodePool>
nodeVersion String
notificationConfigs ListClusterNotificationConfig>
operation String
podSecurityPolicyConfigs ListClusterPodSecurityPolicyConfig>
privateClusterConfigs ListClusterPrivateClusterConfig>
privateIpv6GoogleAccess String
releaseChannels ListClusterReleaseChannel>
removeDefaultNodePool Boolean
resourceLabels Map
resourceUsageExportConfigs ListClusterResourceUsageExportConfig>
selfLink String
servicesIpv4Cidr String
subnetwork String
tpuIpv4CidrBlock String
verticalPodAutoscalings ListClusterVerticalPodAutoscaling>
workloadIdentityConfigs ListClusterWorkloadIdentityConfig>
location String
project String
addonsConfigs GetClusterAddonsConfig[]
authenticatorGroupsConfigs GetClusterAuthenticatorGroupsConfig[]
clusterAutoscalings GetClusterClusterAutoscaling[]
clusterIpv4Cidr string
clusterTelemetries GetClusterClusterTelemetry[]
confidentialNodes GetClusterConfidentialNode[]
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
minMasterVersion string
monitoringConfigs GetClusterMonitoringConfig[]
monitoringService string
name string
network string
networkPolicies GetClusterNetworkPolicy[]
networkingMode string
nodeConfigs GetClusterNodeConfig[]
nodeLocations string[]
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
servicesIpv4Cidr string
subnetwork string
tpuIpv4CidrBlock string
verticalPodAutoscalings GetClusterVerticalPodAutoscaling[]
workloadIdentityConfigs GetClusterWorkloadIdentityConfig[]
location string
project string
addons_configs Sequence[GetClusterAddonsConfig]
authenticator_groups_configs Sequence[GetClusterAuthenticatorGroupsConfig]
cluster_autoscalings Sequence[GetClusterClusterAutoscaling]
cluster_ipv4_cidr str
cluster_telemetries Sequence[GetClusterClusterTelemetry]
confidential_nodes Sequence[GetClusterConfidentialNode]
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
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_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
services_ipv4_cidr str
subnetwork str
tpu_ipv4_cidr_block str
vertical_pod_autoscalings Sequence[GetClusterVerticalPodAutoscaling]
workload_identity_configs Sequence[GetClusterWorkloadIdentityConfig]
location str
project str
addonsConfigs List
authenticatorGroupsConfigs List
clusterAutoscalings List
clusterIpv4Cidr String
clusterTelemetries List
confidentialNodes List
databaseEncryptions List
datapathProvider String
defaultMaxPodsPerNode Number
defaultSnatStatuses List
description String
dnsConfigs List
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
initialNodeCount Number
ipAllocationPolicies List
labelFingerprint String
loggingConfigs List
loggingService String
maintenancePolicies List
masterAuthorizedNetworksConfigs List
masterAuths List
masterVersion String
minMasterVersion String
monitoringConfigs List
monitoringService String
name String
network String
networkPolicies List
networkingMode String
nodeConfigs List
nodeLocations List
nodePools List
nodeVersion String
notificationConfigs List
operation String
podSecurityPolicyConfigs List
privateClusterConfigs List
privateIpv6GoogleAccess String
releaseChannels List
removeDefaultNodePool Boolean
resourceLabels Map
resourceUsageExportConfigs List
selfLink String
servicesIpv4Cidr String
subnetwork String
tpuIpv4CidrBlock String
verticalPodAutoscalings List
workloadIdentityConfigs List
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

GetClusterClusterAutoscaling

GetClusterClusterAutoscalingAutoProvisioningDefault

ImageType string
MinCpuPlatform string
OauthScopes List<string>
ServiceAccount string

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

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>
enable_components Sequence[str]

GetClusterMaintenancePolicy

GetClusterMaintenancePolicyDailyMaintenanceWindow

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

GetClusterMaintenancePolicyMaintenanceExclusion

EndTime string
ExclusionName string
StartTime string
EndTime string
ExclusionName string
StartTime string
endTime String
exclusionName String
startTime String
endTime string
exclusionName string
startTime string
endTime String
exclusionName String
startTime 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

GetClusterMonitoringConfig

EnableComponents List<string>
enable_components Sequence[str]

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
SandboxConfigs List<GetClusterNodeConfigSandboxConfig>
ServiceAccount string
ShieldedInstanceConfigs List<GetClusterNodeConfigShieldedInstanceConfig>
Spot bool
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
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
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 {[key: string]: string}
sysctls Mapping[str, str]

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

GetClusterNodePoolAutoscaling

maxNodeCount Integer
minNodeCount Integer

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
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
SandboxConfigs []GetClusterNodePoolNodeConfigSandboxConfig
ServiceAccount string
ShieldedInstanceConfigs []GetClusterNodePoolNodeConfigShieldedInstanceConfig
Spot bool
Tags []string
Taints []GetClusterNodePoolNodeConfigTaint
WorkloadMetadataConfigs []GetClusterNodePoolNodeConfigWorkloadMetadataConfig
bootDiskKmsKey String
diskSizeGb Integer
diskType String
ephemeralStorageConfigs ListClusterNodePoolNodeConfigEphemeralStorageConfig>
gcfsConfigs ListClusterNodePoolNodeConfigGcfsConfig>
guestAccelerators ListClusterNodePoolNodeConfigGuestAccelerator>
gvnics ListClusterNodePoolNodeConfigGvnic>
imageType String
kubeletConfigs ListClusterNodePoolNodeConfigKubeletConfig>
labels Map
linuxNodeConfigs ListClusterNodePoolNodeConfigLinuxNodeConfig>
localSsdCount Integer
machineType String
metadata Map
minCpuPlatform String
nodeGroup String
oauthScopes List
preemptible Boolean
sandboxConfigs ListClusterNodePoolNodeConfigSandboxConfig>
serviceAccount String
shieldedInstanceConfigs ListClusterNodePoolNodeConfigShieldedInstanceConfig>
spot Boolean
tags List
taints ListClusterNodePoolNodeConfigTaint>
workloadMetadataConfigs ListClusterNodePoolNodeConfigWorkloadMetadataConfig>
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
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
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 {[key: string]: string}
sysctls Mapping[str, str]

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

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.