1. Packages
  2. Akeyless Provider
  3. API Docs
  4. TargetGke
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.TargetGke

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    GKE Target resource

    Create TargetGke Resource

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

    Constructor syntax

    new TargetGke(name: string, args?: TargetGkeArgs, opts?: CustomResourceOptions);
    @overload
    def TargetGke(resource_name: str,
                  args: Optional[TargetGkeArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def TargetGke(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  description: Optional[str] = None,
                  gke_account_key: Optional[str] = None,
                  gke_cluster_cert: Optional[str] = None,
                  gke_cluster_endpoint: Optional[str] = None,
                  gke_cluster_name: Optional[str] = None,
                  gke_service_account_email: Optional[str] = None,
                  key: Optional[str] = None,
                  name: Optional[str] = None,
                  target_gke_id: Optional[str] = None,
                  use_gw_cloud_identity: Optional[bool] = None)
    func NewTargetGke(ctx *Context, name string, args *TargetGkeArgs, opts ...ResourceOption) (*TargetGke, error)
    public TargetGke(string name, TargetGkeArgs? args = null, CustomResourceOptions? opts = null)
    public TargetGke(String name, TargetGkeArgs args)
    public TargetGke(String name, TargetGkeArgs args, CustomResourceOptions options)
    
    type: akeyless:TargetGke
    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 TargetGkeArgs
    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 TargetGkeArgs
    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 TargetGkeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TargetGkeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TargetGkeArgs
    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 targetGkeResource = new Akeyless.TargetGke("targetGkeResource", new()
    {
        Description = "string",
        GkeAccountKey = "string",
        GkeClusterCert = "string",
        GkeClusterEndpoint = "string",
        GkeClusterName = "string",
        GkeServiceAccountEmail = "string",
        Key = "string",
        Name = "string",
        TargetGkeId = "string",
        UseGwCloudIdentity = false,
    });
    
    example, err := akeyless.NewTargetGke(ctx, "targetGkeResource", &akeyless.TargetGkeArgs{
    	Description:            pulumi.String("string"),
    	GkeAccountKey:          pulumi.String("string"),
    	GkeClusterCert:         pulumi.String("string"),
    	GkeClusterEndpoint:     pulumi.String("string"),
    	GkeClusterName:         pulumi.String("string"),
    	GkeServiceAccountEmail: pulumi.String("string"),
    	Key:                    pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	TargetGkeId:            pulumi.String("string"),
    	UseGwCloudIdentity:     pulumi.Bool(false),
    })
    
    var targetGkeResource = new TargetGke("targetGkeResource", TargetGkeArgs.builder()
        .description("string")
        .gkeAccountKey("string")
        .gkeClusterCert("string")
        .gkeClusterEndpoint("string")
        .gkeClusterName("string")
        .gkeServiceAccountEmail("string")
        .key("string")
        .name("string")
        .targetGkeId("string")
        .useGwCloudIdentity(false)
        .build());
    
    target_gke_resource = akeyless.TargetGke("targetGkeResource",
        description="string",
        gke_account_key="string",
        gke_cluster_cert="string",
        gke_cluster_endpoint="string",
        gke_cluster_name="string",
        gke_service_account_email="string",
        key="string",
        name="string",
        target_gke_id="string",
        use_gw_cloud_identity=False)
    
    const targetGkeResource = new akeyless.TargetGke("targetGkeResource", {
        description: "string",
        gkeAccountKey: "string",
        gkeClusterCert: "string",
        gkeClusterEndpoint: "string",
        gkeClusterName: "string",
        gkeServiceAccountEmail: "string",
        key: "string",
        name: "string",
        targetGkeId: "string",
        useGwCloudIdentity: false,
    });
    
    type: akeyless:TargetGke
    properties:
        description: string
        gkeAccountKey: string
        gkeClusterCert: string
        gkeClusterEndpoint: string
        gkeClusterName: string
        gkeServiceAccountEmail: string
        key: string
        name: string
        targetGkeId: string
        useGwCloudIdentity: false
    

    TargetGke Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The TargetGke resource accepts the following input properties:

    Description string
    Description of the object
    GkeAccountKey string
    GKE service account key
    GkeClusterCert string
    GKE Base-64 encoded cluster certificate
    GkeClusterEndpoint string
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    GkeClusterName string
    GKE cluster name
    GkeServiceAccountEmail string
    GKE service account email
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    Name string
    Target name
    TargetGkeId string
    The ID of this resource.
    UseGwCloudIdentity bool
    Use the GW's Cloud IAM
    Description string
    Description of the object
    GkeAccountKey string
    GKE service account key
    GkeClusterCert string
    GKE Base-64 encoded cluster certificate
    GkeClusterEndpoint string
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    GkeClusterName string
    GKE cluster name
    GkeServiceAccountEmail string
    GKE service account email
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    Name string
    Target name
    TargetGkeId string
    The ID of this resource.
    UseGwCloudIdentity bool
    Use the GW's Cloud IAM
    description String
    Description of the object
    gkeAccountKey String
    GKE service account key
    gkeClusterCert String
    GKE Base-64 encoded cluster certificate
    gkeClusterEndpoint String
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gkeClusterName String
    GKE cluster name
    gkeServiceAccountEmail String
    GKE service account email
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name String
    Target name
    targetGkeId String
    The ID of this resource.
    useGwCloudIdentity Boolean
    Use the GW's Cloud IAM
    description string
    Description of the object
    gkeAccountKey string
    GKE service account key
    gkeClusterCert string
    GKE Base-64 encoded cluster certificate
    gkeClusterEndpoint string
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gkeClusterName string
    GKE cluster name
    gkeServiceAccountEmail string
    GKE service account email
    key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name string
    Target name
    targetGkeId string
    The ID of this resource.
    useGwCloudIdentity boolean
    Use the GW's Cloud IAM
    description str
    Description of the object
    gke_account_key str
    GKE service account key
    gke_cluster_cert str
    GKE Base-64 encoded cluster certificate
    gke_cluster_endpoint str
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gke_cluster_name str
    GKE cluster name
    gke_service_account_email str
    GKE service account email
    key str
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name str
    Target name
    target_gke_id str
    The ID of this resource.
    use_gw_cloud_identity bool
    Use the GW's Cloud IAM
    description String
    Description of the object
    gkeAccountKey String
    GKE service account key
    gkeClusterCert String
    GKE Base-64 encoded cluster certificate
    gkeClusterEndpoint String
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gkeClusterName String
    GKE cluster name
    gkeServiceAccountEmail String
    GKE service account email
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name String
    Target name
    targetGkeId String
    The ID of this resource.
    useGwCloudIdentity Boolean
    Use the GW's Cloud IAM

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TargetGke 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 TargetGke Resource

    Get an existing TargetGke 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?: TargetGkeState, opts?: CustomResourceOptions): TargetGke
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            gke_account_key: Optional[str] = None,
            gke_cluster_cert: Optional[str] = None,
            gke_cluster_endpoint: Optional[str] = None,
            gke_cluster_name: Optional[str] = None,
            gke_service_account_email: Optional[str] = None,
            key: Optional[str] = None,
            name: Optional[str] = None,
            target_gke_id: Optional[str] = None,
            use_gw_cloud_identity: Optional[bool] = None) -> TargetGke
    func GetTargetGke(ctx *Context, name string, id IDInput, state *TargetGkeState, opts ...ResourceOption) (*TargetGke, error)
    public static TargetGke Get(string name, Input<string> id, TargetGkeState? state, CustomResourceOptions? opts = null)
    public static TargetGke get(String name, Output<String> id, TargetGkeState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:TargetGke    get:      id: ${id}
    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:
    Description string
    Description of the object
    GkeAccountKey string
    GKE service account key
    GkeClusterCert string
    GKE Base-64 encoded cluster certificate
    GkeClusterEndpoint string
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    GkeClusterName string
    GKE cluster name
    GkeServiceAccountEmail string
    GKE service account email
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    Name string
    Target name
    TargetGkeId string
    The ID of this resource.
    UseGwCloudIdentity bool
    Use the GW's Cloud IAM
    Description string
    Description of the object
    GkeAccountKey string
    GKE service account key
    GkeClusterCert string
    GKE Base-64 encoded cluster certificate
    GkeClusterEndpoint string
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    GkeClusterName string
    GKE cluster name
    GkeServiceAccountEmail string
    GKE service account email
    Key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    Name string
    Target name
    TargetGkeId string
    The ID of this resource.
    UseGwCloudIdentity bool
    Use the GW's Cloud IAM
    description String
    Description of the object
    gkeAccountKey String
    GKE service account key
    gkeClusterCert String
    GKE Base-64 encoded cluster certificate
    gkeClusterEndpoint String
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gkeClusterName String
    GKE cluster name
    gkeServiceAccountEmail String
    GKE service account email
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name String
    Target name
    targetGkeId String
    The ID of this resource.
    useGwCloudIdentity Boolean
    Use the GW's Cloud IAM
    description string
    Description of the object
    gkeAccountKey string
    GKE service account key
    gkeClusterCert string
    GKE Base-64 encoded cluster certificate
    gkeClusterEndpoint string
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gkeClusterName string
    GKE cluster name
    gkeServiceAccountEmail string
    GKE service account email
    key string
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name string
    Target name
    targetGkeId string
    The ID of this resource.
    useGwCloudIdentity boolean
    Use the GW's Cloud IAM
    description str
    Description of the object
    gke_account_key str
    GKE service account key
    gke_cluster_cert str
    GKE Base-64 encoded cluster certificate
    gke_cluster_endpoint str
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gke_cluster_name str
    GKE cluster name
    gke_service_account_email str
    GKE service account email
    key str
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name str
    Target name
    target_gke_id str
    The ID of this resource.
    use_gw_cloud_identity bool
    Use the GW's Cloud IAM
    description String
    Description of the object
    gkeAccountKey String
    GKE service account key
    gkeClusterCert String
    GKE Base-64 encoded cluster certificate
    gkeClusterEndpoint String
    GKE cluster endpoint, i.e., cluster URI https://\n\n.
    gkeClusterName String
    GKE cluster name
    gkeServiceAccountEmail String
    GKE service account email
    key String
    Key name. The key will be used to encrypt the target secret value. If key name is not specified, the account default protection key is used
    name String
    Target name
    targetGkeId String
    The ID of this resource.
    useGwCloudIdentity Boolean
    Use the GW's Cloud IAM

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community