1. Packages
  2. Harness
  3. API Docs
  4. cloudprovider
  5. Kubernetes
Harness v0.2.1 published on Friday, Jul 26, 2024 by Pulumi

harness.cloudprovider.Kubernetes

Explore with Pulumi AI

harness logo
Harness v0.2.1 published on Friday, Jul 26, 2024 by Pulumi

    Resource for creating a Kubernetes cloud provider. This resource uses the config-as-code API’s. When updating the name or path of this resource you should typically also set the create_before_destroy = true lifecycle setting.

    Create Kubernetes Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Kubernetes(name: string, args: KubernetesArgs, opts?: CustomResourceOptions);
    @overload
    def Kubernetes(resource_name: str,
                   args: KubernetesArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Kubernetes(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   authentication: Optional[KubernetesAuthenticationArgs] = None,
                   name: Optional[str] = None,
                   skip_validation: Optional[bool] = None,
                   usage_scopes: Optional[Sequence[KubernetesUsageScopeArgs]] = None)
    func NewKubernetes(ctx *Context, name string, args KubernetesArgs, opts ...ResourceOption) (*Kubernetes, error)
    public Kubernetes(string name, KubernetesArgs args, CustomResourceOptions? opts = null)
    public Kubernetes(String name, KubernetesArgs args)
    public Kubernetes(String name, KubernetesArgs args, CustomResourceOptions options)
    
    type: harness:cloudprovider:Kubernetes
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args KubernetesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KubernetesArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KubernetesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var kubernetesResource = new Harness.Cloudprovider.Kubernetes("kubernetesResource", new()
    {
        Authentication = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationArgs
        {
            DelegateSelectors = new[]
            {
                "string",
            },
            Oidc = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationOidcArgs
            {
                ClientIdSecretName = "string",
                IdentityProviderUrl = "string",
                MasterUrl = "string",
                PasswordSecretName = "string",
                Username = "string",
                ClientSecretSecretName = "string",
                Scopes = new[]
                {
                    "string",
                },
            },
            ServiceAccount = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationServiceAccountArgs
            {
                MasterUrl = "string",
                ServiceAccountTokenSecretName = "string",
                CaCertificateSecretName = "string",
            },
            UsernamePassword = new Harness.Cloudprovider.Inputs.KubernetesAuthenticationUsernamePasswordArgs
            {
                MasterUrl = "string",
                PasswordSecretName = "string",
                Username = "string",
                UsernameSecretName = "string",
            },
        },
        Name = "string",
        SkipValidation = false,
        UsageScopes = new[]
        {
            new Harness.Cloudprovider.Inputs.KubernetesUsageScopeArgs
            {
                ApplicationId = "string",
                EnvironmentFilterType = "string",
                EnvironmentId = "string",
            },
        },
    });
    
    example, err := cloudprovider.NewKubernetes(ctx, "kubernetesResource", &cloudprovider.KubernetesArgs{
    	Authentication: &cloudprovider.KubernetesAuthenticationArgs{
    		DelegateSelectors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Oidc: &cloudprovider.KubernetesAuthenticationOidcArgs{
    			ClientIdSecretName:     pulumi.String("string"),
    			IdentityProviderUrl:    pulumi.String("string"),
    			MasterUrl:              pulumi.String("string"),
    			PasswordSecretName:     pulumi.String("string"),
    			Username:               pulumi.String("string"),
    			ClientSecretSecretName: pulumi.String("string"),
    			Scopes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		ServiceAccount: &cloudprovider.KubernetesAuthenticationServiceAccountArgs{
    			MasterUrl:                     pulumi.String("string"),
    			ServiceAccountTokenSecretName: pulumi.String("string"),
    			CaCertificateSecretName:       pulumi.String("string"),
    		},
    		UsernamePassword: &cloudprovider.KubernetesAuthenticationUsernamePasswordArgs{
    			MasterUrl:          pulumi.String("string"),
    			PasswordSecretName: pulumi.String("string"),
    			Username:           pulumi.String("string"),
    			UsernameSecretName: pulumi.String("string"),
    		},
    	},
    	Name:           pulumi.String("string"),
    	SkipValidation: pulumi.Bool(false),
    	UsageScopes: cloudprovider.KubernetesUsageScopeArray{
    		&cloudprovider.KubernetesUsageScopeArgs{
    			ApplicationId:         pulumi.String("string"),
    			EnvironmentFilterType: pulumi.String("string"),
    			EnvironmentId:         pulumi.String("string"),
    		},
    	},
    })
    
    var kubernetesResource = new Kubernetes("kubernetesResource", KubernetesArgs.builder()
        .authentication(KubernetesAuthenticationArgs.builder()
            .delegateSelectors("string")
            .oidc(KubernetesAuthenticationOidcArgs.builder()
                .clientIdSecretName("string")
                .identityProviderUrl("string")
                .masterUrl("string")
                .passwordSecretName("string")
                .username("string")
                .clientSecretSecretName("string")
                .scopes("string")
                .build())
            .serviceAccount(KubernetesAuthenticationServiceAccountArgs.builder()
                .masterUrl("string")
                .serviceAccountTokenSecretName("string")
                .caCertificateSecretName("string")
                .build())
            .usernamePassword(KubernetesAuthenticationUsernamePasswordArgs.builder()
                .masterUrl("string")
                .passwordSecretName("string")
                .username("string")
                .usernameSecretName("string")
                .build())
            .build())
        .name("string")
        .skipValidation(false)
        .usageScopes(KubernetesUsageScopeArgs.builder()
            .applicationId("string")
            .environmentFilterType("string")
            .environmentId("string")
            .build())
        .build());
    
    kubernetes_resource = harness.cloudprovider.Kubernetes("kubernetesResource",
        authentication=harness.cloudprovider.KubernetesAuthenticationArgs(
            delegate_selectors=["string"],
            oidc=harness.cloudprovider.KubernetesAuthenticationOidcArgs(
                client_id_secret_name="string",
                identity_provider_url="string",
                master_url="string",
                password_secret_name="string",
                username="string",
                client_secret_secret_name="string",
                scopes=["string"],
            ),
            service_account=harness.cloudprovider.KubernetesAuthenticationServiceAccountArgs(
                master_url="string",
                service_account_token_secret_name="string",
                ca_certificate_secret_name="string",
            ),
            username_password=harness.cloudprovider.KubernetesAuthenticationUsernamePasswordArgs(
                master_url="string",
                password_secret_name="string",
                username="string",
                username_secret_name="string",
            ),
        ),
        name="string",
        skip_validation=False,
        usage_scopes=[harness.cloudprovider.KubernetesUsageScopeArgs(
            application_id="string",
            environment_filter_type="string",
            environment_id="string",
        )])
    
    const kubernetesResource = new harness.cloudprovider.Kubernetes("kubernetesResource", {
        authentication: {
            delegateSelectors: ["string"],
            oidc: {
                clientIdSecretName: "string",
                identityProviderUrl: "string",
                masterUrl: "string",
                passwordSecretName: "string",
                username: "string",
                clientSecretSecretName: "string",
                scopes: ["string"],
            },
            serviceAccount: {
                masterUrl: "string",
                serviceAccountTokenSecretName: "string",
                caCertificateSecretName: "string",
            },
            usernamePassword: {
                masterUrl: "string",
                passwordSecretName: "string",
                username: "string",
                usernameSecretName: "string",
            },
        },
        name: "string",
        skipValidation: false,
        usageScopes: [{
            applicationId: "string",
            environmentFilterType: "string",
            environmentId: "string",
        }],
    });
    
    type: harness:cloudprovider:Kubernetes
    properties:
        authentication:
            delegateSelectors:
                - string
            oidc:
                clientIdSecretName: string
                clientSecretSecretName: string
                identityProviderUrl: string
                masterUrl: string
                passwordSecretName: string
                scopes:
                    - string
                username: string
            serviceAccount:
                caCertificateSecretName: string
                masterUrl: string
                serviceAccountTokenSecretName: string
            usernamePassword:
                masterUrl: string
                passwordSecretName: string
                username: string
                usernameSecretName: string
        name: string
        skipValidation: false
        usageScopes:
            - applicationId: string
              environmentFilterType: string
              environmentId: string
    

    Kubernetes Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Kubernetes resource accepts the following input properties:

    Authentication KubernetesAuthentication
    Authentication configuration for the Kubernetes cluster
    Name string
    The name of the cloud provider.
    SkipValidation bool
    Skip validation of Kubernetes configuration.
    UsageScopes List<KubernetesUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    Authentication KubernetesAuthenticationArgs
    Authentication configuration for the Kubernetes cluster
    Name string
    The name of the cloud provider.
    SkipValidation bool
    Skip validation of Kubernetes configuration.
    UsageScopes []KubernetesUsageScopeArgs
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication KubernetesAuthentication
    Authentication configuration for the Kubernetes cluster
    name String
    The name of the cloud provider.
    skipValidation Boolean
    Skip validation of Kubernetes configuration.
    usageScopes List<KubernetesUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication KubernetesAuthentication
    Authentication configuration for the Kubernetes cluster
    name string
    The name of the cloud provider.
    skipValidation boolean
    Skip validation of Kubernetes configuration.
    usageScopes KubernetesUsageScope[]
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication KubernetesAuthenticationArgs
    Authentication configuration for the Kubernetes cluster
    name str
    The name of the cloud provider.
    skip_validation bool
    Skip validation of Kubernetes configuration.
    usage_scopes Sequence[KubernetesUsageScopeArgs]
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication Property Map
    Authentication configuration for the Kubernetes cluster
    name String
    The name of the cloud provider.
    skipValidation Boolean
    Skip validation of Kubernetes configuration.
    usageScopes List<Property Map>
    This block is used for scoping the resource to a specific set of applications or environments.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Kubernetes resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Kubernetes Resource

    Get an existing Kubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KubernetesState, opts?: CustomResourceOptions): Kubernetes
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication: Optional[KubernetesAuthenticationArgs] = None,
            name: Optional[str] = None,
            skip_validation: Optional[bool] = None,
            usage_scopes: Optional[Sequence[KubernetesUsageScopeArgs]] = None) -> Kubernetes
    func GetKubernetes(ctx *Context, name string, id IDInput, state *KubernetesState, opts ...ResourceOption) (*Kubernetes, error)
    public static Kubernetes Get(string name, Input<string> id, KubernetesState? state, CustomResourceOptions? opts = null)
    public static Kubernetes get(String name, Output<String> id, KubernetesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Authentication KubernetesAuthentication
    Authentication configuration for the Kubernetes cluster
    Name string
    The name of the cloud provider.
    SkipValidation bool
    Skip validation of Kubernetes configuration.
    UsageScopes List<KubernetesUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    Authentication KubernetesAuthenticationArgs
    Authentication configuration for the Kubernetes cluster
    Name string
    The name of the cloud provider.
    SkipValidation bool
    Skip validation of Kubernetes configuration.
    UsageScopes []KubernetesUsageScopeArgs
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication KubernetesAuthentication
    Authentication configuration for the Kubernetes cluster
    name String
    The name of the cloud provider.
    skipValidation Boolean
    Skip validation of Kubernetes configuration.
    usageScopes List<KubernetesUsageScope>
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication KubernetesAuthentication
    Authentication configuration for the Kubernetes cluster
    name string
    The name of the cloud provider.
    skipValidation boolean
    Skip validation of Kubernetes configuration.
    usageScopes KubernetesUsageScope[]
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication KubernetesAuthenticationArgs
    Authentication configuration for the Kubernetes cluster
    name str
    The name of the cloud provider.
    skip_validation bool
    Skip validation of Kubernetes configuration.
    usage_scopes Sequence[KubernetesUsageScopeArgs]
    This block is used for scoping the resource to a specific set of applications or environments.
    authentication Property Map
    Authentication configuration for the Kubernetes cluster
    name String
    The name of the cloud provider.
    skipValidation Boolean
    Skip validation of Kubernetes configuration.
    usageScopes List<Property Map>
    This block is used for scoping the resource to a specific set of applications or environments.

    Supporting Types

    KubernetesAuthentication, KubernetesAuthenticationArgs

    DelegateSelectors List<string>
    Delegate selectors to inherit the GCP credentials from.
    Oidc KubernetesAuthenticationOidc
    Service account configuration for connecting to the Kubernetes cluster
    ServiceAccount KubernetesAuthenticationServiceAccount
    Username and password for authentication to the cluster
    UsernamePassword KubernetesAuthenticationUsernamePassword
    Username and password for authentication to the cluster
    DelegateSelectors []string
    Delegate selectors to inherit the GCP credentials from.
    Oidc KubernetesAuthenticationOidc
    Service account configuration for connecting to the Kubernetes cluster
    ServiceAccount KubernetesAuthenticationServiceAccount
    Username and password for authentication to the cluster
    UsernamePassword KubernetesAuthenticationUsernamePassword
    Username and password for authentication to the cluster
    delegateSelectors List<String>
    Delegate selectors to inherit the GCP credentials from.
    oidc KubernetesAuthenticationOidc
    Service account configuration for connecting to the Kubernetes cluster
    serviceAccount KubernetesAuthenticationServiceAccount
    Username and password for authentication to the cluster
    usernamePassword KubernetesAuthenticationUsernamePassword
    Username and password for authentication to the cluster
    delegateSelectors string[]
    Delegate selectors to inherit the GCP credentials from.
    oidc KubernetesAuthenticationOidc
    Service account configuration for connecting to the Kubernetes cluster
    serviceAccount KubernetesAuthenticationServiceAccount
    Username and password for authentication to the cluster
    usernamePassword KubernetesAuthenticationUsernamePassword
    Username and password for authentication to the cluster
    delegate_selectors Sequence[str]
    Delegate selectors to inherit the GCP credentials from.
    oidc KubernetesAuthenticationOidc
    Service account configuration for connecting to the Kubernetes cluster
    service_account KubernetesAuthenticationServiceAccount
    Username and password for authentication to the cluster
    username_password KubernetesAuthenticationUsernamePassword
    Username and password for authentication to the cluster
    delegateSelectors List<String>
    Delegate selectors to inherit the GCP credentials from.
    oidc Property Map
    Service account configuration for connecting to the Kubernetes cluster
    serviceAccount Property Map
    Username and password for authentication to the cluster
    usernamePassword Property Map
    Username and password for authentication to the cluster

    KubernetesAuthenticationOidc, KubernetesAuthenticationOidcArgs

    ClientIdSecretName string
    Name of the Harness secret containing the client ID for the cluster.
    IdentityProviderUrl string
    URL of the identity provider to use.
    MasterUrl string
    URL of the Kubernetes master to connect to.
    PasswordSecretName string
    Name of the Harness secret containing the password for the cluster.
    Username string
    Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
    ClientSecretSecretName string
    Name of the Harness secret containing the client secret for the cluster.
    Scopes List<string>
    Scopes to request from the identity provider.
    ClientIdSecretName string
    Name of the Harness secret containing the client ID for the cluster.
    IdentityProviderUrl string
    URL of the identity provider to use.
    MasterUrl string
    URL of the Kubernetes master to connect to.
    PasswordSecretName string
    Name of the Harness secret containing the password for the cluster.
    Username string
    Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
    ClientSecretSecretName string
    Name of the Harness secret containing the client secret for the cluster.
    Scopes []string
    Scopes to request from the identity provider.
    clientIdSecretName String
    Name of the Harness secret containing the client ID for the cluster.
    identityProviderUrl String
    URL of the identity provider to use.
    masterUrl String
    URL of the Kubernetes master to connect to.
    passwordSecretName String
    Name of the Harness secret containing the password for the cluster.
    username String
    Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
    clientSecretSecretName String
    Name of the Harness secret containing the client secret for the cluster.
    scopes List<String>
    Scopes to request from the identity provider.
    clientIdSecretName string
    Name of the Harness secret containing the client ID for the cluster.
    identityProviderUrl string
    URL of the identity provider to use.
    masterUrl string
    URL of the Kubernetes master to connect to.
    passwordSecretName string
    Name of the Harness secret containing the password for the cluster.
    username string
    Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
    clientSecretSecretName string
    Name of the Harness secret containing the client secret for the cluster.
    scopes string[]
    Scopes to request from the identity provider.
    client_id_secret_name str
    Name of the Harness secret containing the client ID for the cluster.
    identity_provider_url str
    URL of the identity provider to use.
    master_url str
    URL of the Kubernetes master to connect to.
    password_secret_name str
    Name of the Harness secret containing the password for the cluster.
    username str
    Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
    client_secret_secret_name str
    Name of the Harness secret containing the client secret for the cluster.
    scopes Sequence[str]
    Scopes to request from the identity provider.
    clientIdSecretName String
    Name of the Harness secret containing the client ID for the cluster.
    identityProviderUrl String
    URL of the identity provider to use.
    masterUrl String
    URL of the Kubernetes master to connect to.
    passwordSecretName String
    Name of the Harness secret containing the password for the cluster.
    username String
    Username for authentication to the cluster. This can be the username itself or the ID of a harness secret.
    clientSecretSecretName String
    Name of the Harness secret containing the client secret for the cluster.
    scopes List<String>
    Scopes to request from the identity provider.

    KubernetesAuthenticationServiceAccount, KubernetesAuthenticationServiceAccountArgs

    MasterUrl string
    URL of the Kubernetes master to connect to.
    ServiceAccountTokenSecretName string
    Name of the Harness secret containing the service account token for the cluster.
    CaCertificateSecretName string
    Name of the Harness secret containing the CA certificate for the cluster.
    MasterUrl string
    URL of the Kubernetes master to connect to.
    ServiceAccountTokenSecretName string
    Name of the Harness secret containing the service account token for the cluster.
    CaCertificateSecretName string
    Name of the Harness secret containing the CA certificate for the cluster.
    masterUrl String
    URL of the Kubernetes master to connect to.
    serviceAccountTokenSecretName String
    Name of the Harness secret containing the service account token for the cluster.
    caCertificateSecretName String
    Name of the Harness secret containing the CA certificate for the cluster.
    masterUrl string
    URL of the Kubernetes master to connect to.
    serviceAccountTokenSecretName string
    Name of the Harness secret containing the service account token for the cluster.
    caCertificateSecretName string
    Name of the Harness secret containing the CA certificate for the cluster.
    master_url str
    URL of the Kubernetes master to connect to.
    service_account_token_secret_name str
    Name of the Harness secret containing the service account token for the cluster.
    ca_certificate_secret_name str
    Name of the Harness secret containing the CA certificate for the cluster.
    masterUrl String
    URL of the Kubernetes master to connect to.
    serviceAccountTokenSecretName String
    Name of the Harness secret containing the service account token for the cluster.
    caCertificateSecretName String
    Name of the Harness secret containing the CA certificate for the cluster.

    KubernetesAuthenticationUsernamePassword, KubernetesAuthenticationUsernamePasswordArgs

    MasterUrl string
    URL of the Kubernetes master to connect to.
    PasswordSecretName string
    Name of the Harness secret containing the password for the cluster.
    Username string
    Username for authentication to the cluster
    UsernameSecretName string
    Name of the Harness secret containing the username for authentication to the cluster
    MasterUrl string
    URL of the Kubernetes master to connect to.
    PasswordSecretName string
    Name of the Harness secret containing the password for the cluster.
    Username string
    Username for authentication to the cluster
    UsernameSecretName string
    Name of the Harness secret containing the username for authentication to the cluster
    masterUrl String
    URL of the Kubernetes master to connect to.
    passwordSecretName String
    Name of the Harness secret containing the password for the cluster.
    username String
    Username for authentication to the cluster
    usernameSecretName String
    Name of the Harness secret containing the username for authentication to the cluster
    masterUrl string
    URL of the Kubernetes master to connect to.
    passwordSecretName string
    Name of the Harness secret containing the password for the cluster.
    username string
    Username for authentication to the cluster
    usernameSecretName string
    Name of the Harness secret containing the username for authentication to the cluster
    master_url str
    URL of the Kubernetes master to connect to.
    password_secret_name str
    Name of the Harness secret containing the password for the cluster.
    username str
    Username for authentication to the cluster
    username_secret_name str
    Name of the Harness secret containing the username for authentication to the cluster
    masterUrl String
    URL of the Kubernetes master to connect to.
    passwordSecretName String
    Name of the Harness secret containing the password for the cluster.
    username String
    Username for authentication to the cluster
    usernameSecretName String
    Name of the Harness secret containing the username for authentication to the cluster

    KubernetesUsageScope, KubernetesUsageScopeArgs

    ApplicationId string
    Id of the application to scope to. If empty then this scope applies to all applications.
    EnvironmentFilterType string
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    EnvironmentId string
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    ApplicationId string
    Id of the application to scope to. If empty then this scope applies to all applications.
    EnvironmentFilterType string
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    EnvironmentId string
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    applicationId String
    Id of the application to scope to. If empty then this scope applies to all applications.
    environmentFilterType String
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environmentId String
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    applicationId string
    Id of the application to scope to. If empty then this scope applies to all applications.
    environmentFilterType string
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environmentId string
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    application_id str
    Id of the application to scope to. If empty then this scope applies to all applications.
    environment_filter_type str
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environment_id str
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.
    applicationId String
    Id of the application to scope to. If empty then this scope applies to all applications.
    environmentFilterType String
    Type of environment filter applied. Cannot be used with environment_id. Valid options are NONPRODUCTIONENVIRONMENTS, PRODUCTION_ENVIRONMENTS.
    environmentId String
    Id of the id of the specific environment to scope to. Cannot be used with environment_filter_type.

    Import

    Import using the Harness kubernetes cloud provider id.

    $ pulumi import harness:cloudprovider/kubernetes:Kubernetes example <provider_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.2.1 published on Friday, Jul 26, 2024 by Pulumi