Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.vmwareengine/v1.HcxActivationKey
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new HCX activation key in a given private cloud. Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
Create HcxActivationKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HcxActivationKey(name: string, args: HcxActivationKeyArgs, opts?: CustomResourceOptions);
@overload
def HcxActivationKey(resource_name: str,
args: HcxActivationKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HcxActivationKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
hcx_activation_key_id: Optional[str] = None,
private_cloud_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewHcxActivationKey(ctx *Context, name string, args HcxActivationKeyArgs, opts ...ResourceOption) (*HcxActivationKey, error)
public HcxActivationKey(string name, HcxActivationKeyArgs args, CustomResourceOptions? opts = null)
public HcxActivationKey(String name, HcxActivationKeyArgs args)
public HcxActivationKey(String name, HcxActivationKeyArgs args, CustomResourceOptions options)
type: google-native:vmwareengine/v1:HcxActivationKey
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 HcxActivationKeyArgs
- 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 HcxActivationKeyArgs
- 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 HcxActivationKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HcxActivationKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HcxActivationKeyArgs
- 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 hcxActivationKeyResource = new GoogleNative.VMwareEngine.V1.HcxActivationKey("hcxActivationKeyResource", new()
{
HcxActivationKeyId = "string",
PrivateCloudId = "string",
Location = "string",
Project = "string",
RequestId = "string",
});
example, err := vmwareengine.NewHcxActivationKey(ctx, "hcxActivationKeyResource", &vmwareengine.HcxActivationKeyArgs{
HcxActivationKeyId: pulumi.String("string"),
PrivateCloudId: pulumi.String("string"),
Location: pulumi.String("string"),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var hcxActivationKeyResource = new HcxActivationKey("hcxActivationKeyResource", HcxActivationKeyArgs.builder()
.hcxActivationKeyId("string")
.privateCloudId("string")
.location("string")
.project("string")
.requestId("string")
.build());
hcx_activation_key_resource = google_native.vmwareengine.v1.HcxActivationKey("hcxActivationKeyResource",
hcx_activation_key_id="string",
private_cloud_id="string",
location="string",
project="string",
request_id="string")
const hcxActivationKeyResource = new google_native.vmwareengine.v1.HcxActivationKey("hcxActivationKeyResource", {
hcxActivationKeyId: "string",
privateCloudId: "string",
location: "string",
project: "string",
requestId: "string",
});
type: google-native:vmwareengine/v1:HcxActivationKey
properties:
hcxActivationKeyId: string
location: string
privateCloudId: string
project: string
requestId: string
HcxActivationKey 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 HcxActivationKey resource accepts the following input properties:
- Hcx
Activation stringKey Id - Required. The user-provided identifier of the
HcxActivationKey
to be created. This identifier must be unique amongHcxActivationKey
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - Private
Cloud stringId - Location string
- Project string
- Request
Id string - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- Hcx
Activation stringKey Id - Required. The user-provided identifier of the
HcxActivationKey
to be created. This identifier must be unique amongHcxActivationKey
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - Private
Cloud stringId - Location string
- Project string
- Request
Id string - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hcx
Activation StringKey Id - Required. The user-provided identifier of the
HcxActivationKey
to be created. This identifier must be unique amongHcxActivationKey
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - private
Cloud StringId - location String
- project String
- request
Id String - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hcx
Activation stringKey Id - Required. The user-provided identifier of the
HcxActivationKey
to be created. This identifier must be unique amongHcxActivationKey
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - private
Cloud stringId - location string
- project string
- request
Id string - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hcx_
activation_ strkey_ id - Required. The user-provided identifier of the
HcxActivationKey
to be created. This identifier must be unique amongHcxActivationKey
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - private_
cloud_ strid - location str
- project str
- request_
id str - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- hcx
Activation StringKey Id - Required. The user-provided identifier of the
HcxActivationKey
to be created. This identifier must be unique amongHcxActivationKey
resources within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5) - private
Cloud StringId - location String
- project String
- request
Id String - A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the HcxActivationKey resource produces the following output properties:
- Activation
Key string - HCX activation key.
- Create
Time string - Creation time of HCX activation key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
- State string
- State of HCX activation key.
- Uid string
- System-generated unique identifier for the resource.
- Activation
Key string - HCX activation key.
- Create
Time string - Creation time of HCX activation key.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
- State string
- State of HCX activation key.
- Uid string
- System-generated unique identifier for the resource.
- activation
Key String - HCX activation key.
- create
Time String - Creation time of HCX activation key.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
- state String
- State of HCX activation key.
- uid String
- System-generated unique identifier for the resource.
- activation
Key string - HCX activation key.
- create
Time string - Creation time of HCX activation key.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
- state string
- State of HCX activation key.
- uid string
- System-generated unique identifier for the resource.
- activation_
key str - HCX activation key.
- create_
time str - Creation time of HCX activation key.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
- state str
- State of HCX activation key.
- uid str
- System-generated unique identifier for the resource.
- activation
Key String - HCX activation key.
- create
Time String - Creation time of HCX activation key.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource name of this HcxActivationKey. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key
- state String
- State of HCX activation key.
- uid String
- System-generated unique identifier for the resource.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.