Viewing docs for gcore 2.0.0-alpha.6
published on Monday, Apr 27, 2026 by g-core
published on Monday, Apr 27, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.6
published on Monday, Apr 27, 2026 by g-core
published on Monday, Apr 27, 2026 by g-core
Kubeconfig provides the necessary configuration and credentials to access a Kubernetes cluster using kubectl or other Kubernetes clients.
Using getCloudK8sClusterKubeconfig
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 getCloudK8sClusterKubeconfig(args: GetCloudK8sClusterKubeconfigArgs, opts?: InvokeOptions): Promise<GetCloudK8sClusterKubeconfigResult>
function getCloudK8sClusterKubeconfigOutput(args: GetCloudK8sClusterKubeconfigOutputArgs, opts?: InvokeOptions): Output<GetCloudK8sClusterKubeconfigResult>def get_cloud_k8s_cluster_kubeconfig(cluster_name: Optional[str] = None,
project_id: Optional[float] = None,
region_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudK8sClusterKubeconfigResult
def get_cloud_k8s_cluster_kubeconfig_output(cluster_name: pulumi.Input[Optional[str]] = None,
project_id: pulumi.Input[Optional[float]] = None,
region_id: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudK8sClusterKubeconfigResult]func GetCloudK8sClusterKubeconfig(ctx *Context, args *GetCloudK8sClusterKubeconfigArgs, opts ...InvokeOption) (*GetCloudK8sClusterKubeconfigResult, error)
func GetCloudK8sClusterKubeconfigOutput(ctx *Context, args *GetCloudK8sClusterKubeconfigOutputArgs, opts ...InvokeOption) GetCloudK8sClusterKubeconfigResultOutput> Note: This function is named GetCloudK8sClusterKubeconfig in the Go SDK.
public static class GetCloudK8sClusterKubeconfig
{
public static Task<GetCloudK8sClusterKubeconfigResult> InvokeAsync(GetCloudK8sClusterKubeconfigArgs args, InvokeOptions? opts = null)
public static Output<GetCloudK8sClusterKubeconfigResult> Invoke(GetCloudK8sClusterKubeconfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudK8sClusterKubeconfigResult> getCloudK8sClusterKubeconfig(GetCloudK8sClusterKubeconfigArgs args, InvokeOptions options)
public static Output<GetCloudK8sClusterKubeconfigResult> getCloudK8sClusterKubeconfig(GetCloudK8sClusterKubeconfigArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getCloudK8sClusterKubeconfig:getCloudK8sClusterKubeconfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Name string - Cluster name
- Project
Id double - Project ID
- Region
Id double - Region ID
- Cluster
Name string - Cluster name
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- cluster
Name String - Cluster name
- project
Id Double - Project ID
- region
Id Double - Region ID
- cluster
Name string - Cluster name
- project
Id number - Project ID
- region
Id number - Region ID
- cluster_
name str - Cluster name
- project_
id float - Project ID
- region_
id float - Region ID
- cluster
Name String - Cluster name
- project
Id Number - Project ID
- region
Id Number - Region ID
getCloudK8sClusterKubeconfig Result
The following output properties are available:
- Client
Certificate string - String in base64 format. Cluster client certificate
- Client
Key string - String in base64 format. Cluster client key
- Cluster
Ca stringCertificate - String in base64 format. Cluster ca certificate
- Cluster
Name string - Cluster name
- Config string
- Cluster kubeconfig
- Created
At string - Kubeconfig creation date
- Expires
At string - Kubeconfig expiration date
- Host string
- Cluster host
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id double - Project ID
- Region
Id double - Region ID
- Client
Certificate string - String in base64 format. Cluster client certificate
- Client
Key string - String in base64 format. Cluster client key
- Cluster
Ca stringCertificate - String in base64 format. Cluster ca certificate
- Cluster
Name string - Cluster name
- Config string
- Cluster kubeconfig
- Created
At string - Kubeconfig creation date
- Expires
At string - Kubeconfig expiration date
- Host string
- Cluster host
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id float64 - Project ID
- Region
Id float64 - Region ID
- client
Certificate String - String in base64 format. Cluster client certificate
- client
Key String - String in base64 format. Cluster client key
- cluster
Ca StringCertificate - String in base64 format. Cluster ca certificate
- cluster
Name String - Cluster name
- config String
- Cluster kubeconfig
- created
At String - Kubeconfig creation date
- expires
At String - Kubeconfig expiration date
- host String
- Cluster host
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id Double - Project ID
- region
Id Double - Region ID
- client
Certificate string - String in base64 format. Cluster client certificate
- client
Key string - String in base64 format. Cluster client key
- cluster
Ca stringCertificate - String in base64 format. Cluster ca certificate
- cluster
Name string - Cluster name
- config string
- Cluster kubeconfig
- created
At string - Kubeconfig creation date
- expires
At string - Kubeconfig expiration date
- host string
- Cluster host
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id number - Project ID
- region
Id number - Region ID
- client_
certificate str - String in base64 format. Cluster client certificate
- client_
key str - String in base64 format. Cluster client key
- cluster_
ca_ strcertificate - String in base64 format. Cluster ca certificate
- cluster_
name str - Cluster name
- config str
- Cluster kubeconfig
- created_
at str - Kubeconfig creation date
- expires_
at str - Kubeconfig expiration date
- host str
- Cluster host
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id float - Project ID
- region_
id float - Region ID
- client
Certificate String - String in base64 format. Cluster client certificate
- client
Key String - String in base64 format. Cluster client key
- cluster
Ca StringCertificate - String in base64 format. Cluster ca certificate
- cluster
Name String - Cluster name
- config String
- Cluster kubeconfig
- created
At String - Kubeconfig creation date
- expires
At String - Kubeconfig expiration date
- host String
- Cluster host
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id Number - Project ID
- region
Id Number - Region ID
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.6
published on Monday, Apr 27, 2026 by g-core
published on Monday, Apr 27, 2026 by g-core
