akeyless.TargetGke
Explore with Pulumi AI
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
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - 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
- Target
Gke stringId - The ID of this resource.
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- Description string
- Description of the object
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - 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
- Target
Gke stringId - The ID of this resource.
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- description String
- Description of the object
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - 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
- target
Gke StringId - The ID of this resource.
- use
Gw BooleanCloud Identity - Use the GW's Cloud IAM
- description string
- Description of the object
- gke
Account stringKey - GKE service account key
- gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster stringName - GKE cluster name
- gke
Service stringAccount Email - 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
- target
Gke stringId - The ID of this resource.
- use
Gw booleanCloud Identity - Use the GW's Cloud IAM
- description str
- Description of the object
- gke_
account_ strkey - GKE service account key
- gke_
cluster_ strcert - GKE Base-64 encoded cluster certificate
- gke_
cluster_ strendpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke_
cluster_ strname - GKE cluster name
- gke_
service_ straccount_ email - 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_ strid - The ID of this resource.
- use_
gw_ boolcloud_ identity - Use the GW's Cloud IAM
- description String
- Description of the object
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - 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
- target
Gke StringId - The ID of this resource.
- use
Gw BooleanCloud Identity - 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.
- Description string
- Description of the object
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - 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
- Target
Gke stringId - The ID of this resource.
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- Description string
- Description of the object
- Gke
Account stringKey - GKE service account key
- Gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- Gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- Gke
Cluster stringName - GKE cluster name
- Gke
Service stringAccount Email - 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
- Target
Gke stringId - The ID of this resource.
- Use
Gw boolCloud Identity - Use the GW's Cloud IAM
- description String
- Description of the object
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - 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
- target
Gke StringId - The ID of this resource.
- use
Gw BooleanCloud Identity - Use the GW's Cloud IAM
- description string
- Description of the object
- gke
Account stringKey - GKE service account key
- gke
Cluster stringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster stringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster stringName - GKE cluster name
- gke
Service stringAccount Email - 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
- target
Gke stringId - The ID of this resource.
- use
Gw booleanCloud Identity - Use the GW's Cloud IAM
- description str
- Description of the object
- gke_
account_ strkey - GKE service account key
- gke_
cluster_ strcert - GKE Base-64 encoded cluster certificate
- gke_
cluster_ strendpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke_
cluster_ strname - GKE cluster name
- gke_
service_ straccount_ email - 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_ strid - The ID of this resource.
- use_
gw_ boolcloud_ identity - Use the GW's Cloud IAM
- description String
- Description of the object
- gke
Account StringKey - GKE service account key
- gke
Cluster StringCert - GKE Base-64 encoded cluster certificate
- gke
Cluster StringEndpoint - GKE cluster endpoint, i.e., cluster URI https://\n\n.
- gke
Cluster StringName - GKE cluster name
- gke
Service StringAccount Email - 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
- target
Gke StringId - The ID of this resource.
- use
Gw BooleanCloud Identity - 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.