1. Packages
  2. Google Cloud Native
  3. API Docs
  4. vmwareengine
  5. vmwareengine/v1
  6. HcxActivationKey

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.vmwareengine/v1.HcxActivationKey

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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 This property is required. string
The unique name of the resource.
args This property is required. HcxActivationKeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. HcxActivationKeyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. HcxActivationKeyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var hcxActivationKeyResource = new HcxActivationKey("hcxActivationKeyResource", HcxActivationKeyArgs.builder()
    .hcxActivationKeyId("string")
    .privateCloudId("string")
    .location("string")
    .project("string")
    .requestId("string")
    .build());
Copy
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")
Copy
const hcxActivationKeyResource = new google_native.vmwareengine.v1.HcxActivationKey("hcxActivationKeyResource", {
    hcxActivationKeyId: "string",
    privateCloudId: "string",
    location: "string",
    project: "string",
    requestId: "string",
});
Copy
type: google-native:vmwareengine/v1:HcxActivationKey
properties:
    hcxActivationKeyId: string
    location: string
    privateCloudId: string
    project: string
    requestId: string
Copy

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:

HcxActivationKeyId
This property is required.
Changes to this property will trigger replacement.
string
Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey 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)
PrivateCloudId
This property is required.
Changes to this property will trigger replacement.
string
Location Changes to this property will trigger replacement. string
Project Changes to this property will trigger replacement. string
RequestId 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).
HcxActivationKeyId
This property is required.
Changes to this property will trigger replacement.
string
Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey 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)
PrivateCloudId
This property is required.
Changes to this property will trigger replacement.
string
Location Changes to this property will trigger replacement. string
Project Changes to this property will trigger replacement. string
RequestId 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).
hcxActivationKeyId
This property is required.
Changes to this property will trigger replacement.
String
Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey 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)
privateCloudId
This property is required.
Changes to this property will trigger replacement.
String
location Changes to this property will trigger replacement. String
project Changes to this property will trigger replacement. String
requestId 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).
hcxActivationKeyId
This property is required.
Changes to this property will trigger replacement.
string
Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey 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)
privateCloudId
This property is required.
Changes to this property will trigger replacement.
string
location Changes to this property will trigger replacement. string
project Changes to this property will trigger replacement. string
requestId 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_key_id
This property is required.
Changes to this property will trigger replacement.
str
Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey 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_id
This property is required.
Changes to this property will trigger replacement.
str
location Changes to this property will trigger replacement. str
project Changes to this property will trigger replacement. 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).
hcxActivationKeyId
This property is required.
Changes to this property will trigger replacement.
String
Required. The user-provided identifier of the HcxActivationKey to be created. This identifier must be unique among HcxActivationKey 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)
privateCloudId
This property is required.
Changes to this property will trigger replacement.
String
location Changes to this property will trigger replacement. String
project Changes to this property will trigger replacement. String
requestId 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:

ActivationKey string
HCX activation key.
CreateTime 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.
ActivationKey string
HCX activation key.
CreateTime 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.
activationKey String
HCX activation key.
createTime 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.
activationKey string
HCX activation key.
createTime 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.
activationKey String
HCX activation key.
createTime 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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi