From 1fd0433ad1e8264b966076bac8ca4c4b439cadd5 Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Tue, 17 Oct 2023 10:35:00 -0400 Subject: [PATCH] feat!: update CDKTF version to `0.19.0` (#410) Triggered by https://github.com/cdktf/cdktf-repository-manager/actions/runs/6546682528 --- .../workflows/auto-close-community-issues.yml | 2 + .../workflows/auto-close-community-prs.yml | 2 + .projen/deps.json | 6 +- .projenrc.js | 2 +- docs/awsNetworkPeering.csharp.md | 106 ++++++++++++++ docs/awsNetworkPeering.go.md | 106 ++++++++++++++ docs/awsNetworkPeering.java.md | 108 ++++++++++++++ docs/awsNetworkPeering.python.md | 119 +++++++++++++++ docs/awsNetworkPeering.typescript.md | 106 ++++++++++++++ docs/awsTransitGatewayAttachment.csharp.md | 106 ++++++++++++++ docs/awsTransitGatewayAttachment.go.md | 106 ++++++++++++++ docs/awsTransitGatewayAttachment.java.md | 108 ++++++++++++++ docs/awsTransitGatewayAttachment.python.md | 119 +++++++++++++++ .../awsTransitGatewayAttachment.typescript.md | 106 ++++++++++++++ docs/azurePeeringConnection.csharp.md | 106 ++++++++++++++ docs/azurePeeringConnection.go.md | 106 ++++++++++++++ docs/azurePeeringConnection.java.md | 108 ++++++++++++++ docs/azurePeeringConnection.python.md | 119 +++++++++++++++ docs/azurePeeringConnection.typescript.md | 106 ++++++++++++++ docs/boundaryCluster.csharp.md | 106 ++++++++++++++ docs/boundaryCluster.go.md | 106 ++++++++++++++ docs/boundaryCluster.java.md | 108 ++++++++++++++ docs/boundaryCluster.python.md | 119 +++++++++++++++ docs/boundaryCluster.typescript.md | 106 ++++++++++++++ docs/consulCluster.csharp.md | 106 ++++++++++++++ docs/consulCluster.go.md | 106 ++++++++++++++ docs/consulCluster.java.md | 108 ++++++++++++++ docs/consulCluster.python.md | 119 +++++++++++++++ docs/consulCluster.typescript.md | 106 ++++++++++++++ docs/consulClusterRootToken.csharp.md | 106 ++++++++++++++ docs/consulClusterRootToken.go.md | 106 ++++++++++++++ docs/consulClusterRootToken.java.md | 108 ++++++++++++++ docs/consulClusterRootToken.python.md | 119 +++++++++++++++ docs/consulClusterRootToken.typescript.md | 106 ++++++++++++++ docs/consulSnapshot.csharp.md | 106 ++++++++++++++ docs/consulSnapshot.go.md | 106 ++++++++++++++ docs/consulSnapshot.java.md | 108 ++++++++++++++ docs/consulSnapshot.python.md | 119 +++++++++++++++ docs/consulSnapshot.typescript.md | 106 ++++++++++++++ docs/dataHcpAwsNetworkPeering.csharp.md | 45 ++++++ docs/dataHcpAwsNetworkPeering.go.md | 45 ++++++ docs/dataHcpAwsNetworkPeering.java.md | 45 ++++++ docs/dataHcpAwsNetworkPeering.python.md | 50 +++++++ docs/dataHcpAwsNetworkPeering.typescript.md | 45 ++++++ ...taHcpAwsTransitGatewayAttachment.csharp.md | 45 ++++++ docs/dataHcpAwsTransitGatewayAttachment.go.md | 45 ++++++ ...dataHcpAwsTransitGatewayAttachment.java.md | 45 ++++++ ...taHcpAwsTransitGatewayAttachment.python.md | 50 +++++++ ...pAwsTransitGatewayAttachment.typescript.md | 45 ++++++ docs/dataHcpAzurePeeringConnection.csharp.md | 45 ++++++ docs/dataHcpAzurePeeringConnection.go.md | 45 ++++++ docs/dataHcpAzurePeeringConnection.java.md | 45 ++++++ docs/dataHcpAzurePeeringConnection.python.md | 50 +++++++ ...ataHcpAzurePeeringConnection.typescript.md | 45 ++++++ docs/dataHcpBoundaryCluster.csharp.md | 45 ++++++ docs/dataHcpBoundaryCluster.go.md | 45 ++++++ docs/dataHcpBoundaryCluster.java.md | 45 ++++++ docs/dataHcpBoundaryCluster.python.md | 50 +++++++ docs/dataHcpBoundaryCluster.typescript.md | 45 ++++++ docs/dataHcpConsulAgentHelmConfig.csharp.md | 45 ++++++ docs/dataHcpConsulAgentHelmConfig.go.md | 45 ++++++ docs/dataHcpConsulAgentHelmConfig.java.md | 45 ++++++ docs/dataHcpConsulAgentHelmConfig.python.md | 50 +++++++ ...dataHcpConsulAgentHelmConfig.typescript.md | 45 ++++++ ...taHcpConsulAgentKubernetesSecret.csharp.md | 45 ++++++ docs/dataHcpConsulAgentKubernetesSecret.go.md | 45 ++++++ ...dataHcpConsulAgentKubernetesSecret.java.md | 45 ++++++ ...taHcpConsulAgentKubernetesSecret.python.md | 50 +++++++ ...pConsulAgentKubernetesSecret.typescript.md | 45 ++++++ docs/dataHcpConsulCluster.csharp.md | 45 ++++++ docs/dataHcpConsulCluster.go.md | 45 ++++++ docs/dataHcpConsulCluster.java.md | 45 ++++++ docs/dataHcpConsulCluster.python.md | 50 +++++++ docs/dataHcpConsulCluster.typescript.md | 45 ++++++ docs/dataHcpConsulVersions.csharp.md | 45 ++++++ docs/dataHcpConsulVersions.go.md | 45 ++++++ docs/dataHcpConsulVersions.java.md | 45 ++++++ docs/dataHcpConsulVersions.python.md | 50 +++++++ docs/dataHcpConsulVersions.typescript.md | 45 ++++++ docs/dataHcpHvn.csharp.md | 45 ++++++ docs/dataHcpHvn.go.md | 45 ++++++ docs/dataHcpHvn.java.md | 45 ++++++ docs/dataHcpHvn.python.md | 50 +++++++ docs/dataHcpHvn.typescript.md | 45 ++++++ docs/dataHcpHvnPeeringConnection.csharp.md | 45 ++++++ docs/dataHcpHvnPeeringConnection.go.md | 45 ++++++ docs/dataHcpHvnPeeringConnection.java.md | 45 ++++++ docs/dataHcpHvnPeeringConnection.python.md | 50 +++++++ .../dataHcpHvnPeeringConnection.typescript.md | 45 ++++++ docs/dataHcpHvnRoute.csharp.md | 45 ++++++ docs/dataHcpHvnRoute.go.md | 45 ++++++ docs/dataHcpHvnRoute.java.md | 45 ++++++ docs/dataHcpHvnRoute.python.md | 50 +++++++ docs/dataHcpHvnRoute.typescript.md | 45 ++++++ docs/dataHcpOrganization.csharp.md | 45 ++++++ docs/dataHcpOrganization.go.md | 45 ++++++ docs/dataHcpOrganization.java.md | 45 ++++++ docs/dataHcpOrganization.python.md | 50 +++++++ docs/dataHcpOrganization.typescript.md | 45 ++++++ docs/dataHcpPackerBucketNames.csharp.md | 45 ++++++ docs/dataHcpPackerBucketNames.go.md | 45 ++++++ docs/dataHcpPackerBucketNames.java.md | 45 ++++++ docs/dataHcpPackerBucketNames.python.md | 50 +++++++ docs/dataHcpPackerBucketNames.typescript.md | 45 ++++++ docs/dataHcpPackerImage.csharp.md | 45 ++++++ docs/dataHcpPackerImage.go.md | 45 ++++++ docs/dataHcpPackerImage.java.md | 45 ++++++ docs/dataHcpPackerImage.python.md | 50 +++++++ docs/dataHcpPackerImage.typescript.md | 45 ++++++ docs/dataHcpPackerIteration.csharp.md | 45 ++++++ docs/dataHcpPackerIteration.go.md | 45 ++++++ docs/dataHcpPackerIteration.java.md | 45 ++++++ docs/dataHcpPackerIteration.python.md | 50 +++++++ docs/dataHcpPackerIteration.typescript.md | 45 ++++++ docs/dataHcpPackerRunTask.csharp.md | 45 ++++++ docs/dataHcpPackerRunTask.go.md | 45 ++++++ docs/dataHcpPackerRunTask.java.md | 45 ++++++ docs/dataHcpPackerRunTask.python.md | 50 +++++++ docs/dataHcpPackerRunTask.typescript.md | 45 ++++++ docs/dataHcpProject.csharp.md | 45 ++++++ docs/dataHcpProject.go.md | 45 ++++++ docs/dataHcpProject.java.md | 45 ++++++ docs/dataHcpProject.python.md | 50 +++++++ docs/dataHcpProject.typescript.md | 45 ++++++ docs/dataHcpVaultCluster.csharp.md | 45 ++++++ docs/dataHcpVaultCluster.go.md | 45 ++++++ docs/dataHcpVaultCluster.java.md | 45 ++++++ docs/dataHcpVaultCluster.python.md | 50 +++++++ docs/dataHcpVaultCluster.typescript.md | 45 ++++++ docs/dataHcpVaultPlugin.csharp.md | 45 ++++++ docs/dataHcpVaultPlugin.go.md | 45 ++++++ docs/dataHcpVaultPlugin.java.md | 45 ++++++ docs/dataHcpVaultPlugin.python.md | 50 +++++++ docs/dataHcpVaultPlugin.typescript.md | 45 ++++++ docs/dataHcpVaultSecretsApp.csharp.md | 45 ++++++ docs/dataHcpVaultSecretsApp.go.md | 45 ++++++ docs/dataHcpVaultSecretsApp.java.md | 45 ++++++ docs/dataHcpVaultSecretsApp.python.md | 50 +++++++ docs/dataHcpVaultSecretsApp.typescript.md | 45 ++++++ docs/dataHcpVaultSecretsSecret.csharp.md | 45 ++++++ docs/dataHcpVaultSecretsSecret.go.md | 45 ++++++ docs/dataHcpVaultSecretsSecret.java.md | 45 ++++++ docs/dataHcpVaultSecretsSecret.python.md | 50 +++++++ docs/dataHcpVaultSecretsSecret.typescript.md | 45 ++++++ docs/hvn.csharp.md | 106 ++++++++++++++ docs/hvn.go.md | 106 ++++++++++++++ docs/hvn.java.md | 108 ++++++++++++++ docs/hvn.python.md | 119 +++++++++++++++ docs/hvn.typescript.md | 106 ++++++++++++++ docs/hvnPeeringConnection.csharp.md | 106 ++++++++++++++ docs/hvnPeeringConnection.go.md | 106 ++++++++++++++ docs/hvnPeeringConnection.java.md | 108 ++++++++++++++ docs/hvnPeeringConnection.python.md | 119 +++++++++++++++ docs/hvnPeeringConnection.typescript.md | 106 ++++++++++++++ docs/hvnRoute.csharp.md | 106 ++++++++++++++ docs/hvnRoute.go.md | 106 ++++++++++++++ docs/hvnRoute.java.md | 108 ++++++++++++++ docs/hvnRoute.python.md | 119 +++++++++++++++ docs/hvnRoute.typescript.md | 106 ++++++++++++++ docs/packerChannel.csharp.md | 106 ++++++++++++++ docs/packerChannel.go.md | 106 ++++++++++++++ docs/packerChannel.java.md | 108 ++++++++++++++ docs/packerChannel.python.md | 119 +++++++++++++++ docs/packerChannel.typescript.md | 106 ++++++++++++++ docs/packerChannelAssignment.csharp.md | 106 ++++++++++++++ docs/packerChannelAssignment.go.md | 106 ++++++++++++++ docs/packerChannelAssignment.java.md | 108 ++++++++++++++ docs/packerChannelAssignment.python.md | 119 +++++++++++++++ docs/packerChannelAssignment.typescript.md | 106 ++++++++++++++ docs/packerRunTask.csharp.md | 106 ++++++++++++++ docs/packerRunTask.go.md | 106 ++++++++++++++ docs/packerRunTask.java.md | 108 ++++++++++++++ docs/packerRunTask.python.md | 119 +++++++++++++++ docs/packerRunTask.typescript.md | 106 ++++++++++++++ docs/project.csharp.md | 106 ++++++++++++++ docs/project.go.md | 106 ++++++++++++++ docs/project.java.md | 108 ++++++++++++++ docs/project.python.md | 119 +++++++++++++++ docs/project.typescript.md | 106 ++++++++++++++ docs/provider.csharp.md | 45 ++++++ docs/provider.go.md | 45 ++++++ docs/provider.java.md | 45 ++++++ docs/provider.python.md | 50 +++++++ docs/provider.typescript.md | 45 ++++++ docs/vaultCluster.csharp.md | 106 ++++++++++++++ docs/vaultCluster.go.md | 106 ++++++++++++++ docs/vaultCluster.java.md | 108 ++++++++++++++ docs/vaultCluster.python.md | 119 +++++++++++++++ docs/vaultCluster.typescript.md | 106 ++++++++++++++ docs/vaultClusterAdminToken.csharp.md | 106 ++++++++++++++ docs/vaultClusterAdminToken.go.md | 106 ++++++++++++++ docs/vaultClusterAdminToken.java.md | 108 ++++++++++++++ docs/vaultClusterAdminToken.python.md | 119 +++++++++++++++ docs/vaultClusterAdminToken.typescript.md | 106 ++++++++++++++ docs/vaultPlugin.csharp.md | 106 ++++++++++++++ docs/vaultPlugin.go.md | 106 ++++++++++++++ docs/vaultPlugin.java.md | 108 ++++++++++++++ docs/vaultPlugin.python.md | 119 +++++++++++++++ docs/vaultPlugin.typescript.md | 106 ++++++++++++++ docs/vaultSecretsApp.csharp.md | 106 ++++++++++++++ docs/vaultSecretsApp.go.md | 106 ++++++++++++++ docs/vaultSecretsApp.java.md | 108 ++++++++++++++ docs/vaultSecretsApp.python.md | 119 +++++++++++++++ docs/vaultSecretsApp.typescript.md | 106 ++++++++++++++ docs/vaultSecretsSecret.csharp.md | 106 ++++++++++++++ docs/vaultSecretsSecret.go.md | 106 ++++++++++++++ docs/vaultSecretsSecret.java.md | 108 ++++++++++++++ docs/vaultSecretsSecret.python.md | 119 +++++++++++++++ docs/vaultSecretsSecret.typescript.md | 106 ++++++++++++++ package.json | 8 +- src/aws-network-peering/index.ts | 14 ++ src/aws-transit-gateway-attachment/index.ts | 14 ++ src/azure-peering-connection/index.ts | 14 ++ src/boundary-cluster/index.ts | 14 ++ src/consul-cluster-root-token/index.ts | 14 ++ src/consul-cluster/index.ts | 14 ++ src/consul-snapshot/index.ts | 14 ++ src/data-hcp-aws-network-peering/index.ts | 14 ++ .../index.ts | 14 ++ .../index.ts | 14 ++ src/data-hcp-boundary-cluster/index.ts | 14 ++ .../index.ts | 14 ++ .../index.ts | 14 ++ src/data-hcp-consul-cluster/index.ts | 14 ++ src/data-hcp-consul-versions/index.ts | 14 ++ src/data-hcp-hvn-peering-connection/index.ts | 14 ++ src/data-hcp-hvn-route/index.ts | 14 ++ src/data-hcp-hvn/index.ts | 14 ++ src/data-hcp-organization/index.ts | 14 ++ src/data-hcp-packer-bucket-names/index.ts | 14 ++ src/data-hcp-packer-image/index.ts | 14 ++ src/data-hcp-packer-iteration/index.ts | 14 ++ src/data-hcp-packer-run-task/index.ts | 14 ++ src/data-hcp-project/index.ts | 14 ++ src/data-hcp-vault-cluster/index.ts | 14 ++ src/data-hcp-vault-plugin/index.ts | 14 ++ src/data-hcp-vault-secrets-app/index.ts | 14 ++ src/data-hcp-vault-secrets-secret/index.ts | 14 ++ src/hvn-peering-connection/index.ts | 14 ++ src/hvn-route/index.ts | 14 ++ src/hvn/index.ts | 14 ++ src/packer-channel-assignment/index.ts | 14 ++ src/packer-channel/index.ts | 14 ++ src/packer-run-task/index.ts | 14 ++ src/project/index.ts | 14 ++ src/provider/index.ts | 14 ++ src/vault-cluster-admin-token/index.ts | 14 ++ src/vault-cluster/index.ts | 14 ++ src/vault-plugin/index.ts | 14 ++ src/vault-secrets-app/index.ts | 14 ++ src/vault-secrets-secret/index.ts | 14 ++ yarn.lock | 138 +++++++++--------- 252 files changed, 16070 insertions(+), 77 deletions(-) diff --git a/.github/workflows/auto-close-community-issues.yml b/.github/workflows/auto-close-community-issues.yml index 7cd751156..6263b446b 100644 --- a/.github/workflows/auto-close-community-issues.yml +++ b/.github/workflows/auto-close-community-issues.yml @@ -12,6 +12,8 @@ jobs: issues: write if: github.event.issue.author_association != 'OWNER' && github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'COLLABORATOR' steps: + - name: Checkout + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: Auto-close issues by non-collaborators env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-close-community-prs.yml b/.github/workflows/auto-close-community-prs.yml index 9468d2ce3..8be9da9ca 100644 --- a/.github/workflows/auto-close-community-prs.yml +++ b/.github/workflows/auto-close-community-prs.yml @@ -12,6 +12,8 @@ jobs: pull-requests: write if: github.event.pull_request.author_association != 'OWNER' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'COLLABORATOR' steps: + - name: Checkout + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: Auto-close PRs by non-collaborators env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.projen/deps.json b/.projen/deps.json index 6a14ea2cc..0080949ae 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -17,12 +17,12 @@ }, { "name": "cdktf-cli", - "version": "^0.18.0", + "version": "^0.19.0", "type": "build" }, { "name": "cdktf", - "version": "^0.18.0", + "version": "^0.19.0", "type": "build" }, { @@ -88,7 +88,7 @@ }, { "name": "cdktf", - "version": "^0.18.0", + "version": "^0.19.0", "type": "peer" }, { diff --git a/.projenrc.js b/.projenrc.js index e5e4bf9d1..03c53a190 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -7,7 +7,7 @@ const { CdktfProviderProject } = require("@cdktf/provider-project"); const project = new CdktfProviderProject({ useCustomGithubRunner: false, terraformProvider: "hcp@~> 0.45", - cdktfVersion: "^0.18.0", + cdktfVersion: "^0.19.0", constructsVersion: "^10.0.0", minNodeVersion: "18.12.0", jsiiVersion: "^5.0.1", diff --git a/docs/awsNetworkPeering.csharp.md b/docs/awsNetworkPeering.csharp.md index 1cda92d75..310154eb3 100644 --- a/docs/awsNetworkPeering.csharp.md +++ b/docs/awsNetworkPeering.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ AwsNetworkPeering.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +AwsNetworkPeering.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the AwsNetworkPeering to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing AwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the AwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsNetworkPeering.go.md b/docs/awsNetworkPeering.go.md index da5f08460..12bea7576 100644 --- a/docs/awsNetworkPeering.go.md +++ b/docs/awsNetworkPeering.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ awsnetworkpeering.AwsNetworkPeering_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/awsnetworkpeering" + +awsnetworkpeering.AwsNetworkPeering_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the AwsNetworkPeering to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing AwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the AwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsNetworkPeering.java.md b/docs/awsNetworkPeering.java.md index 89a6b83d8..f0f674e09 100644 --- a/docs/awsNetworkPeering.java.md +++ b/docs/awsNetworkPeering.java.md @@ -215,6 +215,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -224,7 +225,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -296,6 +299,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -404,6 +423,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -416,6 +454,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -453,6 +516,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -516,6 +580,50 @@ AwsNetworkPeering.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.aws_network_peering.AwsNetworkPeering; + +AwsNetworkPeering.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),AwsNetworkPeering.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the AwsNetworkPeering to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing AwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the AwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsNetworkPeering.python.md b/docs/awsNetworkPeering.python.md index ab5233b30..31599dc1c 100644 --- a/docs/awsNetworkPeering.python.md +++ b/docs/awsNetworkPeering.python.md @@ -213,6 +213,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -222,7 +223,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -299,6 +302,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -425,6 +446,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -439,6 +481,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -498,6 +567,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -567,6 +637,55 @@ awsNetworkPeering.AwsNetworkPeering.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import aws_network_peering + +awsNetworkPeering.AwsNetworkPeering.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the AwsNetworkPeering to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing AwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the AwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsNetworkPeering.typescript.md b/docs/awsNetworkPeering.typescript.md index 85f00bebd..0b1dab27a 100644 --- a/docs/awsNetworkPeering.typescript.md +++ b/docs/awsNetworkPeering.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ awsNetworkPeering.AwsNetworkPeering.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { awsNetworkPeering } from '@cdktf/provider-hcp' + +awsNetworkPeering.AwsNetworkPeering.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the AwsNetworkPeering to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing AwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the AwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsTransitGatewayAttachment.csharp.md b/docs/awsTransitGatewayAttachment.csharp.md index 55636f4f2..502f36a5a 100644 --- a/docs/awsTransitGatewayAttachment.csharp.md +++ b/docs/awsTransitGatewayAttachment.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ AwsTransitGatewayAttachment.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +AwsTransitGatewayAttachment.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the AwsTransitGatewayAttachment to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing AwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the AwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsTransitGatewayAttachment.go.md b/docs/awsTransitGatewayAttachment.go.md index 5468aed3e..1ebfa4e3b 100644 --- a/docs/awsTransitGatewayAttachment.go.md +++ b/docs/awsTransitGatewayAttachment.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ awstransitgatewayattachment.AwsTransitGatewayAttachment_IsTerraformResource(x in --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/awstransitgatewayattachment" + +awstransitgatewayattachment.AwsTransitGatewayAttachment_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the AwsTransitGatewayAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing AwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the AwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsTransitGatewayAttachment.java.md b/docs/awsTransitGatewayAttachment.java.md index 3c9f5e942..4b7763a6b 100644 --- a/docs/awsTransitGatewayAttachment.java.md +++ b/docs/awsTransitGatewayAttachment.java.md @@ -203,6 +203,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -212,7 +213,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -284,6 +287,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -392,6 +411,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -404,6 +442,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -441,6 +504,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -504,6 +568,50 @@ AwsTransitGatewayAttachment.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.aws_transit_gateway_attachment.AwsTransitGatewayAttachment; + +AwsTransitGatewayAttachment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),AwsTransitGatewayAttachment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the AwsTransitGatewayAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing AwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the AwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsTransitGatewayAttachment.python.md b/docs/awsTransitGatewayAttachment.python.md index 6a5669e7d..cb7081197 100644 --- a/docs/awsTransitGatewayAttachment.python.md +++ b/docs/awsTransitGatewayAttachment.python.md @@ -201,6 +201,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -210,7 +211,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -287,6 +290,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -413,6 +434,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -427,6 +469,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -486,6 +555,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -555,6 +625,55 @@ awsTransitGatewayAttachment.AwsTransitGatewayAttachment.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import aws_transit_gateway_attachment + +awsTransitGatewayAttachment.AwsTransitGatewayAttachment.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the AwsTransitGatewayAttachment to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing AwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the AwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/awsTransitGatewayAttachment.typescript.md b/docs/awsTransitGatewayAttachment.typescript.md index a4c55b90e..c508855b9 100644 --- a/docs/awsTransitGatewayAttachment.typescript.md +++ b/docs/awsTransitGatewayAttachment.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ awsTransitGatewayAttachment.AwsTransitGatewayAttachment.isTerraformResource(x: a --- +##### `generateConfigForImport` + +```typescript +import { awsTransitGatewayAttachment } from '@cdktf/provider-hcp' + +awsTransitGatewayAttachment.AwsTransitGatewayAttachment.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the AwsTransitGatewayAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing AwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the AwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/azurePeeringConnection.csharp.md b/docs/azurePeeringConnection.csharp.md index 470998703..79096e5e2 100644 --- a/docs/azurePeeringConnection.csharp.md +++ b/docs/azurePeeringConnection.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetTimeouts | *No description.* | @@ -140,6 +143,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -248,6 +267,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -260,6 +297,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -291,6 +352,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -354,6 +416,50 @@ AzurePeeringConnection.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +AzurePeeringConnection.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the AzurePeeringConnection to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing AzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the AzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/azurePeeringConnection.go.md b/docs/azurePeeringConnection.go.md index 7e5f2baf2..bc6fc1969 100644 --- a/docs/azurePeeringConnection.go.md +++ b/docs/azurePeeringConnection.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetTimeouts | *No description.* | @@ -140,6 +143,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -248,6 +267,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -260,6 +297,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -291,6 +352,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -354,6 +416,50 @@ azurepeeringconnection.AzurePeeringConnection_IsTerraformResource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/azurepeeringconnection" + +azurepeeringconnection.AzurePeeringConnection_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the AzurePeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing AzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the AzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/azurePeeringConnection.java.md b/docs/azurePeeringConnection.java.md index 1b93098ec..588ce6b07 100644 --- a/docs/azurePeeringConnection.java.md +++ b/docs/azurePeeringConnection.java.md @@ -223,6 +223,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -232,7 +233,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetTimeouts | *No description.* | @@ -303,6 +306,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -411,6 +430,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -423,6 +461,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -454,6 +517,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -517,6 +581,50 @@ AzurePeeringConnection.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.azure_peering_connection.AzurePeeringConnection; + +AzurePeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),AzurePeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the AzurePeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing AzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the AzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/azurePeeringConnection.python.md b/docs/azurePeeringConnection.python.md index fa65c1205..a67959ad1 100644 --- a/docs/azurePeeringConnection.python.md +++ b/docs/azurePeeringConnection.python.md @@ -221,6 +221,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -230,7 +231,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_timeouts | *No description.* | @@ -306,6 +309,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -432,6 +453,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -446,6 +488,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -499,6 +568,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -568,6 +638,55 @@ azurePeeringConnection.AzurePeeringConnection.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import azure_peering_connection + +azurePeeringConnection.AzurePeeringConnection.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the AzurePeeringConnection to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing AzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the AzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/azurePeeringConnection.typescript.md b/docs/azurePeeringConnection.typescript.md index e93da3169..3c0ec830e 100644 --- a/docs/azurePeeringConnection.typescript.md +++ b/docs/azurePeeringConnection.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetTimeouts | *No description.* | @@ -140,6 +143,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -248,6 +267,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -260,6 +297,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -291,6 +352,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -354,6 +416,50 @@ azurePeeringConnection.AzurePeeringConnection.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { azurePeeringConnection } from '@cdktf/provider-hcp' + +azurePeeringConnection.AzurePeeringConnection.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the AzurePeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing AzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the AzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/boundaryCluster.csharp.md b/docs/boundaryCluster.csharp.md index 07e46ce20..14da068bb 100644 --- a/docs/boundaryCluster.csharp.md +++ b/docs/boundaryCluster.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutMaintenanceWindowConfig | *No description.* | | PutTimeouts | *No description.* | | ResetId | *No description.* | @@ -143,6 +146,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -251,6 +270,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -263,6 +300,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutMaintenanceWindowConfig` ```csharp @@ -318,6 +379,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". | --- @@ -381,6 +443,50 @@ BoundaryCluster.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +BoundaryCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the BoundaryCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing BoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the BoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/boundaryCluster.go.md b/docs/boundaryCluster.go.md index 5d2af18b9..7fea507e6 100644 --- a/docs/boundaryCluster.go.md +++ b/docs/boundaryCluster.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutMaintenanceWindowConfig | *No description.* | | PutTimeouts | *No description.* | | ResetId | *No description.* | @@ -143,6 +146,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -251,6 +270,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -263,6 +300,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutMaintenanceWindowConfig` ```go @@ -318,6 +379,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". | --- @@ -381,6 +443,50 @@ boundarycluster.BoundaryCluster_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/boundarycluster" + +boundarycluster.BoundaryCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the BoundaryCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing BoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the BoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/boundaryCluster.java.md b/docs/boundaryCluster.java.md index f4c0e191d..2425de050 100644 --- a/docs/boundaryCluster.java.md +++ b/docs/boundaryCluster.java.md @@ -218,6 +218,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -227,7 +228,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putMaintenanceWindowConfig | *No description.* | | putTimeouts | *No description.* | | resetId | *No description.* | @@ -301,6 +304,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -409,6 +428,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -421,6 +459,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putMaintenanceWindowConfig` ```java @@ -476,6 +539,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". | --- @@ -539,6 +603,50 @@ BoundaryCluster.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.boundary_cluster.BoundaryCluster; + +BoundaryCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),BoundaryCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the BoundaryCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing BoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the BoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/boundaryCluster.python.md b/docs/boundaryCluster.python.md index 44b0dca2c..c86e72307 100644 --- a/docs/boundaryCluster.python.md +++ b/docs/boundaryCluster.python.md @@ -216,6 +216,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -225,7 +226,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_maintenance_window_config | *No description.* | | put_timeouts | *No description.* | | reset_id | *No description.* | @@ -304,6 +307,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -430,6 +451,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -444,6 +486,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_maintenance_window_config` ```python @@ -566,6 +635,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". | --- @@ -635,6 +705,55 @@ boundaryCluster.BoundaryCluster.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import boundary_cluster + +boundaryCluster.BoundaryCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the BoundaryCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing BoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the BoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/boundaryCluster.typescript.md b/docs/boundaryCluster.typescript.md index 20eb0d687..0a03f4383 100644 --- a/docs/boundaryCluster.typescript.md +++ b/docs/boundaryCluster.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putMaintenanceWindowConfig | *No description.* | | putTimeouts | *No description.* | | resetId | *No description.* | @@ -143,6 +146,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -251,6 +270,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -263,6 +300,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putMaintenanceWindowConfig` ```typescript @@ -318,6 +379,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". | --- @@ -381,6 +443,50 @@ boundaryCluster.BoundaryCluster.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { boundaryCluster } from '@cdktf/provider-hcp' + +boundaryCluster.BoundaryCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the BoundaryCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing BoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the BoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulCluster.csharp.md b/docs/consulCluster.csharp.md index 7effe13fe..6cd5bac8d 100644 --- a/docs/consulCluster.csharp.md +++ b/docs/consulCluster.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutIpAllowlist | *No description.* | | PutTimeouts | *No description.* | | ResetAutoHvnToHvnPeering | *No description.* | @@ -150,6 +153,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -258,6 +277,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -270,6 +307,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutIpAllowlist` ```csharp @@ -367,6 +428,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". | --- @@ -430,6 +492,50 @@ ConsulCluster.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +ConsulCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the ConsulCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulCluster.go.md b/docs/consulCluster.go.md index 52d52bbb3..1842707da 100644 --- a/docs/consulCluster.go.md +++ b/docs/consulCluster.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutIpAllowlist | *No description.* | | PutTimeouts | *No description.* | | ResetAutoHvnToHvnPeering | *No description.* | @@ -150,6 +153,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -258,6 +277,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -270,6 +307,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutIpAllowlist` ```go @@ -367,6 +428,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". | --- @@ -430,6 +492,50 @@ consulcluster.ConsulCluster_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/consulcluster" + +consulcluster.ConsulCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the ConsulCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulCluster.java.md b/docs/consulCluster.java.md index 838b9a70b..e00b8af5d 100644 --- a/docs/consulCluster.java.md +++ b/docs/consulCluster.java.md @@ -300,6 +300,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -309,7 +310,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putIpAllowlist | *No description.* | | putTimeouts | *No description.* | | resetAutoHvnToHvnPeering | *No description.* | @@ -390,6 +393,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -498,6 +517,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -510,6 +548,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putIpAllowlist` ```java @@ -607,6 +670,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". | --- @@ -670,6 +734,50 @@ ConsulCluster.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.consul_cluster.ConsulCluster; + +ConsulCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ConsulCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the ConsulCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulCluster.python.md b/docs/consulCluster.python.md index ef65f59b5..26fc39843 100644 --- a/docs/consulCluster.python.md +++ b/docs/consulCluster.python.md @@ -294,6 +294,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -303,7 +304,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_ip_allowlist | *No description.* | | put_timeouts | *No description.* | | reset_auto_hvn_to_hvn_peering | *No description.* | @@ -389,6 +392,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -515,6 +536,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -529,6 +571,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_ip_allowlist` ```python @@ -659,6 +728,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". | --- @@ -728,6 +798,55 @@ consulCluster.ConsulCluster.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import consul_cluster + +consulCluster.ConsulCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the ConsulCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulCluster.typescript.md b/docs/consulCluster.typescript.md index 0a74dd3e3..c1c0eba18 100644 --- a/docs/consulCluster.typescript.md +++ b/docs/consulCluster.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putIpAllowlist | *No description.* | | putTimeouts | *No description.* | | resetAutoHvnToHvnPeering | *No description.* | @@ -150,6 +153,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -258,6 +277,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -270,6 +307,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putIpAllowlist` ```typescript @@ -367,6 +428,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". | --- @@ -430,6 +492,50 @@ consulCluster.ConsulCluster.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { consulCluster } from '@cdktf/provider-hcp' + +consulCluster.ConsulCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the ConsulCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulClusterRootToken.csharp.md b/docs/consulClusterRootToken.csharp.md index 42f9fc821..52cc1e156 100644 --- a/docs/consulClusterRootToken.csharp.md +++ b/docs/consulClusterRootToken.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ ConsulClusterRootToken.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +ConsulClusterRootToken.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the ConsulClusterRootToken to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ConsulClusterRootToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster_root_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulClusterRootToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulClusterRootToken.go.md b/docs/consulClusterRootToken.go.md index 479ea218d..53afc376d 100644 --- a/docs/consulClusterRootToken.go.md +++ b/docs/consulClusterRootToken.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ consulclusterroottoken.ConsulClusterRootToken_IsTerraformResource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/consulclusterroottoken" + +consulclusterroottoken.ConsulClusterRootToken_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the ConsulClusterRootToken to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ConsulClusterRootToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster_root_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulClusterRootToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulClusterRootToken.java.md b/docs/consulClusterRootToken.java.md index ceb5691bd..8b2260b8f 100644 --- a/docs/consulClusterRootToken.java.md +++ b/docs/consulClusterRootToken.java.md @@ -166,6 +166,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -175,7 +176,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -247,6 +250,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -355,6 +374,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -367,6 +405,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -404,6 +467,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". | --- @@ -467,6 +531,50 @@ ConsulClusterRootToken.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.consul_cluster_root_token.ConsulClusterRootToken; + +ConsulClusterRootToken.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ConsulClusterRootToken.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the ConsulClusterRootToken to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ConsulClusterRootToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster_root_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulClusterRootToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulClusterRootToken.python.md b/docs/consulClusterRootToken.python.md index 24bff69dd..23e3b68ad 100644 --- a/docs/consulClusterRootToken.python.md +++ b/docs/consulClusterRootToken.python.md @@ -164,6 +164,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -173,7 +174,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -250,6 +253,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -376,6 +397,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -390,6 +432,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -431,6 +500,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". | --- @@ -500,6 +570,55 @@ consulClusterRootToken.ConsulClusterRootToken.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import consul_cluster_root_token + +consulClusterRootToken.ConsulClusterRootToken.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the ConsulClusterRootToken to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ConsulClusterRootToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster_root_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulClusterRootToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulClusterRootToken.typescript.md b/docs/consulClusterRootToken.typescript.md index 48417a3d4..d88cc2df1 100644 --- a/docs/consulClusterRootToken.typescript.md +++ b/docs/consulClusterRootToken.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ consulClusterRootToken.ConsulClusterRootToken.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { consulClusterRootToken } from '@cdktf/provider-hcp' + +consulClusterRootToken.ConsulClusterRootToken.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the ConsulClusterRootToken to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ConsulClusterRootToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster_root_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulClusterRootToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulSnapshot.csharp.md b/docs/consulSnapshot.csharp.md index e402c07aa..d9c2b1acf 100644 --- a/docs/consulSnapshot.csharp.md +++ b/docs/consulSnapshot.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ ConsulSnapshot.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +ConsulSnapshot.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the ConsulSnapshot to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ConsulSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulSnapshot.go.md b/docs/consulSnapshot.go.md index 13cfa5e81..6c9477fb5 100644 --- a/docs/consulSnapshot.go.md +++ b/docs/consulSnapshot.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ consulsnapshot.ConsulSnapshot_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/consulsnapshot" + +consulsnapshot.ConsulSnapshot_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the ConsulSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ConsulSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulSnapshot.java.md b/docs/consulSnapshot.java.md index bfa5118f3..caffcdd51 100644 --- a/docs/consulSnapshot.java.md +++ b/docs/consulSnapshot.java.md @@ -178,6 +178,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -187,7 +188,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -259,6 +262,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -367,6 +386,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -379,6 +417,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -416,6 +479,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". | --- @@ -479,6 +543,50 @@ ConsulSnapshot.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.consul_snapshot.ConsulSnapshot; + +ConsulSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ConsulSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the ConsulSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ConsulSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulSnapshot.python.md b/docs/consulSnapshot.python.md index 31868d083..6b2441faf 100644 --- a/docs/consulSnapshot.python.md +++ b/docs/consulSnapshot.python.md @@ -176,6 +176,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -185,7 +186,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -262,6 +265,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -388,6 +409,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -402,6 +444,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -470,6 +539,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". | --- @@ -539,6 +609,55 @@ consulSnapshot.ConsulSnapshot.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import consul_snapshot + +consulSnapshot.ConsulSnapshot.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the ConsulSnapshot to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ConsulSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/consulSnapshot.typescript.md b/docs/consulSnapshot.typescript.md index 415739ef3..a13a174e9 100644 --- a/docs/consulSnapshot.typescript.md +++ b/docs/consulSnapshot.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ consulSnapshot.ConsulSnapshot.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { consulSnapshot } from '@cdktf/provider-hcp' + +consulSnapshot.ConsulSnapshot.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the ConsulSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ConsulSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ConsulSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsNetworkPeering.csharp.md b/docs/dataHcpAwsNetworkPeering.csharp.md index f27d75260..fa9c43c37 100644 --- a/docs/dataHcpAwsNetworkPeering.csharp.md +++ b/docs/dataHcpAwsNetworkPeering.csharp.md @@ -305,6 +305,7 @@ private void ResetWaitForActiveState() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ DataHcpAwsNetworkPeering.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpAwsNetworkPeering.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpAwsNetworkPeering to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpAwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsNetworkPeering.go.md b/docs/dataHcpAwsNetworkPeering.go.md index e2b63ceb2..614f8f23e 100644 --- a/docs/dataHcpAwsNetworkPeering.go.md +++ b/docs/dataHcpAwsNetworkPeering.go.md @@ -305,6 +305,7 @@ func ResetWaitForActiveState() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ datahcpawsnetworkpeering.DataHcpAwsNetworkPeering_IsTerraformDataSource(x interf --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpawsnetworkpeering" + +datahcpawsnetworkpeering.DataHcpAwsNetworkPeering_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpAwsNetworkPeering to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpAwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsNetworkPeering.java.md b/docs/dataHcpAwsNetworkPeering.java.md index 41e28a08f..af0cc9679 100644 --- a/docs/dataHcpAwsNetworkPeering.java.md +++ b/docs/dataHcpAwsNetworkPeering.java.md @@ -437,6 +437,7 @@ public void resetWaitForActiveState() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -500,6 +501,50 @@ DataHcpAwsNetworkPeering.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_aws_network_peering.DataHcpAwsNetworkPeering; + +DataHcpAwsNetworkPeering.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpAwsNetworkPeering.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpAwsNetworkPeering to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpAwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsNetworkPeering.python.md b/docs/dataHcpAwsNetworkPeering.python.md index 301e3f0ae..862a42ec9 100644 --- a/docs/dataHcpAwsNetworkPeering.python.md +++ b/docs/dataHcpAwsNetworkPeering.python.md @@ -463,6 +463,7 @@ def reset_wait_for_active_state() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -532,6 +533,55 @@ dataHcpAwsNetworkPeering.DataHcpAwsNetworkPeering.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_aws_network_peering + +dataHcpAwsNetworkPeering.DataHcpAwsNetworkPeering.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpAwsNetworkPeering to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpAwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsNetworkPeering.typescript.md b/docs/dataHcpAwsNetworkPeering.typescript.md index e49e327ea..ec46db66f 100644 --- a/docs/dataHcpAwsNetworkPeering.typescript.md +++ b/docs/dataHcpAwsNetworkPeering.typescript.md @@ -305,6 +305,7 @@ public resetWaitForActiveState(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ dataHcpAwsNetworkPeering.DataHcpAwsNetworkPeering.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpAwsNetworkPeering } from '@cdktf/provider-hcp' + +dataHcpAwsNetworkPeering.DataHcpAwsNetworkPeering.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpAwsNetworkPeering to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpAwsNetworkPeering that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_network_peering#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsNetworkPeering to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsTransitGatewayAttachment.csharp.md b/docs/dataHcpAwsTransitGatewayAttachment.csharp.md index 90ebb71fe..d245ed966 100644 --- a/docs/dataHcpAwsTransitGatewayAttachment.csharp.md +++ b/docs/dataHcpAwsTransitGatewayAttachment.csharp.md @@ -305,6 +305,7 @@ private void ResetWaitForActiveState() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ DataHcpAwsTransitGatewayAttachment.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpAwsTransitGatewayAttachment.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpAwsTransitGatewayAttachment to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpAwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsTransitGatewayAttachment.go.md b/docs/dataHcpAwsTransitGatewayAttachment.go.md index ea86419c1..926f47e50 100644 --- a/docs/dataHcpAwsTransitGatewayAttachment.go.md +++ b/docs/dataHcpAwsTransitGatewayAttachment.go.md @@ -305,6 +305,7 @@ func ResetWaitForActiveState() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ datahcpawstransitgatewayattachment.DataHcpAwsTransitGatewayAttachment_IsTerrafor --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpawstransitgatewayattachment" + +datahcpawstransitgatewayattachment.DataHcpAwsTransitGatewayAttachment_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpAwsTransitGatewayAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpAwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsTransitGatewayAttachment.java.md b/docs/dataHcpAwsTransitGatewayAttachment.java.md index a5d93d93c..f8b7470a5 100644 --- a/docs/dataHcpAwsTransitGatewayAttachment.java.md +++ b/docs/dataHcpAwsTransitGatewayAttachment.java.md @@ -436,6 +436,7 @@ public void resetWaitForActiveState() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -499,6 +500,50 @@ DataHcpAwsTransitGatewayAttachment.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_aws_transit_gateway_attachment.DataHcpAwsTransitGatewayAttachment; + +DataHcpAwsTransitGatewayAttachment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpAwsTransitGatewayAttachment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpAwsTransitGatewayAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpAwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsTransitGatewayAttachment.python.md b/docs/dataHcpAwsTransitGatewayAttachment.python.md index 7a9762166..8349dcfd8 100644 --- a/docs/dataHcpAwsTransitGatewayAttachment.python.md +++ b/docs/dataHcpAwsTransitGatewayAttachment.python.md @@ -462,6 +462,7 @@ def reset_wait_for_active_state() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -531,6 +532,55 @@ dataHcpAwsTransitGatewayAttachment.DataHcpAwsTransitGatewayAttachment.is_terrafo --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_aws_transit_gateway_attachment + +dataHcpAwsTransitGatewayAttachment.DataHcpAwsTransitGatewayAttachment.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpAwsTransitGatewayAttachment to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpAwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAwsTransitGatewayAttachment.typescript.md b/docs/dataHcpAwsTransitGatewayAttachment.typescript.md index ff2de25bf..ebebd2be7 100644 --- a/docs/dataHcpAwsTransitGatewayAttachment.typescript.md +++ b/docs/dataHcpAwsTransitGatewayAttachment.typescript.md @@ -305,6 +305,7 @@ public resetWaitForActiveState(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ dataHcpAwsTransitGatewayAttachment.DataHcpAwsTransitGatewayAttachment.isTerrafor --- +##### `generateConfigForImport` + +```typescript +import { dataHcpAwsTransitGatewayAttachment } from '@cdktf/provider-hcp' + +dataHcpAwsTransitGatewayAttachment.DataHcpAwsTransitGatewayAttachment.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpAwsTransitGatewayAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpAwsTransitGatewayAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAwsTransitGatewayAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAzurePeeringConnection.csharp.md b/docs/dataHcpAzurePeeringConnection.csharp.md index 599474737..e6745b039 100644 --- a/docs/dataHcpAzurePeeringConnection.csharp.md +++ b/docs/dataHcpAzurePeeringConnection.csharp.md @@ -298,6 +298,7 @@ private void ResetWaitForActiveState() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpAzurePeeringConnection.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpAzurePeeringConnection.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpAzurePeeringConnection to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpAzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAzurePeeringConnection.go.md b/docs/dataHcpAzurePeeringConnection.go.md index a62aa8c9b..e24305cca 100644 --- a/docs/dataHcpAzurePeeringConnection.go.md +++ b/docs/dataHcpAzurePeeringConnection.go.md @@ -298,6 +298,7 @@ func ResetWaitForActiveState() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcpazurepeeringconnection.DataHcpAzurePeeringConnection_IsTerraformDataSourc --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpazurepeeringconnection" + +datahcpazurepeeringconnection.DataHcpAzurePeeringConnection_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpAzurePeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpAzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAzurePeeringConnection.java.md b/docs/dataHcpAzurePeeringConnection.java.md index 69a5b5089..f2e91f00c 100644 --- a/docs/dataHcpAzurePeeringConnection.java.md +++ b/docs/dataHcpAzurePeeringConnection.java.md @@ -414,6 +414,7 @@ public void resetWaitForActiveState() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -477,6 +478,50 @@ DataHcpAzurePeeringConnection.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_azure_peering_connection.DataHcpAzurePeeringConnection; + +DataHcpAzurePeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpAzurePeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpAzurePeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpAzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAzurePeeringConnection.python.md b/docs/dataHcpAzurePeeringConnection.python.md index c1d81ae3f..28dd266c5 100644 --- a/docs/dataHcpAzurePeeringConnection.python.md +++ b/docs/dataHcpAzurePeeringConnection.python.md @@ -440,6 +440,7 @@ def reset_wait_for_active_state() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -509,6 +510,55 @@ dataHcpAzurePeeringConnection.DataHcpAzurePeeringConnection.is_terraform_data_so --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_azure_peering_connection + +dataHcpAzurePeeringConnection.DataHcpAzurePeeringConnection.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpAzurePeeringConnection to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpAzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpAzurePeeringConnection.typescript.md b/docs/dataHcpAzurePeeringConnection.typescript.md index 1e936651d..bd5172c6d 100644 --- a/docs/dataHcpAzurePeeringConnection.typescript.md +++ b/docs/dataHcpAzurePeeringConnection.typescript.md @@ -298,6 +298,7 @@ public resetWaitForActiveState(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpAzurePeeringConnection.DataHcpAzurePeeringConnection.isTerraformDataSourc --- +##### `generateConfigForImport` + +```typescript +import { dataHcpAzurePeeringConnection } from '@cdktf/provider-hcp' + +dataHcpAzurePeeringConnection.DataHcpAzurePeeringConnection.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpAzurePeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpAzurePeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpAzurePeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpBoundaryCluster.csharp.md b/docs/dataHcpBoundaryCluster.csharp.md index a092949f2..21b75bdac 100644 --- a/docs/dataHcpBoundaryCluster.csharp.md +++ b/docs/dataHcpBoundaryCluster.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpBoundaryCluster.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpBoundaryCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpBoundaryCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpBoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpBoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpBoundaryCluster.go.md b/docs/dataHcpBoundaryCluster.go.md index c8768a796..f058a41dc 100644 --- a/docs/dataHcpBoundaryCluster.go.md +++ b/docs/dataHcpBoundaryCluster.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcpboundarycluster.DataHcpBoundaryCluster_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpboundarycluster" + +datahcpboundarycluster.DataHcpBoundaryCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpBoundaryCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpBoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpBoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpBoundaryCluster.java.md b/docs/dataHcpBoundaryCluster.java.md index 52e21ae0b..5b926ce22 100644 --- a/docs/dataHcpBoundaryCluster.java.md +++ b/docs/dataHcpBoundaryCluster.java.md @@ -405,6 +405,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". | --- @@ -468,6 +469,50 @@ DataHcpBoundaryCluster.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_boundary_cluster.DataHcpBoundaryCluster; + +DataHcpBoundaryCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpBoundaryCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpBoundaryCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpBoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpBoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpBoundaryCluster.python.md b/docs/dataHcpBoundaryCluster.python.md index 7a343764b..b57855732 100644 --- a/docs/dataHcpBoundaryCluster.python.md +++ b/docs/dataHcpBoundaryCluster.python.md @@ -432,6 +432,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". | --- @@ -501,6 +502,55 @@ dataHcpBoundaryCluster.DataHcpBoundaryCluster.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_boundary_cluster + +dataHcpBoundaryCluster.DataHcpBoundaryCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpBoundaryCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpBoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpBoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpBoundaryCluster.typescript.md b/docs/dataHcpBoundaryCluster.typescript.md index 4e4753ec3..0993ccc2b 100644 --- a/docs/dataHcpBoundaryCluster.typescript.md +++ b/docs/dataHcpBoundaryCluster.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpBoundaryCluster.DataHcpBoundaryCluster.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpBoundaryCluster } from '@cdktf/provider-hcp' + +dataHcpBoundaryCluster.DataHcpBoundaryCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpBoundaryCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpBoundaryCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/boundary_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpBoundaryCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentHelmConfig.csharp.md b/docs/dataHcpConsulAgentHelmConfig.csharp.md index a78c21f59..9b4364e1a 100644 --- a/docs/dataHcpConsulAgentHelmConfig.csharp.md +++ b/docs/dataHcpConsulAgentHelmConfig.csharp.md @@ -305,6 +305,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ DataHcpConsulAgentHelmConfig.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpConsulAgentHelmConfig.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulAgentHelmConfig to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulAgentHelmConfig that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_helm_config#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentHelmConfig to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentHelmConfig.go.md b/docs/dataHcpConsulAgentHelmConfig.go.md index 05eddb9ca..b89d56373 100644 --- a/docs/dataHcpConsulAgentHelmConfig.go.md +++ b/docs/dataHcpConsulAgentHelmConfig.go.md @@ -305,6 +305,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ datahcpconsulagenthelmconfig.DataHcpConsulAgentHelmConfig_IsTerraformDataSource( --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpconsulagenthelmconfig" + +datahcpconsulagenthelmconfig.DataHcpConsulAgentHelmConfig_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpConsulAgentHelmConfig to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpConsulAgentHelmConfig that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_helm_config#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentHelmConfig to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentHelmConfig.java.md b/docs/dataHcpConsulAgentHelmConfig.java.md index 4cbe149d2..ea843982a 100644 --- a/docs/dataHcpConsulAgentHelmConfig.java.md +++ b/docs/dataHcpConsulAgentHelmConfig.java.md @@ -436,6 +436,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". | --- @@ -499,6 +500,50 @@ DataHcpConsulAgentHelmConfig.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_consul_agent_helm_config.DataHcpConsulAgentHelmConfig; + +DataHcpConsulAgentHelmConfig.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpConsulAgentHelmConfig.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpConsulAgentHelmConfig to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpConsulAgentHelmConfig that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_helm_config#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentHelmConfig to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentHelmConfig.python.md b/docs/dataHcpConsulAgentHelmConfig.python.md index 295e52434..953064ba6 100644 --- a/docs/dataHcpConsulAgentHelmConfig.python.md +++ b/docs/dataHcpConsulAgentHelmConfig.python.md @@ -462,6 +462,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". | --- @@ -531,6 +532,55 @@ dataHcpConsulAgentHelmConfig.DataHcpConsulAgentHelmConfig.is_terraform_data_sour --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_consul_agent_helm_config + +dataHcpConsulAgentHelmConfig.DataHcpConsulAgentHelmConfig.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpConsulAgentHelmConfig to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpConsulAgentHelmConfig that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_helm_config#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentHelmConfig to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentHelmConfig.typescript.md b/docs/dataHcpConsulAgentHelmConfig.typescript.md index 3312f65ea..4969afec2 100644 --- a/docs/dataHcpConsulAgentHelmConfig.typescript.md +++ b/docs/dataHcpConsulAgentHelmConfig.typescript.md @@ -305,6 +305,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ dataHcpConsulAgentHelmConfig.DataHcpConsulAgentHelmConfig.isTerraformDataSource( --- +##### `generateConfigForImport` + +```typescript +import { dataHcpConsulAgentHelmConfig } from '@cdktf/provider-hcp' + +dataHcpConsulAgentHelmConfig.DataHcpConsulAgentHelmConfig.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulAgentHelmConfig to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulAgentHelmConfig that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_helm_config#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentHelmConfig to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentKubernetesSecret.csharp.md b/docs/dataHcpConsulAgentKubernetesSecret.csharp.md index c6f967556..ba7f1eac1 100644 --- a/docs/dataHcpConsulAgentKubernetesSecret.csharp.md +++ b/docs/dataHcpConsulAgentKubernetesSecret.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpConsulAgentKubernetesSecret.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpConsulAgentKubernetesSecret.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulAgentKubernetesSecret to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulAgentKubernetesSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_kubernetes_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentKubernetesSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentKubernetesSecret.go.md b/docs/dataHcpConsulAgentKubernetesSecret.go.md index 3554f08b8..74d6e2059 100644 --- a/docs/dataHcpConsulAgentKubernetesSecret.go.md +++ b/docs/dataHcpConsulAgentKubernetesSecret.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcpconsulagentkubernetessecret.DataHcpConsulAgentKubernetesSecret_IsTerrafor --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpconsulagentkubernetessecret" + +datahcpconsulagentkubernetessecret.DataHcpConsulAgentKubernetesSecret_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpConsulAgentKubernetesSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpConsulAgentKubernetesSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_kubernetes_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentKubernetesSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentKubernetesSecret.java.md b/docs/dataHcpConsulAgentKubernetesSecret.java.md index 4e328d3c5..9a8afa7eb 100644 --- a/docs/dataHcpConsulAgentKubernetesSecret.java.md +++ b/docs/dataHcpConsulAgentKubernetesSecret.java.md @@ -404,6 +404,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataHcpConsulAgentKubernetesSecret.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_consul_agent_kubernetes_secret.DataHcpConsulAgentKubernetesSecret; + +DataHcpConsulAgentKubernetesSecret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpConsulAgentKubernetesSecret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpConsulAgentKubernetesSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpConsulAgentKubernetesSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_kubernetes_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentKubernetesSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentKubernetesSecret.python.md b/docs/dataHcpConsulAgentKubernetesSecret.python.md index 021307f43..75de07b21 100644 --- a/docs/dataHcpConsulAgentKubernetesSecret.python.md +++ b/docs/dataHcpConsulAgentKubernetesSecret.python.md @@ -431,6 +431,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". | --- @@ -500,6 +501,55 @@ dataHcpConsulAgentKubernetesSecret.DataHcpConsulAgentKubernetesSecret.is_terrafo --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_consul_agent_kubernetes_secret + +dataHcpConsulAgentKubernetesSecret.DataHcpConsulAgentKubernetesSecret.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpConsulAgentKubernetesSecret to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpConsulAgentKubernetesSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_kubernetes_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentKubernetesSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulAgentKubernetesSecret.typescript.md b/docs/dataHcpConsulAgentKubernetesSecret.typescript.md index c0f75554a..8e8216a92 100644 --- a/docs/dataHcpConsulAgentKubernetesSecret.typescript.md +++ b/docs/dataHcpConsulAgentKubernetesSecret.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpConsulAgentKubernetesSecret.DataHcpConsulAgentKubernetesSecret.isTerrafor --- +##### `generateConfigForImport` + +```typescript +import { dataHcpConsulAgentKubernetesSecret } from '@cdktf/provider-hcp' + +dataHcpConsulAgentKubernetesSecret.DataHcpConsulAgentKubernetesSecret.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulAgentKubernetesSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulAgentKubernetesSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_kubernetes_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulAgentKubernetesSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulCluster.csharp.md b/docs/dataHcpConsulCluster.csharp.md index 8d64d9c3c..91b958f0e 100644 --- a/docs/dataHcpConsulCluster.csharp.md +++ b/docs/dataHcpConsulCluster.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpConsulCluster.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpConsulCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulCluster.go.md b/docs/dataHcpConsulCluster.go.md index 84385a308..ba4f1867b 100644 --- a/docs/dataHcpConsulCluster.go.md +++ b/docs/dataHcpConsulCluster.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcpconsulcluster.DataHcpConsulCluster_IsTerraformDataSource(x interface{}) * --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpconsulcluster" + +datahcpconsulcluster.DataHcpConsulCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpConsulCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulCluster.java.md b/docs/dataHcpConsulCluster.java.md index c04d14504..fab01ebc6 100644 --- a/docs/dataHcpConsulCluster.java.md +++ b/docs/dataHcpConsulCluster.java.md @@ -404,6 +404,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataHcpConsulCluster.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_consul_cluster.DataHcpConsulCluster; + +DataHcpConsulCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpConsulCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpConsulCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulCluster.python.md b/docs/dataHcpConsulCluster.python.md index 4977cb566..c0b18cbe6 100644 --- a/docs/dataHcpConsulCluster.python.md +++ b/docs/dataHcpConsulCluster.python.md @@ -431,6 +431,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". | --- @@ -500,6 +501,55 @@ dataHcpConsulCluster.DataHcpConsulCluster.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_consul_cluster + +dataHcpConsulCluster.DataHcpConsulCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpConsulCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulCluster.typescript.md b/docs/dataHcpConsulCluster.typescript.md index e9feb5031..b4c1002e8 100644 --- a/docs/dataHcpConsulCluster.typescript.md +++ b/docs/dataHcpConsulCluster.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpConsulCluster.DataHcpConsulCluster.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpConsulCluster } from '@cdktf/provider-hcp' + +dataHcpConsulCluster.DataHcpConsulCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulVersions.csharp.md b/docs/dataHcpConsulVersions.csharp.md index 1ff4080bf..41ca4cd10 100644 --- a/docs/dataHcpConsulVersions.csharp.md +++ b/docs/dataHcpConsulVersions.csharp.md @@ -291,6 +291,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". | --- @@ -354,6 +355,50 @@ DataHcpConsulVersions.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpConsulVersions.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulVersions to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulVersions.go.md b/docs/dataHcpConsulVersions.go.md index 49051882e..ee6d3f8e7 100644 --- a/docs/dataHcpConsulVersions.go.md +++ b/docs/dataHcpConsulVersions.go.md @@ -291,6 +291,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". | --- @@ -354,6 +355,50 @@ datahcpconsulversions.DataHcpConsulVersions_IsTerraformDataSource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpconsulversions" + +datahcpconsulversions.DataHcpConsulVersions_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpConsulVersions to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpConsulVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulVersions.java.md b/docs/dataHcpConsulVersions.java.md index be09cb9b0..3748a6240 100644 --- a/docs/dataHcpConsulVersions.java.md +++ b/docs/dataHcpConsulVersions.java.md @@ -370,6 +370,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". | --- @@ -433,6 +434,50 @@ DataHcpConsulVersions.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_consul_versions.DataHcpConsulVersions; + +DataHcpConsulVersions.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpConsulVersions.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpConsulVersions to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpConsulVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulVersions.python.md b/docs/dataHcpConsulVersions.python.md index 7ff8b118f..30d79366d 100644 --- a/docs/dataHcpConsulVersions.python.md +++ b/docs/dataHcpConsulVersions.python.md @@ -397,6 +397,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". | --- @@ -466,6 +467,55 @@ dataHcpConsulVersions.DataHcpConsulVersions.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_consul_versions + +dataHcpConsulVersions.DataHcpConsulVersions.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpConsulVersions to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpConsulVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpConsulVersions.typescript.md b/docs/dataHcpConsulVersions.typescript.md index 5871fee5a..822e5735c 100644 --- a/docs/dataHcpConsulVersions.typescript.md +++ b/docs/dataHcpConsulVersions.typescript.md @@ -291,6 +291,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". | --- @@ -354,6 +355,50 @@ dataHcpConsulVersions.DataHcpConsulVersions.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpConsulVersions } from '@cdktf/provider-hcp' + +dataHcpConsulVersions.DataHcpConsulVersions.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpConsulVersions to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpConsulVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpConsulVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvn.csharp.md b/docs/dataHcpHvn.csharp.md index 8b5396ac6..128347f01 100644 --- a/docs/dataHcpHvn.csharp.md +++ b/docs/dataHcpHvn.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpHvn.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpHvn.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpHvn to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpHvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvn.go.md b/docs/dataHcpHvn.go.md index 94f3ccf50..a2c8a5440 100644 --- a/docs/dataHcpHvn.go.md +++ b/docs/dataHcpHvn.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcphvn.DataHcpHvn_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcphvn" + +datahcphvn.DataHcpHvn_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpHvn to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpHvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvn.java.md b/docs/dataHcpHvn.java.md index a611701c5..ef6b7ab8b 100644 --- a/docs/dataHcpHvn.java.md +++ b/docs/dataHcpHvn.java.md @@ -404,6 +404,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataHcpHvn.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_hvn.DataHcpHvn; + +DataHcpHvn.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpHvn.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpHvn to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpHvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvn.python.md b/docs/dataHcpHvn.python.md index 8a3d7ccac..ba25329ce 100644 --- a/docs/dataHcpHvn.python.md +++ b/docs/dataHcpHvn.python.md @@ -431,6 +431,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". | --- @@ -500,6 +501,55 @@ dataHcpHvn.DataHcpHvn.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_hvn + +dataHcpHvn.DataHcpHvn.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpHvn to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpHvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvn.typescript.md b/docs/dataHcpHvn.typescript.md index ea601cab0..4608bb310 100644 --- a/docs/dataHcpHvn.typescript.md +++ b/docs/dataHcpHvn.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpHvn.DataHcpHvn.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpHvn } from '@cdktf/provider-hcp' + +dataHcpHvn.DataHcpHvn.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpHvn to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpHvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnPeeringConnection.csharp.md b/docs/dataHcpHvnPeeringConnection.csharp.md index 862263912..fabd9f40e 100644 --- a/docs/dataHcpHvnPeeringConnection.csharp.md +++ b/docs/dataHcpHvnPeeringConnection.csharp.md @@ -305,6 +305,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ DataHcpHvnPeeringConnection.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpHvnPeeringConnection.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpHvnPeeringConnection to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpHvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnPeeringConnection.go.md b/docs/dataHcpHvnPeeringConnection.go.md index 645e3ecd6..0bf2d3401 100644 --- a/docs/dataHcpHvnPeeringConnection.go.md +++ b/docs/dataHcpHvnPeeringConnection.go.md @@ -305,6 +305,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ datahcphvnpeeringconnection.DataHcpHvnPeeringConnection_IsTerraformDataSource(x --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcphvnpeeringconnection" + +datahcphvnpeeringconnection.DataHcpHvnPeeringConnection_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpHvnPeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpHvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnPeeringConnection.java.md b/docs/dataHcpHvnPeeringConnection.java.md index dfe06ece8..8772f0abd 100644 --- a/docs/dataHcpHvnPeeringConnection.java.md +++ b/docs/dataHcpHvnPeeringConnection.java.md @@ -436,6 +436,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -499,6 +500,50 @@ DataHcpHvnPeeringConnection.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_hvn_peering_connection.DataHcpHvnPeeringConnection; + +DataHcpHvnPeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpHvnPeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpHvnPeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpHvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnPeeringConnection.python.md b/docs/dataHcpHvnPeeringConnection.python.md index e09306f0c..aea601a3d 100644 --- a/docs/dataHcpHvnPeeringConnection.python.md +++ b/docs/dataHcpHvnPeeringConnection.python.md @@ -463,6 +463,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -532,6 +533,55 @@ dataHcpHvnPeeringConnection.DataHcpHvnPeeringConnection.is_terraform_data_source --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_hvn_peering_connection + +dataHcpHvnPeeringConnection.DataHcpHvnPeeringConnection.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpHvnPeeringConnection to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpHvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnPeeringConnection.typescript.md b/docs/dataHcpHvnPeeringConnection.typescript.md index 85930b128..4e65bb319 100644 --- a/docs/dataHcpHvnPeeringConnection.typescript.md +++ b/docs/dataHcpHvnPeeringConnection.typescript.md @@ -305,6 +305,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -368,6 +369,50 @@ dataHcpHvnPeeringConnection.DataHcpHvnPeeringConnection.isTerraformDataSource(x: --- +##### `generateConfigForImport` + +```typescript +import { dataHcpHvnPeeringConnection } from '@cdktf/provider-hcp' + +dataHcpHvnPeeringConnection.DataHcpHvnPeeringConnection.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpHvnPeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpHvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnRoute.csharp.md b/docs/dataHcpHvnRoute.csharp.md index 9041896fa..a83cee9a7 100644 --- a/docs/dataHcpHvnRoute.csharp.md +++ b/docs/dataHcpHvnRoute.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpHvnRoute.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpHvnRoute.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpHvnRoute to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpHvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnRoute.go.md b/docs/dataHcpHvnRoute.go.md index f9f280c81..7b3176839 100644 --- a/docs/dataHcpHvnRoute.go.md +++ b/docs/dataHcpHvnRoute.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcphvnroute.DataHcpHvnRoute_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcphvnroute" + +datahcphvnroute.DataHcpHvnRoute_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpHvnRoute to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpHvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnRoute.java.md b/docs/dataHcpHvnRoute.java.md index eb6923810..bc6413b45 100644 --- a/docs/dataHcpHvnRoute.java.md +++ b/docs/dataHcpHvnRoute.java.md @@ -415,6 +415,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". | --- @@ -478,6 +479,50 @@ DataHcpHvnRoute.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_hvn_route.DataHcpHvnRoute; + +DataHcpHvnRoute.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpHvnRoute.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpHvnRoute to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpHvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnRoute.python.md b/docs/dataHcpHvnRoute.python.md index 1d35575b8..838183ab9 100644 --- a/docs/dataHcpHvnRoute.python.md +++ b/docs/dataHcpHvnRoute.python.md @@ -442,6 +442,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". | --- @@ -511,6 +512,55 @@ dataHcpHvnRoute.DataHcpHvnRoute.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_hvn_route + +dataHcpHvnRoute.DataHcpHvnRoute.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpHvnRoute to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpHvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpHvnRoute.typescript.md b/docs/dataHcpHvnRoute.typescript.md index 53fff4345..2a57834cc 100644 --- a/docs/dataHcpHvnRoute.typescript.md +++ b/docs/dataHcpHvnRoute.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpHvnRoute.DataHcpHvnRoute.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpHvnRoute } from '@cdktf/provider-hcp' + +dataHcpHvnRoute.DataHcpHvnRoute.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpHvnRoute to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpHvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpHvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpOrganization.csharp.md b/docs/dataHcpOrganization.csharp.md index 1c0378504..2b5085ea7 100644 --- a/docs/dataHcpOrganization.csharp.md +++ b/docs/dataHcpOrganization.csharp.md @@ -264,6 +264,7 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ DataHcpOrganization.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpOrganization.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpOrganization to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpOrganization that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpOrganization to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpOrganization.go.md b/docs/dataHcpOrganization.go.md index cf7616097..527fd72a4 100644 --- a/docs/dataHcpOrganization.go.md +++ b/docs/dataHcpOrganization.go.md @@ -264,6 +264,7 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ datahcporganization.DataHcpOrganization_IsTerraformDataSource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcporganization" + +datahcporganization.DataHcpOrganization_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpOrganization to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpOrganization that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpOrganization to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpOrganization.java.md b/docs/dataHcpOrganization.java.md index 70ca5753b..45047e873 100644 --- a/docs/dataHcpOrganization.java.md +++ b/docs/dataHcpOrganization.java.md @@ -318,6 +318,7 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". | --- @@ -381,6 +382,50 @@ DataHcpOrganization.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_organization.DataHcpOrganization; + +DataHcpOrganization.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpOrganization.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpOrganization to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpOrganization that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpOrganization to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpOrganization.python.md b/docs/dataHcpOrganization.python.md index b2a873117..0ccbcb458 100644 --- a/docs/dataHcpOrganization.python.md +++ b/docs/dataHcpOrganization.python.md @@ -341,6 +341,7 @@ def interpolation_for_attribute( | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". | --- @@ -410,6 +411,55 @@ dataHcpOrganization.DataHcpOrganization.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_organization + +dataHcpOrganization.DataHcpOrganization.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpOrganization to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpOrganization that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpOrganization to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpOrganization.typescript.md b/docs/dataHcpOrganization.typescript.md index c5c891d30..d27444154 100644 --- a/docs/dataHcpOrganization.typescript.md +++ b/docs/dataHcpOrganization.typescript.md @@ -264,6 +264,7 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ dataHcpOrganization.DataHcpOrganization.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpOrganization } from '@cdktf/provider-hcp' + +dataHcpOrganization.DataHcpOrganization.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpOrganization to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpOrganization that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpOrganization to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerBucketNames.csharp.md b/docs/dataHcpPackerBucketNames.csharp.md index 8da0d13ab..e6294fef4 100644 --- a/docs/dataHcpPackerBucketNames.csharp.md +++ b/docs/dataHcpPackerBucketNames.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpPackerBucketNames.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpPackerBucketNames.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerBucketNames to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerBucketNames that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_bucket_names#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerBucketNames to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerBucketNames.go.md b/docs/dataHcpPackerBucketNames.go.md index 86e0de4b3..c75e204c9 100644 --- a/docs/dataHcpPackerBucketNames.go.md +++ b/docs/dataHcpPackerBucketNames.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcppackerbucketnames.DataHcpPackerBucketNames_IsTerraformDataSource(x interf --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcppackerbucketnames" + +datahcppackerbucketnames.DataHcpPackerBucketNames_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpPackerBucketNames to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpPackerBucketNames that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_bucket_names#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerBucketNames to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerBucketNames.java.md b/docs/dataHcpPackerBucketNames.java.md index 48ce8906a..15c76b0bb 100644 --- a/docs/dataHcpPackerBucketNames.java.md +++ b/docs/dataHcpPackerBucketNames.java.md @@ -389,6 +389,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". | --- @@ -452,6 +453,50 @@ DataHcpPackerBucketNames.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_packer_bucket_names.DataHcpPackerBucketNames; + +DataHcpPackerBucketNames.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpPackerBucketNames.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpPackerBucketNames to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpPackerBucketNames that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_bucket_names#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerBucketNames to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerBucketNames.python.md b/docs/dataHcpPackerBucketNames.python.md index 73d6067bf..3116c9bd9 100644 --- a/docs/dataHcpPackerBucketNames.python.md +++ b/docs/dataHcpPackerBucketNames.python.md @@ -416,6 +416,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". | --- @@ -485,6 +486,55 @@ dataHcpPackerBucketNames.DataHcpPackerBucketNames.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_packer_bucket_names + +dataHcpPackerBucketNames.DataHcpPackerBucketNames.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpPackerBucketNames to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpPackerBucketNames that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_bucket_names#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerBucketNames to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerBucketNames.typescript.md b/docs/dataHcpPackerBucketNames.typescript.md index 907b3ba0d..b0f55908e 100644 --- a/docs/dataHcpPackerBucketNames.typescript.md +++ b/docs/dataHcpPackerBucketNames.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpPackerBucketNames.DataHcpPackerBucketNames.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpPackerBucketNames } from '@cdktf/provider-hcp' + +dataHcpPackerBucketNames.DataHcpPackerBucketNames.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerBucketNames to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerBucketNames that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_bucket_names#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerBucketNames to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerImage.csharp.md b/docs/dataHcpPackerImage.csharp.md index e33f65849..0a786b0f3 100644 --- a/docs/dataHcpPackerImage.csharp.md +++ b/docs/dataHcpPackerImage.csharp.md @@ -319,6 +319,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". | --- @@ -382,6 +383,50 @@ DataHcpPackerImage.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpPackerImage.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerImage to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_image#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerImage.go.md b/docs/dataHcpPackerImage.go.md index 57b81619c..63ba608ad 100644 --- a/docs/dataHcpPackerImage.go.md +++ b/docs/dataHcpPackerImage.go.md @@ -319,6 +319,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". | --- @@ -382,6 +383,50 @@ datahcppackerimage.DataHcpPackerImage_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcppackerimage" + +datahcppackerimage.DataHcpPackerImage_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpPackerImage to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpPackerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_image#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerImage.java.md b/docs/dataHcpPackerImage.java.md index 823f803c5..4af6ab798 100644 --- a/docs/dataHcpPackerImage.java.md +++ b/docs/dataHcpPackerImage.java.md @@ -487,6 +487,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". | --- @@ -550,6 +551,50 @@ DataHcpPackerImage.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_packer_image.DataHcpPackerImage; + +DataHcpPackerImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpPackerImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpPackerImage to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpPackerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_image#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerImage.python.md b/docs/dataHcpPackerImage.python.md index 4ff9cd400..2eaad8378 100644 --- a/docs/dataHcpPackerImage.python.md +++ b/docs/dataHcpPackerImage.python.md @@ -514,6 +514,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". | --- @@ -583,6 +584,55 @@ dataHcpPackerImage.DataHcpPackerImage.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_packer_image + +dataHcpPackerImage.DataHcpPackerImage.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpPackerImage to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpPackerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_image#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerImage.typescript.md b/docs/dataHcpPackerImage.typescript.md index 792a12414..14b7da849 100644 --- a/docs/dataHcpPackerImage.typescript.md +++ b/docs/dataHcpPackerImage.typescript.md @@ -319,6 +319,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". | --- @@ -382,6 +383,50 @@ dataHcpPackerImage.DataHcpPackerImage.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpPackerImage } from '@cdktf/provider-hcp' + +dataHcpPackerImage.DataHcpPackerImage.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerImage to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_image#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerIteration.csharp.md b/docs/dataHcpPackerIteration.csharp.md index db7646c30..4340460e5 100644 --- a/docs/dataHcpPackerIteration.csharp.md +++ b/docs/dataHcpPackerIteration.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpPackerIteration.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpPackerIteration.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerIteration to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerIteration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_iteration#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerIteration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerIteration.go.md b/docs/dataHcpPackerIteration.go.md index 23489de73..1701848ab 100644 --- a/docs/dataHcpPackerIteration.go.md +++ b/docs/dataHcpPackerIteration.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcppackeriteration.DataHcpPackerIteration_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcppackeriteration" + +datahcppackeriteration.DataHcpPackerIteration_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpPackerIteration to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpPackerIteration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_iteration#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerIteration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerIteration.java.md b/docs/dataHcpPackerIteration.java.md index 275d4b932..a9ba10c2f 100644 --- a/docs/dataHcpPackerIteration.java.md +++ b/docs/dataHcpPackerIteration.java.md @@ -416,6 +416,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". | --- @@ -479,6 +480,50 @@ DataHcpPackerIteration.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_packer_iteration.DataHcpPackerIteration; + +DataHcpPackerIteration.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpPackerIteration.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpPackerIteration to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpPackerIteration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_iteration#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerIteration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerIteration.python.md b/docs/dataHcpPackerIteration.python.md index 597100ba6..bfd4d1b31 100644 --- a/docs/dataHcpPackerIteration.python.md +++ b/docs/dataHcpPackerIteration.python.md @@ -443,6 +443,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". | --- @@ -512,6 +513,55 @@ dataHcpPackerIteration.DataHcpPackerIteration.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_packer_iteration + +dataHcpPackerIteration.DataHcpPackerIteration.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpPackerIteration to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpPackerIteration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_iteration#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerIteration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerIteration.typescript.md b/docs/dataHcpPackerIteration.typescript.md index 9bd7d525e..e4d6a32e8 100644 --- a/docs/dataHcpPackerIteration.typescript.md +++ b/docs/dataHcpPackerIteration.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpPackerIteration.DataHcpPackerIteration.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpPackerIteration } from '@cdktf/provider-hcp' + +dataHcpPackerIteration.DataHcpPackerIteration.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerIteration to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerIteration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_iteration#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerIteration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerRunTask.csharp.md b/docs/dataHcpPackerRunTask.csharp.md index 7983d188d..158d7961b 100644 --- a/docs/dataHcpPackerRunTask.csharp.md +++ b/docs/dataHcpPackerRunTask.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpPackerRunTask.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpPackerRunTask.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerRunTask to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerRunTask.go.md b/docs/dataHcpPackerRunTask.go.md index 96a3c70c0..faf8e888f 100644 --- a/docs/dataHcpPackerRunTask.go.md +++ b/docs/dataHcpPackerRunTask.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcppackerruntask.DataHcpPackerRunTask_IsTerraformDataSource(x interface{}) * --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcppackerruntask" + +datahcppackerruntask.DataHcpPackerRunTask_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpPackerRunTask to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpPackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerRunTask.java.md b/docs/dataHcpPackerRunTask.java.md index 8676d8b7f..de439d138 100644 --- a/docs/dataHcpPackerRunTask.java.md +++ b/docs/dataHcpPackerRunTask.java.md @@ -392,6 +392,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". | --- @@ -455,6 +456,50 @@ DataHcpPackerRunTask.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_packer_run_task.DataHcpPackerRunTask; + +DataHcpPackerRunTask.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpPackerRunTask.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpPackerRunTask to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpPackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerRunTask.python.md b/docs/dataHcpPackerRunTask.python.md index f6ecb3cb9..090a6ceb3 100644 --- a/docs/dataHcpPackerRunTask.python.md +++ b/docs/dataHcpPackerRunTask.python.md @@ -419,6 +419,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". | --- @@ -488,6 +489,55 @@ dataHcpPackerRunTask.DataHcpPackerRunTask.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_packer_run_task + +dataHcpPackerRunTask.DataHcpPackerRunTask.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpPackerRunTask to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpPackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpPackerRunTask.typescript.md b/docs/dataHcpPackerRunTask.typescript.md index 2a0dcf3e6..db220e4cb 100644 --- a/docs/dataHcpPackerRunTask.typescript.md +++ b/docs/dataHcpPackerRunTask.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpPackerRunTask.DataHcpPackerRunTask.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpPackerRunTask } from '@cdktf/provider-hcp' + +dataHcpPackerRunTask.DataHcpPackerRunTask.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpPackerRunTask to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpPackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpPackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpProject.csharp.md b/docs/dataHcpProject.csharp.md index e44b7a362..30df4ba99 100644 --- a/docs/dataHcpProject.csharp.md +++ b/docs/dataHcpProject.csharp.md @@ -271,6 +271,7 @@ private void ResetProject() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataHcpProject.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpProject.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpProject to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpProject.go.md b/docs/dataHcpProject.go.md index 8a56c952a..35f18c340 100644 --- a/docs/dataHcpProject.go.md +++ b/docs/dataHcpProject.go.md @@ -271,6 +271,7 @@ func ResetProject() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datahcpproject.DataHcpProject_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpproject" + +datahcpproject.DataHcpProject_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpProject to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpProject.java.md b/docs/dataHcpProject.java.md index 8f6abc8de..c098a7a08 100644 --- a/docs/dataHcpProject.java.md +++ b/docs/dataHcpProject.java.md @@ -339,6 +339,7 @@ public void resetProject() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". | --- @@ -402,6 +403,50 @@ DataHcpProject.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_project.DataHcpProject; + +DataHcpProject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpProject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpProject to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpProject.python.md b/docs/dataHcpProject.python.md index 239e3ad24..83368bdf3 100644 --- a/docs/dataHcpProject.python.md +++ b/docs/dataHcpProject.python.md @@ -362,6 +362,7 @@ def reset_project() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". | --- @@ -431,6 +432,55 @@ dataHcpProject.DataHcpProject.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_project + +dataHcpProject.DataHcpProject.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpProject to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpProject.typescript.md b/docs/dataHcpProject.typescript.md index 0a17b0749..ff5aa799a 100644 --- a/docs/dataHcpProject.typescript.md +++ b/docs/dataHcpProject.typescript.md @@ -271,6 +271,7 @@ public resetProject(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataHcpProject.DataHcpProject.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpProject } from '@cdktf/provider-hcp' + +dataHcpProject.DataHcpProject.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpProject to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultCluster.csharp.md b/docs/dataHcpVaultCluster.csharp.md index 619a85dad..1feac8169 100644 --- a/docs/dataHcpVaultCluster.csharp.md +++ b/docs/dataHcpVaultCluster.csharp.md @@ -338,6 +338,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". | --- @@ -401,6 +402,50 @@ DataHcpVaultCluster.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpVaultCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultCluster.go.md b/docs/dataHcpVaultCluster.go.md index 306bf7020..bec409884 100644 --- a/docs/dataHcpVaultCluster.go.md +++ b/docs/dataHcpVaultCluster.go.md @@ -338,6 +338,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". | --- @@ -401,6 +402,50 @@ datahcpvaultcluster.DataHcpVaultCluster_IsTerraformDataSource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpvaultcluster" + +datahcpvaultcluster.DataHcpVaultCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpVaultCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpVaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultCluster.java.md b/docs/dataHcpVaultCluster.java.md index 9ccb412d8..07419dac5 100644 --- a/docs/dataHcpVaultCluster.java.md +++ b/docs/dataHcpVaultCluster.java.md @@ -470,6 +470,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". | --- @@ -533,6 +534,50 @@ DataHcpVaultCluster.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_vault_cluster.DataHcpVaultCluster; + +DataHcpVaultCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpVaultCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpVaultCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpVaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultCluster.python.md b/docs/dataHcpVaultCluster.python.md index 75b8ca936..99e2812de 100644 --- a/docs/dataHcpVaultCluster.python.md +++ b/docs/dataHcpVaultCluster.python.md @@ -499,6 +499,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". | --- @@ -568,6 +569,55 @@ dataHcpVaultCluster.DataHcpVaultCluster.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_vault_cluster + +dataHcpVaultCluster.DataHcpVaultCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpVaultCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpVaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultCluster.typescript.md b/docs/dataHcpVaultCluster.typescript.md index 66a902a71..1a2786496 100644 --- a/docs/dataHcpVaultCluster.typescript.md +++ b/docs/dataHcpVaultCluster.typescript.md @@ -338,6 +338,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". | --- @@ -401,6 +402,50 @@ dataHcpVaultCluster.DataHcpVaultCluster.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpVaultCluster } from '@cdktf/provider-hcp' + +dataHcpVaultCluster.DataHcpVaultCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultPlugin.csharp.md b/docs/dataHcpVaultPlugin.csharp.md index 292498bc7..79e7a5113 100644 --- a/docs/dataHcpVaultPlugin.csharp.md +++ b/docs/dataHcpVaultPlugin.csharp.md @@ -298,6 +298,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ DataHcpVaultPlugin.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpVaultPlugin.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultPlugin to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultPlugin.go.md b/docs/dataHcpVaultPlugin.go.md index 7bdd0d427..09806efb0 100644 --- a/docs/dataHcpVaultPlugin.go.md +++ b/docs/dataHcpVaultPlugin.go.md @@ -298,6 +298,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ datahcpvaultplugin.DataHcpVaultPlugin_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpvaultplugin" + +datahcpvaultplugin.DataHcpVaultPlugin_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpVaultPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpVaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultPlugin.java.md b/docs/dataHcpVaultPlugin.java.md index 8914aed55..6361db684 100644 --- a/docs/dataHcpVaultPlugin.java.md +++ b/docs/dataHcpVaultPlugin.java.md @@ -428,6 +428,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". | --- @@ -491,6 +492,50 @@ DataHcpVaultPlugin.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_vault_plugin.DataHcpVaultPlugin; + +DataHcpVaultPlugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpVaultPlugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpVaultPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpVaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultPlugin.python.md b/docs/dataHcpVaultPlugin.python.md index e2e6b420e..43982fac4 100644 --- a/docs/dataHcpVaultPlugin.python.md +++ b/docs/dataHcpVaultPlugin.python.md @@ -455,6 +455,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". | --- @@ -524,6 +525,55 @@ dataHcpVaultPlugin.DataHcpVaultPlugin.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_vault_plugin + +dataHcpVaultPlugin.DataHcpVaultPlugin.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpVaultPlugin to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpVaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultPlugin.typescript.md b/docs/dataHcpVaultPlugin.typescript.md index e122b2c36..900c23430 100644 --- a/docs/dataHcpVaultPlugin.typescript.md +++ b/docs/dataHcpVaultPlugin.typescript.md @@ -298,6 +298,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". | --- @@ -361,6 +362,50 @@ dataHcpVaultPlugin.DataHcpVaultPlugin.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpVaultPlugin } from '@cdktf/provider-hcp' + +dataHcpVaultPlugin.DataHcpVaultPlugin.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsApp.csharp.md b/docs/dataHcpVaultSecretsApp.csharp.md index b687eb2ac..3bcb67ebb 100644 --- a/docs/dataHcpVaultSecretsApp.csharp.md +++ b/docs/dataHcpVaultSecretsApp.csharp.md @@ -264,6 +264,7 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ DataHcpVaultSecretsApp.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpVaultSecretsApp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultSecretsApp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsApp.go.md b/docs/dataHcpVaultSecretsApp.go.md index 4ab81a009..6cf8df805 100644 --- a/docs/dataHcpVaultSecretsApp.go.md +++ b/docs/dataHcpVaultSecretsApp.go.md @@ -264,6 +264,7 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ datahcpvaultsecretsapp.DataHcpVaultSecretsApp_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpvaultsecretsapp" + +datahcpvaultsecretsapp.DataHcpVaultSecretsApp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpVaultSecretsApp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpVaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsApp.java.md b/docs/dataHcpVaultSecretsApp.java.md index 4b3e3455e..cd3194e14 100644 --- a/docs/dataHcpVaultSecretsApp.java.md +++ b/docs/dataHcpVaultSecretsApp.java.md @@ -330,6 +330,7 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". | --- @@ -393,6 +394,50 @@ DataHcpVaultSecretsApp.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_vault_secrets_app.DataHcpVaultSecretsApp; + +DataHcpVaultSecretsApp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpVaultSecretsApp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpVaultSecretsApp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpVaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsApp.python.md b/docs/dataHcpVaultSecretsApp.python.md index d032f07c8..085a7a31e 100644 --- a/docs/dataHcpVaultSecretsApp.python.md +++ b/docs/dataHcpVaultSecretsApp.python.md @@ -353,6 +353,7 @@ def interpolation_for_attribute( | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". | --- @@ -422,6 +423,55 @@ dataHcpVaultSecretsApp.DataHcpVaultSecretsApp.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_vault_secrets_app + +dataHcpVaultSecretsApp.DataHcpVaultSecretsApp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpVaultSecretsApp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpVaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsApp.typescript.md b/docs/dataHcpVaultSecretsApp.typescript.md index 0f35933d9..a60296807 100644 --- a/docs/dataHcpVaultSecretsApp.typescript.md +++ b/docs/dataHcpVaultSecretsApp.typescript.md @@ -264,6 +264,7 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ dataHcpVaultSecretsApp.DataHcpVaultSecretsApp.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataHcpVaultSecretsApp } from '@cdktf/provider-hcp' + +dataHcpVaultSecretsApp.DataHcpVaultSecretsApp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultSecretsApp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsSecret.csharp.md b/docs/dataHcpVaultSecretsSecret.csharp.md index 3281f8d73..3922c07a7 100644 --- a/docs/dataHcpVaultSecretsSecret.csharp.md +++ b/docs/dataHcpVaultSecretsSecret.csharp.md @@ -264,6 +264,7 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ DataHcpVaultSecretsSecret.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +DataHcpVaultSecretsSecret.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultSecretsSecret to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsSecret.go.md b/docs/dataHcpVaultSecretsSecret.go.md index 107314b81..921af69f3 100644 --- a/docs/dataHcpVaultSecretsSecret.go.md +++ b/docs/dataHcpVaultSecretsSecret.go.md @@ -264,6 +264,7 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ datahcpvaultsecretssecret.DataHcpVaultSecretsSecret_IsTerraformDataSource(x inte --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/datahcpvaultsecretssecret" + +datahcpvaultsecretssecret.DataHcpVaultSecretsSecret_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the DataHcpVaultSecretsSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataHcpVaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsSecret.java.md b/docs/dataHcpVaultSecretsSecret.java.md index e1ac608f7..056f78244 100644 --- a/docs/dataHcpVaultSecretsSecret.java.md +++ b/docs/dataHcpVaultSecretsSecret.java.md @@ -342,6 +342,7 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -405,6 +406,50 @@ DataHcpVaultSecretsSecret.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.data_hcp_vault_secrets_secret.DataHcpVaultSecretsSecret; + +DataHcpVaultSecretsSecret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataHcpVaultSecretsSecret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the DataHcpVaultSecretsSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataHcpVaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsSecret.python.md b/docs/dataHcpVaultSecretsSecret.python.md index 1683715a2..c5263c4bd 100644 --- a/docs/dataHcpVaultSecretsSecret.python.md +++ b/docs/dataHcpVaultSecretsSecret.python.md @@ -365,6 +365,7 @@ def interpolation_for_attribute( | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_data_source | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -434,6 +435,55 @@ dataHcpVaultSecretsSecret.DataHcpVaultSecretsSecret.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import data_hcp_vault_secrets_secret + +dataHcpVaultSecretsSecret.DataHcpVaultSecretsSecret.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the DataHcpVaultSecretsSecret to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataHcpVaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataHcpVaultSecretsSecret.typescript.md b/docs/dataHcpVaultSecretsSecret.typescript.md index acd9a845c..9d4841400 100644 --- a/docs/dataHcpVaultSecretsSecret.typescript.md +++ b/docs/dataHcpVaultSecretsSecret.typescript.md @@ -264,6 +264,7 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ dataHcpVaultSecretsSecret.DataHcpVaultSecretsSecret.isTerraformDataSource(x: any --- +##### `generateConfigForImport` + +```typescript +import { dataHcpVaultSecretsSecret } from '@cdktf/provider-hcp' + +dataHcpVaultSecretsSecret.DataHcpVaultSecretsSecret.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the DataHcpVaultSecretsSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataHcpVaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataHcpVaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvn.csharp.md b/docs/hvn.csharp.md index f31a713a8..de772aa1c 100644 --- a/docs/hvn.csharp.md +++ b/docs/hvn.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetCidrBlock | *No description.* | | ResetId | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -305,6 +366,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ Hvn.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +Hvn.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the Hvn to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Hvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the Hvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvn.go.md b/docs/hvn.go.md index 76fd9024d..4458fc9fe 100644 --- a/docs/hvn.go.md +++ b/docs/hvn.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetCidrBlock | *No description.* | | ResetId | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -305,6 +366,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ hvn.Hvn_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/hvn" + +hvn.Hvn_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the Hvn to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Hvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the Hvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvn.java.md b/docs/hvn.java.md index 717406e9e..9c418a378 100644 --- a/docs/hvn.java.md +++ b/docs/hvn.java.md @@ -202,6 +202,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -211,7 +212,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetCidrBlock | *No description.* | | resetId | *No description.* | @@ -284,6 +287,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -392,6 +411,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -404,6 +442,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -447,6 +510,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". | --- @@ -510,6 +574,50 @@ Hvn.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.hvn.Hvn; + +Hvn.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Hvn.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the Hvn to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Hvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the Hvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvn.python.md b/docs/hvn.python.md index 4d7b8782d..a8caf8a7e 100644 --- a/docs/hvn.python.md +++ b/docs/hvn.python.md @@ -200,6 +200,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -209,7 +210,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_cidr_block | *No description.* | | reset_id | *No description.* | @@ -287,6 +290,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -413,6 +434,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -427,6 +469,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -492,6 +561,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". | --- @@ -561,6 +631,55 @@ hvn.Hvn.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import hvn + +hvn.Hvn.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the Hvn to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Hvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the Hvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvn.typescript.md b/docs/hvn.typescript.md index e63ea9e6d..1ea5786cc 100644 --- a/docs/hvn.typescript.md +++ b/docs/hvn.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetCidrBlock | *No description.* | | resetId | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -305,6 +366,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ hvn.Hvn.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { hvn } from '@cdktf/provider-hcp' + +hvn.Hvn.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Hvn resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the Hvn to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Hvn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the Hvn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnPeeringConnection.csharp.md b/docs/hvnPeeringConnection.csharp.md index 0af26f2d4..ab182ba1d 100644 --- a/docs/hvnPeeringConnection.csharp.md +++ b/docs/hvnPeeringConnection.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ HvnPeeringConnection.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +HvnPeeringConnection.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the HvnPeeringConnection to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing HvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the HvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnPeeringConnection.go.md b/docs/hvnPeeringConnection.go.md index e67324b48..e198288c7 100644 --- a/docs/hvnPeeringConnection.go.md +++ b/docs/hvnPeeringConnection.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ hvnpeeringconnection.HvnPeeringConnection_IsTerraformResource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/hvnpeeringconnection" + +hvnpeeringconnection.HvnPeeringConnection_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the HvnPeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing HvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the HvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnPeeringConnection.java.md b/docs/hvnPeeringConnection.java.md index 626a94c55..04b206b2b 100644 --- a/docs/hvnPeeringConnection.java.md +++ b/docs/hvnPeeringConnection.java.md @@ -177,6 +177,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -186,7 +187,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -258,6 +261,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -366,6 +385,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -378,6 +416,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -415,6 +478,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -478,6 +542,50 @@ HvnPeeringConnection.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.hvn_peering_connection.HvnPeeringConnection; + +HvnPeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),HvnPeeringConnection.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the HvnPeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing HvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the HvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnPeeringConnection.python.md b/docs/hvnPeeringConnection.python.md index fec734cda..5c986136a 100644 --- a/docs/hvnPeeringConnection.python.md +++ b/docs/hvnPeeringConnection.python.md @@ -175,6 +175,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -184,7 +185,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -261,6 +264,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -387,6 +408,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -401,6 +443,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -460,6 +529,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -529,6 +599,55 @@ hvnPeeringConnection.HvnPeeringConnection.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import hvn_peering_connection + +hvnPeeringConnection.HvnPeeringConnection.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the HvnPeeringConnection to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing HvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the HvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnPeeringConnection.typescript.md b/docs/hvnPeeringConnection.typescript.md index 449a19a98..5db96c1b9 100644 --- a/docs/hvnPeeringConnection.typescript.md +++ b/docs/hvnPeeringConnection.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ hvnPeeringConnection.HvnPeeringConnection.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { hvnPeeringConnection } from '@cdktf/provider-hcp' + +hvnPeeringConnection.HvnPeeringConnection.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the HvnPeeringConnection to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing HvnPeeringConnection that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the HvnPeeringConnection to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnRoute.csharp.md b/docs/hvnRoute.csharp.md index e5be94990..02ceb4a61 100644 --- a/docs/hvnRoute.csharp.md +++ b/docs/hvnRoute.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ HvnRoute.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +HvnRoute.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the HvnRoute to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing HvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the HvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnRoute.go.md b/docs/hvnRoute.go.md index 56f11ad61..efab13b81 100644 --- a/docs/hvnRoute.go.md +++ b/docs/hvnRoute.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ hvnroute.HvnRoute_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/hvnroute" + +hvnroute.HvnRoute_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the HvnRoute to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing HvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the HvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnRoute.java.md b/docs/hvnRoute.java.md index 4e6c236c8..17eb74da5 100644 --- a/docs/hvnRoute.java.md +++ b/docs/hvnRoute.java.md @@ -201,6 +201,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -210,7 +211,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -282,6 +285,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -390,6 +409,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -402,6 +440,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -439,6 +502,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". | --- @@ -502,6 +566,50 @@ HvnRoute.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.hvn_route.HvnRoute; + +HvnRoute.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),HvnRoute.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the HvnRoute to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing HvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the HvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnRoute.python.md b/docs/hvnRoute.python.md index f89cf5f6f..52a558603 100644 --- a/docs/hvnRoute.python.md +++ b/docs/hvnRoute.python.md @@ -199,6 +199,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -208,7 +209,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -285,6 +288,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -411,6 +432,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -425,6 +467,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -484,6 +553,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". | --- @@ -553,6 +623,55 @@ hvnRoute.HvnRoute.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import hvn_route + +hvnRoute.HvnRoute.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the HvnRoute to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing HvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the HvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/hvnRoute.typescript.md b/docs/hvnRoute.typescript.md index 4c803c249..64b19d774 100644 --- a/docs/hvnRoute.typescript.md +++ b/docs/hvnRoute.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ hvnRoute.HvnRoute.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { hvnRoute } from '@cdktf/provider-hcp' + +hvnRoute.HvnRoute.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the HvnRoute to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing HvnRoute that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_route#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the HvnRoute to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannel.csharp.md b/docs/packerChannel.csharp.md index 98ab0a6d4..40558813e 100644 --- a/docs/packerChannel.csharp.md +++ b/docs/packerChannel.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -305,6 +366,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ PackerChannel.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +PackerChannel.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the PackerChannel to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing PackerChannel that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannel to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannel.go.md b/docs/packerChannel.go.md index 4cd3a5174..eced20a71 100644 --- a/docs/packerChannel.go.md +++ b/docs/packerChannel.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -305,6 +366,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ packerchannel.PackerChannel_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/packerchannel" + +packerchannel.PackerChannel_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the PackerChannel to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing PackerChannel that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannel to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannel.java.md b/docs/packerChannel.java.md index 686119ff2..868ab32a1 100644 --- a/docs/packerChannel.java.md +++ b/docs/packerChannel.java.md @@ -193,6 +193,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -202,7 +203,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -275,6 +278,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -383,6 +402,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -395,6 +433,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -438,6 +501,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". | --- @@ -501,6 +565,50 @@ PackerChannel.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.packer_channel.PackerChannel; + +PackerChannel.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),PackerChannel.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the PackerChannel to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing PackerChannel that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannel to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannel.python.md b/docs/packerChannel.python.md index 757d76d38..f5d10e866 100644 --- a/docs/packerChannel.python.md +++ b/docs/packerChannel.python.md @@ -190,6 +190,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -199,7 +200,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -277,6 +280,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -403,6 +424,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -417,6 +459,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -491,6 +560,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". | --- @@ -560,6 +630,55 @@ packerChannel.PackerChannel.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import packer_channel + +packerChannel.PackerChannel.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the PackerChannel to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing PackerChannel that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannel to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannel.typescript.md b/docs/packerChannel.typescript.md index 2ecf945bf..884384987 100644 --- a/docs/packerChannel.typescript.md +++ b/docs/packerChannel.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -305,6 +366,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ packerChannel.PackerChannel.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { packerChannel } from '@cdktf/provider-hcp' + +packerChannel.PackerChannel.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the PackerChannel to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing PackerChannel that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannel to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannelAssignment.csharp.md b/docs/packerChannelAssignment.csharp.md index 81d3c777b..c8c7669ef 100644 --- a/docs/packerChannelAssignment.csharp.md +++ b/docs/packerChannelAssignment.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetIterationFingerprint | *No description.* | @@ -144,6 +147,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -252,6 +271,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -264,6 +301,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -319,6 +380,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". | --- @@ -382,6 +444,50 @@ PackerChannelAssignment.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +PackerChannelAssignment.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the PackerChannelAssignment to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing PackerChannelAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannelAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannelAssignment.go.md b/docs/packerChannelAssignment.go.md index b46fb3297..c29c21ef8 100644 --- a/docs/packerChannelAssignment.go.md +++ b/docs/packerChannelAssignment.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetIterationFingerprint | *No description.* | @@ -144,6 +147,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -252,6 +271,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -264,6 +301,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -319,6 +380,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". | --- @@ -382,6 +444,50 @@ packerchannelassignment.PackerChannelAssignment_IsTerraformResource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/packerchannelassignment" + +packerchannelassignment.PackerChannelAssignment_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the PackerChannelAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing PackerChannelAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannelAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannelAssignment.java.md b/docs/packerChannelAssignment.java.md index b9e45a158..dc7fb16ee 100644 --- a/docs/packerChannelAssignment.java.md +++ b/docs/packerChannelAssignment.java.md @@ -214,6 +214,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -223,7 +224,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetIterationFingerprint | *No description.* | @@ -298,6 +301,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -406,6 +425,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -418,6 +456,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -473,6 +536,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". | --- @@ -536,6 +600,50 @@ PackerChannelAssignment.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.packer_channel_assignment.PackerChannelAssignment; + +PackerChannelAssignment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),PackerChannelAssignment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the PackerChannelAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing PackerChannelAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannelAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannelAssignment.python.md b/docs/packerChannelAssignment.python.md index e583a7ea9..20673407f 100644 --- a/docs/packerChannelAssignment.python.md +++ b/docs/packerChannelAssignment.python.md @@ -212,6 +212,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -221,7 +222,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_iteration_fingerprint | *No description.* | @@ -301,6 +304,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -427,6 +448,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -441,6 +483,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -527,6 +596,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". | --- @@ -596,6 +666,55 @@ packerChannelAssignment.PackerChannelAssignment.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import packer_channel_assignment + +packerChannelAssignment.PackerChannelAssignment.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the PackerChannelAssignment to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing PackerChannelAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannelAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerChannelAssignment.typescript.md b/docs/packerChannelAssignment.typescript.md index 8c129697e..0604fe247 100644 --- a/docs/packerChannelAssignment.typescript.md +++ b/docs/packerChannelAssignment.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetIterationFingerprint | *No description.* | @@ -144,6 +147,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -252,6 +271,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -264,6 +301,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -319,6 +380,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". | --- @@ -382,6 +444,50 @@ packerChannelAssignment.PackerChannelAssignment.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { packerChannelAssignment } from '@cdktf/provider-hcp' + +packerChannelAssignment.PackerChannelAssignment.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the PackerChannelAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing PackerChannelAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the PackerChannelAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerRunTask.csharp.md b/docs/packerRunTask.csharp.md index 4df1aa369..aa511d2b4 100644 --- a/docs/packerRunTask.csharp.md +++ b/docs/packerRunTask.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -305,6 +366,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ PackerRunTask.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +PackerRunTask.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the PackerRunTask to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing PackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the PackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerRunTask.go.md b/docs/packerRunTask.go.md index b746b4f46..0dbf5078f 100644 --- a/docs/packerRunTask.go.md +++ b/docs/packerRunTask.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -305,6 +366,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ packerruntask.PackerRunTask_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/packerruntask" + +packerruntask.PackerRunTask_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the PackerRunTask to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing PackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the PackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerRunTask.java.md b/docs/packerRunTask.java.md index 9f8c61a98..77ef1d582 100644 --- a/docs/packerRunTask.java.md +++ b/docs/packerRunTask.java.md @@ -169,6 +169,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -178,7 +179,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -251,6 +254,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -359,6 +378,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -371,6 +409,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -414,6 +477,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". | --- @@ -477,6 +541,50 @@ PackerRunTask.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.packer_run_task.PackerRunTask; + +PackerRunTask.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),PackerRunTask.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the PackerRunTask to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing PackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the PackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerRunTask.python.md b/docs/packerRunTask.python.md index 0512ff7a4..e22a50469 100644 --- a/docs/packerRunTask.python.md +++ b/docs/packerRunTask.python.md @@ -166,6 +166,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -175,7 +176,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -253,6 +256,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -379,6 +400,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -393,6 +435,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -467,6 +536,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". | --- @@ -536,6 +606,55 @@ packerRunTask.PackerRunTask.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import packer_run_task + +packerRunTask.PackerRunTask.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the PackerRunTask to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing PackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the PackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/packerRunTask.typescript.md b/docs/packerRunTask.typescript.md index b7f2c3b57..49e260940 100644 --- a/docs/packerRunTask.typescript.md +++ b/docs/packerRunTask.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -305,6 +366,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ packerRunTask.PackerRunTask.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { packerRunTask } from '@cdktf/provider-hcp' + +packerRunTask.PackerRunTask.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the PackerRunTask to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing PackerRunTask that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_run_task#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the PackerRunTask to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.csharp.md b/docs/project.csharp.md index 555905d51..766e5ff63 100644 --- a/docs/project.csharp.md +++ b/docs/project.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | ResetDescription | *No description.* | --- @@ -138,6 +141,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -246,6 +265,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -258,6 +295,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetDescription` ```csharp @@ -271,6 +332,7 @@ private void ResetDescription() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ Project.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +Project.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the Project to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.go.md b/docs/project.go.md index 085946843..b2ea4c548 100644 --- a/docs/project.go.md +++ b/docs/project.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | ResetDescription | *No description.* | --- @@ -138,6 +141,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -246,6 +265,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -258,6 +295,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetDescription` ```go @@ -271,6 +332,7 @@ func ResetDescription() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ project.Project_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/project" + +project.Project_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the Project to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.java.md b/docs/project.java.md index d0314ac7f..8b0081b02 100644 --- a/docs/project.java.md +++ b/docs/project.java.md @@ -138,6 +138,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -147,7 +148,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | resetDescription | *No description.* | --- @@ -216,6 +219,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -324,6 +343,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -336,6 +374,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetDescription` ```java @@ -349,6 +412,7 @@ public void resetDescription() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -412,6 +476,50 @@ Project.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.project.Project; + +Project.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Project.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the Project to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.python.md b/docs/project.python.md index c27a359b9..41601b77a 100644 --- a/docs/project.python.md +++ b/docs/project.python.md @@ -136,6 +136,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -145,7 +146,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | reset_description | *No description.* | --- @@ -219,6 +222,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -345,6 +366,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -359,6 +401,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `reset_description` ```python @@ -372,6 +441,7 @@ def reset_description() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -441,6 +511,55 @@ project.Project.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import project + +project.Project.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the Project to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.typescript.md b/docs/project.typescript.md index b75c47ee2..fd5d7f7f4 100644 --- a/docs/project.typescript.md +++ b/docs/project.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | resetDescription | *No description.* | --- @@ -138,6 +141,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -246,6 +265,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -258,6 +295,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetDescription` ```typescript @@ -271,6 +332,7 @@ public resetDescription(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ project.Project.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { project } from '@cdktf/provider-hcp' + +project.Project.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the Project to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.csharp.md b/docs/provider.csharp.md index af513092b..733f74329 100644 --- a/docs/provider.csharp.md +++ b/docs/provider.csharp.md @@ -162,6 +162,7 @@ private void ResetProjectId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformProvider | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". | --- @@ -225,6 +226,50 @@ HcpProvider.IsTerraformProvider(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +HcpProvider.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the HcpProvider to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing HcpProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the HcpProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.go.md b/docs/provider.go.md index 3befe0c03..38ee41346 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -162,6 +162,7 @@ func ResetProjectId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformProvider | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". | --- @@ -225,6 +226,50 @@ provider.HcpProvider_IsTerraformProvider(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/provider" + +provider.HcpProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the HcpProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing HcpProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the HcpProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.java.md b/docs/provider.java.md index dab8de6d8..83515e1d5 100644 --- a/docs/provider.java.md +++ b/docs/provider.java.md @@ -204,6 +204,7 @@ public void resetProjectId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformProvider | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". | --- @@ -267,6 +268,50 @@ HcpProvider.isTerraformProvider(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.provider.HcpProvider; + +HcpProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),HcpProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the HcpProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing HcpProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the HcpProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.python.md b/docs/provider.python.md index c78914af9..7b759d8a2 100644 --- a/docs/provider.python.md +++ b/docs/provider.python.md @@ -211,6 +211,7 @@ def reset_project_id() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_provider | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". | --- @@ -280,6 +281,55 @@ provider.HcpProvider.is_terraform_provider( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import provider + +provider.HcpProvider.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the HcpProvider to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing HcpProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the HcpProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.typescript.md b/docs/provider.typescript.md index c39cbaebf..45308e261 100644 --- a/docs/provider.typescript.md +++ b/docs/provider.typescript.md @@ -162,6 +162,7 @@ public resetProjectId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformProvider | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". | --- @@ -225,6 +226,50 @@ provider.HcpProvider.isTerraformProvider(x: any) --- +##### `generateConfigForImport` + +```typescript +import { provider } from '@cdktf/provider-hcp' + +provider.HcpProvider.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the HcpProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing HcpProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the HcpProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultCluster.csharp.md b/docs/vaultCluster.csharp.md index ca6b3ecc7..78f05443b 100644 --- a/docs/vaultCluster.csharp.md +++ b/docs/vaultCluster.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutAuditLogConfig | *No description.* | | PutMajorVersionUpgradeConfig | *No description.* | | PutMetricsConfig | *No description.* | @@ -153,6 +156,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -261,6 +280,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -273,6 +310,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutAuditLogConfig` ```csharp @@ -400,6 +461,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". | --- @@ -463,6 +525,50 @@ VaultCluster.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +VaultCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultCluster.go.md b/docs/vaultCluster.go.md index d6dd8a7fb..999932a1f 100644 --- a/docs/vaultCluster.go.md +++ b/docs/vaultCluster.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutAuditLogConfig | *No description.* | | PutMajorVersionUpgradeConfig | *No description.* | | PutMetricsConfig | *No description.* | @@ -153,6 +156,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -261,6 +280,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -273,6 +310,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutAuditLogConfig` ```go @@ -400,6 +461,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". | --- @@ -463,6 +525,50 @@ vaultcluster.VaultCluster_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/vaultcluster" + +vaultcluster.VaultCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the VaultCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultCluster.java.md b/docs/vaultCluster.java.md index 35a2cf370..c5b2652a9 100644 --- a/docs/vaultCluster.java.md +++ b/docs/vaultCluster.java.md @@ -293,6 +293,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -302,7 +303,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putAuditLogConfig | *No description.* | | putMajorVersionUpgradeConfig | *No description.* | | putMetricsConfig | *No description.* | @@ -386,6 +389,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -494,6 +513,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -506,6 +544,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putAuditLogConfig` ```java @@ -633,6 +696,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". | --- @@ -696,6 +760,50 @@ VaultCluster.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.vault_cluster.VaultCluster; + +VaultCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VaultCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the VaultCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultCluster.python.md b/docs/vaultCluster.python.md index f76a60a9a..730b71cd7 100644 --- a/docs/vaultCluster.python.md +++ b/docs/vaultCluster.python.md @@ -290,6 +290,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -299,7 +300,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_audit_log_config | *No description.* | | put_major_version_upgrade_config | *No description.* | | put_metrics_config | *No description.* | @@ -388,6 +391,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -514,6 +535,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -528,6 +570,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_audit_log_config` ```python @@ -992,6 +1061,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". | --- @@ -1061,6 +1131,55 @@ vaultCluster.VaultCluster.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import vault_cluster + +vaultCluster.VaultCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the VaultCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultCluster.typescript.md b/docs/vaultCluster.typescript.md index 39d997be3..f153c3bc0 100644 --- a/docs/vaultCluster.typescript.md +++ b/docs/vaultCluster.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putAuditLogConfig | *No description.* | | putMajorVersionUpgradeConfig | *No description.* | | putMetricsConfig | *No description.* | @@ -153,6 +156,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -261,6 +280,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -273,6 +310,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putAuditLogConfig` ```typescript @@ -400,6 +461,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". | --- @@ -463,6 +525,50 @@ vaultCluster.VaultCluster.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { vaultCluster } from '@cdktf/provider-hcp' + +vaultCluster.VaultCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VaultCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultClusterAdminToken.csharp.md b/docs/vaultClusterAdminToken.csharp.md index 74ad2c4b6..2e7c869f5 100644 --- a/docs/vaultClusterAdminToken.csharp.md +++ b/docs/vaultClusterAdminToken.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ VaultClusterAdminToken.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +VaultClusterAdminToken.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultClusterAdminToken to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VaultClusterAdminToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster_admin_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VaultClusterAdminToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultClusterAdminToken.go.md b/docs/vaultClusterAdminToken.go.md index 4f70dd856..8c6362d8d 100644 --- a/docs/vaultClusterAdminToken.go.md +++ b/docs/vaultClusterAdminToken.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ vaultclusteradmintoken.VaultClusterAdminToken_IsTerraformResource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/vaultclusteradmintoken" + +vaultclusteradmintoken.VaultClusterAdminToken_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the VaultClusterAdminToken to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VaultClusterAdminToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster_admin_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VaultClusterAdminToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultClusterAdminToken.java.md b/docs/vaultClusterAdminToken.java.md index 2d7daf666..52a070375 100644 --- a/docs/vaultClusterAdminToken.java.md +++ b/docs/vaultClusterAdminToken.java.md @@ -166,6 +166,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -175,7 +176,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -247,6 +250,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -355,6 +374,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -367,6 +405,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -404,6 +467,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". | --- @@ -467,6 +531,50 @@ VaultClusterAdminToken.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.vault_cluster_admin_token.VaultClusterAdminToken; + +VaultClusterAdminToken.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VaultClusterAdminToken.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the VaultClusterAdminToken to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VaultClusterAdminToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster_admin_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VaultClusterAdminToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultClusterAdminToken.python.md b/docs/vaultClusterAdminToken.python.md index 3204b4517..e19ae851e 100644 --- a/docs/vaultClusterAdminToken.python.md +++ b/docs/vaultClusterAdminToken.python.md @@ -164,6 +164,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -173,7 +174,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -250,6 +253,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -376,6 +397,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -390,6 +432,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -449,6 +518,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". | --- @@ -518,6 +588,55 @@ vaultClusterAdminToken.VaultClusterAdminToken.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import vault_cluster_admin_token + +vaultClusterAdminToken.VaultClusterAdminToken.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the VaultClusterAdminToken to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VaultClusterAdminToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster_admin_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultClusterAdminToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultClusterAdminToken.typescript.md b/docs/vaultClusterAdminToken.typescript.md index 140c655a2..8c801f9c6 100644 --- a/docs/vaultClusterAdminToken.typescript.md +++ b/docs/vaultClusterAdminToken.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ vaultClusterAdminToken.VaultClusterAdminToken.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { vaultClusterAdminToken } from '@cdktf/provider-hcp' + +vaultClusterAdminToken.VaultClusterAdminToken.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultClusterAdminToken to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VaultClusterAdminToken that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster_admin_token#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultClusterAdminToken to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultPlugin.csharp.md b/docs/vaultPlugin.csharp.md index 7e2ce1f86..68b4b99f4 100644 --- a/docs/vaultPlugin.csharp.md +++ b/docs/vaultPlugin.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -249,6 +268,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -261,6 +298,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -298,6 +359,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ VaultPlugin.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +VaultPlugin.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultPlugin to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultPlugin.go.md b/docs/vaultPlugin.go.md index 300a8e423..b2f4226dc 100644 --- a/docs/vaultPlugin.go.md +++ b/docs/vaultPlugin.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetId | *No description.* | | ResetProjectId | *No description.* | @@ -141,6 +144,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -249,6 +268,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -261,6 +298,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -298,6 +359,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ vaultplugin.VaultPlugin_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/vaultplugin" + +vaultplugin.VaultPlugin_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the VaultPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultPlugin.java.md b/docs/vaultPlugin.java.md index 29abfb69e..27ab40f2a 100644 --- a/docs/vaultPlugin.java.md +++ b/docs/vaultPlugin.java.md @@ -190,6 +190,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -199,7 +200,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -271,6 +274,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -379,6 +398,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -391,6 +429,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -428,6 +491,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". | --- @@ -491,6 +555,50 @@ VaultPlugin.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.vault_plugin.VaultPlugin; + +VaultPlugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VaultPlugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the VaultPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultPlugin.python.md b/docs/vaultPlugin.python.md index 2445dfb93..e3d64872b 100644 --- a/docs/vaultPlugin.python.md +++ b/docs/vaultPlugin.python.md @@ -188,6 +188,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -197,7 +198,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_id | *No description.* | | reset_project_id | *No description.* | @@ -274,6 +277,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -400,6 +421,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -414,6 +456,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -455,6 +524,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". | --- @@ -524,6 +594,55 @@ vaultPlugin.VaultPlugin.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import vault_plugin + +vaultPlugin.VaultPlugin.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the VaultPlugin to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultPlugin.typescript.md b/docs/vaultPlugin.typescript.md index 3e0c3edee..7b2cc085e 100644 --- a/docs/vaultPlugin.typescript.md +++ b/docs/vaultPlugin.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetId | *No description.* | | resetProjectId | *No description.* | @@ -141,6 +144,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -249,6 +268,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -261,6 +298,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -298,6 +359,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ vaultPlugin.VaultPlugin.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { vaultPlugin } from '@cdktf/provider-hcp' + +vaultPlugin.VaultPlugin.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VaultPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_plugin#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsApp.csharp.md b/docs/vaultSecretsApp.csharp.md index 863f3703a..327909057 100644 --- a/docs/vaultSecretsApp.csharp.md +++ b/docs/vaultSecretsApp.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | ResetDescription | *No description.* | --- @@ -138,6 +141,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -246,6 +265,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -258,6 +295,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetDescription` ```csharp @@ -271,6 +332,7 @@ private void ResetDescription() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ VaultSecretsApp.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +VaultSecretsApp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultSecretsApp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsApp.go.md b/docs/vaultSecretsApp.go.md index 3617c8d54..60776c53a 100644 --- a/docs/vaultSecretsApp.go.md +++ b/docs/vaultSecretsApp.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | ResetDescription | *No description.* | --- @@ -138,6 +141,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -246,6 +265,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -258,6 +295,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetDescription` ```go @@ -271,6 +332,7 @@ func ResetDescription() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ vaultsecretsapp.VaultSecretsApp_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/vaultsecretsapp" + +vaultsecretsapp.VaultSecretsApp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the VaultSecretsApp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsApp.java.md b/docs/vaultSecretsApp.java.md index a816dc04b..5693696af 100644 --- a/docs/vaultSecretsApp.java.md +++ b/docs/vaultSecretsApp.java.md @@ -138,6 +138,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -147,7 +148,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | resetDescription | *No description.* | --- @@ -216,6 +219,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -324,6 +343,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -336,6 +374,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetDescription` ```java @@ -349,6 +412,7 @@ public void resetDescription() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". | --- @@ -412,6 +476,50 @@ VaultSecretsApp.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.vault_secrets_app.VaultSecretsApp; + +VaultSecretsApp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VaultSecretsApp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the VaultSecretsApp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsApp.python.md b/docs/vaultSecretsApp.python.md index 666a47a72..ee690f63d 100644 --- a/docs/vaultSecretsApp.python.md +++ b/docs/vaultSecretsApp.python.md @@ -136,6 +136,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -145,7 +146,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | reset_description | *No description.* | --- @@ -219,6 +222,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -345,6 +366,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -359,6 +401,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `reset_description` ```python @@ -372,6 +441,7 @@ def reset_description() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". | --- @@ -441,6 +511,55 @@ vaultSecretsApp.VaultSecretsApp.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import vault_secrets_app + +vaultSecretsApp.VaultSecretsApp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the VaultSecretsApp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsApp.typescript.md b/docs/vaultSecretsApp.typescript.md index b65a603d6..25165ad7e 100644 --- a/docs/vaultSecretsApp.typescript.md +++ b/docs/vaultSecretsApp.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | resetDescription | *No description.* | --- @@ -138,6 +141,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -246,6 +265,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -258,6 +295,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetDescription` ```typescript @@ -271,6 +332,7 @@ public resetDescription(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ vaultSecretsApp.VaultSecretsApp.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { vaultSecretsApp } from '@cdktf/provider-hcp' + +vaultSecretsApp.VaultSecretsApp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultSecretsApp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VaultSecretsApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsSecret.csharp.md b/docs/vaultSecretsSecret.csharp.md index 240584868..48ccc69c0 100644 --- a/docs/vaultSecretsSecret.csharp.md +++ b/docs/vaultSecretsSecret.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | --- @@ -137,6 +140,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -245,6 +264,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -257,6 +294,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + #### Static Functions | **Name** | **Description** | @@ -264,6 +325,7 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -327,6 +389,50 @@ VaultSecretsSecret.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Hcp; + +VaultSecretsSecret.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultSecretsSecret to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsSecret.go.md b/docs/vaultSecretsSecret.go.md index 90b529ba1..976e860f0 100644 --- a/docs/vaultSecretsSecret.go.md +++ b/docs/vaultSecretsSecret.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | --- @@ -137,6 +140,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -245,6 +264,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -257,6 +294,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + #### Static Functions | **Name** | **Description** | @@ -264,6 +325,7 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -327,6 +389,50 @@ vaultsecretssecret.VaultSecretsSecret_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-hcp-go/hcp/v8/vaultsecretssecret" + +vaultsecretssecret.VaultSecretsSecret_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the VaultSecretsSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsSecret.java.md b/docs/vaultSecretsSecret.java.md index 64fffb85e..04c292c62 100644 --- a/docs/vaultSecretsSecret.java.md +++ b/docs/vaultSecretsSecret.java.md @@ -150,6 +150,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -159,7 +160,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | --- @@ -227,6 +230,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -335,6 +354,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -347,6 +385,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + #### Static Functions | **Name** | **Description** | @@ -354,6 +417,7 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -417,6 +481,50 @@ VaultSecretsSecret.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.hcp.vault_secrets_secret.VaultSecretsSecret; + +VaultSecretsSecret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VaultSecretsSecret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the VaultSecretsSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsSecret.python.md b/docs/vaultSecretsSecret.python.md index 7cbfc2cd2..1bf2fa83e 100644 --- a/docs/vaultSecretsSecret.python.md +++ b/docs/vaultSecretsSecret.python.md @@ -148,6 +148,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -157,7 +158,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashi | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | --- @@ -230,6 +233,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -356,6 +377,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -370,6 +412,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + #### Static Functions | **Name** | **Description** | @@ -377,6 +446,7 @@ def interpolation_for_attribute( | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -446,6 +516,55 @@ vaultSecretsSecret.VaultSecretsSecret.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_hcp import vault_secrets_secret + +vaultSecretsSecret.VaultSecretsSecret.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the VaultSecretsSecret to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vaultSecretsSecret.typescript.md b/docs/vaultSecretsSecret.typescript.md index 0f7bebdcf..e34ad26c1 100644 --- a/docs/vaultSecretsSecret.typescript.md +++ b/docs/vaultSecretsSecret.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | --- @@ -137,6 +140,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -245,6 +264,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -257,6 +294,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + #### Static Functions | **Name** | **Description** | @@ -264,6 +325,7 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". | --- @@ -327,6 +389,50 @@ vaultSecretsSecret.VaultSecretsSecret.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { vaultSecretsSecret } from '@cdktf/provider-hcp' + +vaultSecretsSecret.VaultSecretsSecret.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the VaultSecretsSecret to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VaultSecretsSecret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VaultSecretsSecret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/package.json b/package.json index e6d81c57f..a7be915ae 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "@actions/core": "^1.1.0", "@cdktf/provider-project": "^0.2.95", "@types/node": "^18", - "cdktf": "^0.18.0", - "cdktf-cli": "^0.18.0", + "cdktf": "^0.19.0", + "cdktf-cli": "^0.19.0", "constructs": "^10.0.0", "dot-prop": "^5.2.0", "jsii": "^5.0.1", @@ -58,12 +58,12 @@ "jsii-rosetta": "~5.1.2", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.74.18", + "projen": "^0.75.0", "standard-version": "^9", "typescript": "^4.9.5" }, "peerDependencies": { - "cdktf": "^0.18.0", + "cdktf": "^0.19.0", "constructs": "^10.0.0" }, "resolutions": { diff --git a/src/aws-network-peering/index.ts b/src/aws-network-peering/index.ts index 8a238659b..0b72c7787 100644 --- a/src/aws-network-peering/index.ts +++ b/src/aws-network-peering/index.ts @@ -205,6 +205,20 @@ export class AwsNetworkPeering extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_aws_network_peering"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a AwsNetworkPeering resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the AwsNetworkPeering to import + * @param importFromId The id of the existing AwsNetworkPeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_network_peering#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the AwsNetworkPeering to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_aws_network_peering", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/aws-transit-gateway-attachment/index.ts b/src/aws-transit-gateway-attachment/index.ts index c47ef96af..1f45c73d6 100644 --- a/src/aws-transit-gateway-attachment/index.ts +++ b/src/aws-transit-gateway-attachment/index.ts @@ -199,6 +199,20 @@ export class AwsTransitGatewayAttachment extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_aws_transit_gateway_attachment"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a AwsTransitGatewayAttachment resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the AwsTransitGatewayAttachment to import + * @param importFromId The id of the existing AwsTransitGatewayAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the AwsTransitGatewayAttachment to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_aws_transit_gateway_attachment", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/azure-peering-connection/index.ts b/src/azure-peering-connection/index.ts index 9691dc6fa..2e2027e14 100644 --- a/src/azure-peering-connection/index.ts +++ b/src/azure-peering-connection/index.ts @@ -208,6 +208,20 @@ export class AzurePeeringConnection extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_azure_peering_connection"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a AzurePeeringConnection resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the AzurePeeringConnection to import + * @param importFromId The id of the existing AzurePeeringConnection that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the AzurePeeringConnection to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_azure_peering_connection", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/boundary-cluster/index.ts b/src/boundary-cluster/index.ts index 6d0a37b68..a93eb3c97 100644 --- a/src/boundary-cluster/index.ts +++ b/src/boundary-cluster/index.ts @@ -359,6 +359,20 @@ export class BoundaryCluster extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_boundary_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a BoundaryCluster resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the BoundaryCluster to import + * @param importFromId The id of the existing BoundaryCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/boundary_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the BoundaryCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_boundary_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/consul-cluster-root-token/index.ts b/src/consul-cluster-root-token/index.ts index b1dbd9e2c..5ffb5a036 100644 --- a/src/consul-cluster-root-token/index.ts +++ b/src/consul-cluster-root-token/index.ts @@ -127,6 +127,20 @@ export class ConsulClusterRootToken extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_consul_cluster_root_token"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ConsulClusterRootToken resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the ConsulClusterRootToken to import + * @param importFromId The id of the existing ConsulClusterRootToken that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster_root_token#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ConsulClusterRootToken to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_cluster_root_token", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/consul-cluster/index.ts b/src/consul-cluster/index.ts index c36664be8..bd7cdea9d 100644 --- a/src/consul-cluster/index.ts +++ b/src/consul-cluster/index.ts @@ -393,6 +393,20 @@ export class ConsulCluster extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_consul_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ConsulCluster resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the ConsulCluster to import + * @param importFromId The id of the existing ConsulCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ConsulCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/consul-snapshot/index.ts b/src/consul-snapshot/index.ts index 3ea3c2fa3..57747d279 100644 --- a/src/consul-snapshot/index.ts +++ b/src/consul-snapshot/index.ts @@ -214,6 +214,20 @@ export class ConsulSnapshot extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_consul_snapshot"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ConsulSnapshot resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the ConsulSnapshot to import + * @param importFromId The id of the existing ConsulSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/consul_snapshot#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ConsulSnapshot to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_snapshot", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-aws-network-peering/index.ts b/src/data-hcp-aws-network-peering/index.ts index 942f943ac..620e2a78a 100644 --- a/src/data-hcp-aws-network-peering/index.ts +++ b/src/data-hcp-aws-network-peering/index.ts @@ -139,6 +139,20 @@ export class DataHcpAwsNetworkPeering extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_aws_network_peering"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpAwsNetworkPeering resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpAwsNetworkPeering to import + * @param importFromId The id of the existing DataHcpAwsNetworkPeering that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_network_peering#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpAwsNetworkPeering to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_aws_network_peering", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-aws-transit-gateway-attachment/index.ts b/src/data-hcp-aws-transit-gateway-attachment/index.ts index cc823f648..288a13bdf 100644 --- a/src/data-hcp-aws-transit-gateway-attachment/index.ts +++ b/src/data-hcp-aws-transit-gateway-attachment/index.ts @@ -139,6 +139,20 @@ export class DataHcpAwsTransitGatewayAttachment extends cdktf.TerraformDataSourc // ================= public static readonly tfResourceType = "hcp_aws_transit_gateway_attachment"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpAwsTransitGatewayAttachment resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpAwsTransitGatewayAttachment to import + * @param importFromId The id of the existing DataHcpAwsTransitGatewayAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/aws_transit_gateway_attachment#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpAwsTransitGatewayAttachment to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_aws_transit_gateway_attachment", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-azure-peering-connection/index.ts b/src/data-hcp-azure-peering-connection/index.ts index 2e1d56726..ea79a7a52 100644 --- a/src/data-hcp-azure-peering-connection/index.ts +++ b/src/data-hcp-azure-peering-connection/index.ts @@ -130,6 +130,20 @@ export class DataHcpAzurePeeringConnection extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_azure_peering_connection"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpAzurePeeringConnection resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpAzurePeeringConnection to import + * @param importFromId The id of the existing DataHcpAzurePeeringConnection that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/azure_peering_connection#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpAzurePeeringConnection to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_azure_peering_connection", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-boundary-cluster/index.ts b/src/data-hcp-boundary-cluster/index.ts index e43701982..71a126514 100644 --- a/src/data-hcp-boundary-cluster/index.ts +++ b/src/data-hcp-boundary-cluster/index.ts @@ -206,6 +206,20 @@ export class DataHcpBoundaryCluster extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_boundary_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpBoundaryCluster resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpBoundaryCluster to import + * @param importFromId The id of the existing DataHcpBoundaryCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/boundary_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpBoundaryCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_boundary_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-consul-agent-helm-config/index.ts b/src/data-hcp-consul-agent-helm-config/index.ts index 5417efeec..c56158734 100644 --- a/src/data-hcp-consul-agent-helm-config/index.ts +++ b/src/data-hcp-consul-agent-helm-config/index.ts @@ -139,6 +139,20 @@ export class DataHcpConsulAgentHelmConfig extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_consul_agent_helm_config"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpConsulAgentHelmConfig resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpConsulAgentHelmConfig to import + * @param importFromId The id of the existing DataHcpConsulAgentHelmConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_helm_config#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpConsulAgentHelmConfig to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_agent_helm_config", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-consul-agent-kubernetes-secret/index.ts b/src/data-hcp-consul-agent-kubernetes-secret/index.ts index ed359ad4d..ee78c8859 100644 --- a/src/data-hcp-consul-agent-kubernetes-secret/index.ts +++ b/src/data-hcp-consul-agent-kubernetes-secret/index.ts @@ -127,6 +127,20 @@ export class DataHcpConsulAgentKubernetesSecret extends cdktf.TerraformDataSourc // ================= public static readonly tfResourceType = "hcp_consul_agent_kubernetes_secret"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpConsulAgentKubernetesSecret resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpConsulAgentKubernetesSecret to import + * @param importFromId The id of the existing DataHcpConsulAgentKubernetesSecret that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_agent_kubernetes_secret#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpConsulAgentKubernetesSecret to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_agent_kubernetes_secret", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-consul-cluster/index.ts b/src/data-hcp-consul-cluster/index.ts index 913a44e49..c740439fc 100644 --- a/src/data-hcp-consul-cluster/index.ts +++ b/src/data-hcp-consul-cluster/index.ts @@ -196,6 +196,20 @@ export class DataHcpConsulCluster extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_consul_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpConsulCluster resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpConsulCluster to import + * @param importFromId The id of the existing DataHcpConsulCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpConsulCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-consul-versions/index.ts b/src/data-hcp-consul-versions/index.ts index f9b5e55af..ad8a2945a 100644 --- a/src/data-hcp-consul-versions/index.ts +++ b/src/data-hcp-consul-versions/index.ts @@ -112,6 +112,20 @@ export class DataHcpConsulVersions extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_consul_versions"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpConsulVersions resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpConsulVersions to import + * @param importFromId The id of the existing DataHcpConsulVersions that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/consul_versions#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpConsulVersions to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_consul_versions", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-hvn-peering-connection/index.ts b/src/data-hcp-hvn-peering-connection/index.ts index d03d54886..154e03318 100644 --- a/src/data-hcp-hvn-peering-connection/index.ts +++ b/src/data-hcp-hvn-peering-connection/index.ts @@ -136,6 +136,20 @@ export class DataHcpHvnPeeringConnection extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_hvn_peering_connection"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpHvnPeeringConnection resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpHvnPeeringConnection to import + * @param importFromId The id of the existing DataHcpHvnPeeringConnection that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpHvnPeeringConnection to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_hvn_peering_connection", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-hvn-route/index.ts b/src/data-hcp-hvn-route/index.ts index b109b3af1..f471a17be 100644 --- a/src/data-hcp-hvn-route/index.ts +++ b/src/data-hcp-hvn-route/index.ts @@ -130,6 +130,20 @@ export class DataHcpHvnRoute extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_hvn_route"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpHvnRoute resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpHvnRoute to import + * @param importFromId The id of the existing DataHcpHvnRoute that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn_route#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpHvnRoute to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_hvn_route", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-hvn/index.ts b/src/data-hcp-hvn/index.ts index ef177c681..51482931d 100644 --- a/src/data-hcp-hvn/index.ts +++ b/src/data-hcp-hvn/index.ts @@ -127,6 +127,20 @@ export class DataHcpHvn extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_hvn"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpHvn resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpHvn to import + * @param importFromId The id of the existing DataHcpHvn that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/hvn#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpHvn to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_hvn", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-organization/index.ts b/src/data-hcp-organization/index.ts index ae2baae14..e4eb036b4 100644 --- a/src/data-hcp-organization/index.ts +++ b/src/data-hcp-organization/index.ts @@ -24,6 +24,20 @@ export class DataHcpOrganization extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_organization"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpOrganization resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpOrganization to import + * @param importFromId The id of the existing DataHcpOrganization that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/organization#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpOrganization to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_organization", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-packer-bucket-names/index.ts b/src/data-hcp-packer-bucket-names/index.ts index 921b4c89f..6c4a3cb76 100644 --- a/src/data-hcp-packer-bucket-names/index.ts +++ b/src/data-hcp-packer-bucket-names/index.ts @@ -118,6 +118,20 @@ export class DataHcpPackerBucketNames extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_packer_bucket_names"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpPackerBucketNames resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpPackerBucketNames to import + * @param importFromId The id of the existing DataHcpPackerBucketNames that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_bucket_names#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpPackerBucketNames to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_bucket_names", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-packer-image/index.ts b/src/data-hcp-packer-image/index.ts index de2e30b0d..b7c482cd0 100644 --- a/src/data-hcp-packer-image/index.ts +++ b/src/data-hcp-packer-image/index.ts @@ -157,6 +157,20 @@ export class DataHcpPackerImage extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_packer_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpPackerImage resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpPackerImage to import + * @param importFromId The id of the existing DataHcpPackerImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_image#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpPackerImage to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-packer-iteration/index.ts b/src/data-hcp-packer-iteration/index.ts index 38feadf89..ba6d46f5b 100644 --- a/src/data-hcp-packer-iteration/index.ts +++ b/src/data-hcp-packer-iteration/index.ts @@ -133,6 +133,20 @@ export class DataHcpPackerIteration extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_packer_iteration"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpPackerIteration resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpPackerIteration to import + * @param importFromId The id of the existing DataHcpPackerIteration that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_iteration#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpPackerIteration to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_iteration", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-packer-run-task/index.ts b/src/data-hcp-packer-run-task/index.ts index c7300f623..206a0e5d4 100644 --- a/src/data-hcp-packer-run-task/index.ts +++ b/src/data-hcp-packer-run-task/index.ts @@ -121,6 +121,20 @@ export class DataHcpPackerRunTask extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_packer_run_task"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpPackerRunTask resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpPackerRunTask to import + * @param importFromId The id of the existing DataHcpPackerRunTask that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/packer_run_task#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpPackerRunTask to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_run_task", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-project/index.ts b/src/data-hcp-project/index.ts index dba82b3c0..eb092459d 100644 --- a/src/data-hcp-project/index.ts +++ b/src/data-hcp-project/index.ts @@ -30,6 +30,20 @@ export class DataHcpProject extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_project"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpProject resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpProject to import + * @param importFromId The id of the existing DataHcpProject that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpProject to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_project", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-vault-cluster/index.ts b/src/data-hcp-vault-cluster/index.ts index 58aa7c789..13512c2a4 100644 --- a/src/data-hcp-vault-cluster/index.ts +++ b/src/data-hcp-vault-cluster/index.ts @@ -478,6 +478,20 @@ export class DataHcpVaultCluster extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_vault_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpVaultCluster resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpVaultCluster to import + * @param importFromId The id of the existing DataHcpVaultCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpVaultCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-vault-plugin/index.ts b/src/data-hcp-vault-plugin/index.ts index 9cc7e3d2b..75b4a9d61 100644 --- a/src/data-hcp-vault-plugin/index.ts +++ b/src/data-hcp-vault-plugin/index.ts @@ -139,6 +139,20 @@ export class DataHcpVaultPlugin extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_vault_plugin"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpVaultPlugin resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpVaultPlugin to import + * @param importFromId The id of the existing DataHcpVaultPlugin that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_plugin#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpVaultPlugin to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_plugin", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-vault-secrets-app/index.ts b/src/data-hcp-vault-secrets-app/index.ts index 01d805b08..bf7febc6e 100644 --- a/src/data-hcp-vault-secrets-app/index.ts +++ b/src/data-hcp-vault-secrets-app/index.ts @@ -30,6 +30,20 @@ export class DataHcpVaultSecretsApp extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_vault_secrets_app"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpVaultSecretsApp resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpVaultSecretsApp to import + * @param importFromId The id of the existing DataHcpVaultSecretsApp that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpVaultSecretsApp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_secrets_app", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-hcp-vault-secrets-secret/index.ts b/src/data-hcp-vault-secrets-secret/index.ts index 78419444c..a0495bf96 100644 --- a/src/data-hcp-vault-secrets-secret/index.ts +++ b/src/data-hcp-vault-secrets-secret/index.ts @@ -36,6 +36,20 @@ export class DataHcpVaultSecretsSecret extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "hcp_vault_secrets_secret"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataHcpVaultSecretsSecret resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the DataHcpVaultSecretsSecret to import + * @param importFromId The id of the existing DataHcpVaultSecretsSecret that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/data-sources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataHcpVaultSecretsSecret to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_secrets_secret", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/hvn-peering-connection/index.ts b/src/hvn-peering-connection/index.ts index 950b89610..0cacaa9a8 100644 --- a/src/hvn-peering-connection/index.ts +++ b/src/hvn-peering-connection/index.ts @@ -184,6 +184,20 @@ export class HvnPeeringConnection extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_hvn_peering_connection"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a HvnPeeringConnection resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the HvnPeeringConnection to import + * @param importFromId The id of the existing HvnPeeringConnection that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_peering_connection#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the HvnPeeringConnection to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_hvn_peering_connection", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/hvn-route/index.ts b/src/hvn-route/index.ts index 159e54b5b..95aab739e 100644 --- a/src/hvn-route/index.ts +++ b/src/hvn-route/index.ts @@ -196,6 +196,20 @@ export class HvnRoute extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_hvn_route"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a HvnRoute resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the HvnRoute to import + * @param importFromId The id of the existing HvnRoute that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn_route#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the HvnRoute to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_hvn_route", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/hvn/index.ts b/src/hvn/index.ts index 5d5eb3c4a..4179df012 100644 --- a/src/hvn/index.ts +++ b/src/hvn/index.ts @@ -199,6 +199,20 @@ export class Hvn extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_hvn"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Hvn resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the Hvn to import + * @param importFromId The id of the existing Hvn that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/hvn#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Hvn to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_hvn", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/packer-channel-assignment/index.ts b/src/packer-channel-assignment/index.ts index 657e98f94..4caa9c8fd 100644 --- a/src/packer-channel-assignment/index.ts +++ b/src/packer-channel-assignment/index.ts @@ -232,6 +232,20 @@ export class PackerChannelAssignment extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_packer_channel_assignment"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a PackerChannelAssignment resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the PackerChannelAssignment to import + * @param importFromId The id of the existing PackerChannelAssignment that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel_assignment#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the PackerChannelAssignment to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_channel_assignment", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/packer-channel/index.ts b/src/packer-channel/index.ts index b2b3f78ec..d42a65217 100644 --- a/src/packer-channel/index.ts +++ b/src/packer-channel/index.ts @@ -220,6 +220,20 @@ export class PackerChannel extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_packer_channel"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a PackerChannel resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the PackerChannel to import + * @param importFromId The id of the existing PackerChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_channel#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the PackerChannel to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_channel", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/packer-run-task/index.ts b/src/packer-run-task/index.ts index fc4e7460f..963d2e432 100644 --- a/src/packer-run-task/index.ts +++ b/src/packer-run-task/index.ts @@ -208,6 +208,20 @@ export class PackerRunTask extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_packer_run_task"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a PackerRunTask resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the PackerRunTask to import + * @param importFromId The id of the existing PackerRunTask that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/packer_run_task#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the PackerRunTask to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_packer_run_task", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/project/index.ts b/src/project/index.ts index 00c622d4c..a072d8904 100644 --- a/src/project/index.ts +++ b/src/project/index.ts @@ -36,6 +36,20 @@ export class Project extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_project"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Project resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the Project to import + * @param importFromId The id of the existing Project that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Project to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_project", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/provider/index.ts b/src/provider/index.ts index 84ed729b5..7ca7ef1e5 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -48,6 +48,20 @@ export class HcpProvider extends cdktf.TerraformProvider { // ================= public static readonly tfResourceType = "hcp"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a HcpProvider resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the HcpProvider to import + * @param importFromId The id of the existing HcpProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the HcpProvider to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/vault-cluster-admin-token/index.ts b/src/vault-cluster-admin-token/index.ts index d479b29da..00a553a6b 100644 --- a/src/vault-cluster-admin-token/index.ts +++ b/src/vault-cluster-admin-token/index.ts @@ -181,6 +181,20 @@ export class VaultClusterAdminToken extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_vault_cluster_admin_token"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VaultClusterAdminToken resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the VaultClusterAdminToken to import + * @param importFromId The id of the existing VaultClusterAdminToken that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster_admin_token#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VaultClusterAdminToken to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_cluster_admin_token", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/vault-cluster/index.ts b/src/vault-cluster/index.ts index 463c5a450..664edc5f3 100644 --- a/src/vault-cluster/index.ts +++ b/src/vault-cluster/index.ts @@ -1245,6 +1245,20 @@ export class VaultCluster extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_vault_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VaultCluster resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the VaultCluster to import + * @param importFromId The id of the existing VaultCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VaultCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/vault-plugin/index.ts b/src/vault-plugin/index.ts index 90750687b..8fd19ceb9 100644 --- a/src/vault-plugin/index.ts +++ b/src/vault-plugin/index.ts @@ -139,6 +139,20 @@ export class VaultPlugin extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_vault_plugin"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VaultPlugin resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the VaultPlugin to import + * @param importFromId The id of the existing VaultPlugin that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_plugin#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VaultPlugin to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_plugin", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/vault-secrets-app/index.ts b/src/vault-secrets-app/index.ts index 867d45e74..66cb6a5c9 100644 --- a/src/vault-secrets-app/index.ts +++ b/src/vault-secrets-app/index.ts @@ -36,6 +36,20 @@ export class VaultSecretsApp extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_vault_secrets_app"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VaultSecretsApp resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the VaultSecretsApp to import + * @param importFromId The id of the existing VaultSecretsApp that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_app#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VaultSecretsApp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_secrets_app", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/vault-secrets-secret/index.ts b/src/vault-secrets-secret/index.ts index d1113ada4..f449c4e40 100644 --- a/src/vault-secrets-secret/index.ts +++ b/src/vault-secrets-secret/index.ts @@ -42,6 +42,20 @@ export class VaultSecretsSecret extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "hcp_vault_secrets_secret"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VaultSecretsSecret resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the VaultSecretsSecret to import + * @param importFromId The id of the existing VaultSecretsSecret that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.73.0/docs/resources/vault_secrets_secret#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VaultSecretsSecret to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "hcp_vault_secrets_secret", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/yarn.lock b/yarn.lock index b68674407..1c1f0f481 100644 --- a/yarn.lock +++ b/yarn.lock @@ -78,19 +78,19 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" -"@cdktf/cli-core@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/cli-core/-/cli-core-0.18.2.tgz#32ebaca2c79ed3b2341bf46e3bdf4db6991b0f5e" - integrity sha512-deJzuZIJ829tzx0X1t1E1n6jeSCal2SoR1v9r9F6EFTlfAhU3uccj6z6e8RalnLKh4SMJWRtN8PsWzuGaBEN2Q== - dependencies: - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2cdk" "0.18.2" - "@cdktf/hcl2json" "0.18.2" - "@cdktf/node-pty-prebuilt-multiarch" "0.10.1-pre.10" - "@cdktf/provider-schema" "0.18.2" +"@cdktf/cli-core@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/cli-core/-/cli-core-0.19.0.tgz#ed2bccb413332f8cfb685662d60bcbb17c4d5fdb" + integrity sha512-iSkhxuSHEPkPCPwvcM81ytniS3v/3YT+zY/MzeKWVkaMj1hZDF3e2C5gnjOdrb0ZCFIH1+znF+aJK9LiqBoV+Q== + dependencies: + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2cdk" "0.19.0" + "@cdktf/hcl2json" "0.19.0" + "@cdktf/node-pty-prebuilt-multiarch" "0.10.1-pre.11" + "@cdktf/provider-schema" "0.19.0" "@sentry/node" "^7.64.0" archiver "^5.3.1" - cdktf "0.18.2" + cdktf "0.19.0" chalk "^4.1.2" chokidar "^3.5.3" cli-spinners "2.7.0" @@ -132,13 +132,13 @@ yoga-layout-prebuilt "^1.10.0" zod "^1.11.17" -"@cdktf/commons@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/commons/-/commons-0.18.2.tgz#3c14a69681510e4b3a4a989cc0fd31a523232cd0" - integrity sha512-9jLT7K6bkGWdy8wRbpZfmAnzDPczV9NBpGIS3vsKJCZwoipccmG2LD12DlbM3610IHISksya2AQLlLmJMsTnmA== +"@cdktf/commons@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/commons/-/commons-0.19.0.tgz#e0bc7e428b4689550ac9c652e366116114d09875" + integrity sha512-zhqGhx7PWa1lCa1B7RUH1qoln2emrGbGJ3kjRKMOxJxbTKdQBwFUbsaEOiOAVBm0ukTt2DX+VWQc8YPpMgSbgA== dependencies: "@sentry/node" "^7.64.0" - cdktf "0.18.2" + cdktf "0.19.0" ci-info "^3.8.0" codemaker "^1.87.0" constructs "^10.0.25" @@ -149,18 +149,18 @@ log4js "^6.9.1" uuid "^9.0.1" -"@cdktf/hcl2cdk@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/hcl2cdk/-/hcl2cdk-0.18.2.tgz#1ec46d43a3e7ef5a17f123aa3cd683df621b956b" - integrity sha512-/AdUWmg1EC++HrS2I/C8H3JV1m/JfK3ONGBY1efNlc3LO7TBKJssKWVBMtYp45IJD86m7rNBOeL1TD0AZ1KjrQ== +"@cdktf/hcl2cdk@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/hcl2cdk/-/hcl2cdk-0.19.0.tgz#1077eb093f56424c60315dda350648f1f608fb0d" + integrity sha512-43XWR/ZLZVc8amOC6GmyGFkK9doiP9DKMjEDpYEnXCl1UhdFGHHipcSK6fnc30RCIq3KFF9FTuztvUyruToRyA== dependencies: "@babel/generator" "^7.21.4" "@babel/template" "^7.20.7" "@babel/types" "^7.21.4" - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2json" "0.18.2" - "@cdktf/provider-generator" "0.18.2" - "@cdktf/provider-schema" "0.18.2" + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2json" "0.19.0" + "@cdktf/provider-generator" "0.19.0" + "@cdktf/provider-schema" "0.19.0" camelcase "^6.3.0" deep-equal "^2.2.0" glob "^10.3.3" @@ -171,49 +171,49 @@ reserved-words "^0.1.2" zod "^3.21.4" -"@cdktf/hcl2json@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/hcl2json/-/hcl2json-0.18.2.tgz#fd23555d9b2620ed561a9f18843c9d8ee28eb20a" - integrity sha512-TSuIMet9RSuXUWPz40ed/W4WMu92aHVnJ44lB5nap9E1PE8brr7FhnW32dFOy9m2H8WU4GAfSQ0k3GW6JitSig== +"@cdktf/hcl2json@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/hcl2json/-/hcl2json-0.19.0.tgz#39fb184421b44b35cb69207dd17c7713ac246563" + integrity sha512-wo68qo74dTxcZWJkwlhTV+YoVopUUUTpRC8W73HWkaL/lw6GDozh4GHwphagIHYJy07Ecxdx/WTp0sGDBaFBuQ== dependencies: fs-extra "^11.1.1" -"@cdktf/node-pty-prebuilt-multiarch@0.10.1-pre.10": - version "0.10.1-pre.10" - resolved "https://registry.yarnpkg.com/@cdktf/node-pty-prebuilt-multiarch/-/node-pty-prebuilt-multiarch-0.10.1-pre.10.tgz#b404351940c595bd96405aaeec7ceffe8b0fc83b" - integrity sha512-5ysQrHJvqYLYg407KvaDNu+xx68ZGaqeF0SohXe5e4yNqJhPFPUQ536rkReQcPc2yZiF5PDmmvf5T9MOacHpSQ== +"@cdktf/node-pty-prebuilt-multiarch@0.10.1-pre.11": + version "0.10.1-pre.11" + resolved "https://registry.yarnpkg.com/@cdktf/node-pty-prebuilt-multiarch/-/node-pty-prebuilt-multiarch-0.10.1-pre.11.tgz#07ab168845047e5879e737ac5ab0919a49ba89a8" + integrity sha512-qvga/nzEtdCJMu/6jJfDqpzbRejvXtNhWFnbubfuYyN5nMNORNXX+POT4j+mQSDQar5bIQ1a812szw/zr47cfw== dependencies: nan "^2.14.2" prebuild-install "^7.1.1" -"@cdktf/provider-generator@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/provider-generator/-/provider-generator-0.18.2.tgz#e4210bb8cb2d9e48271a2a2fba4f5ec65d77b3b1" - integrity sha512-Qqfmwlz1t9Ie84CLkefxDR8a2bsacxbaEncO6NqzwYWaCu/K5TDDOqHjLKl1kv3mKjdZtJ0YLMJsMP0C49hKPg== +"@cdktf/provider-generator@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/provider-generator/-/provider-generator-0.19.0.tgz#348e8e2744e61a7a40340f634b7bb9e12a7fafc3" + integrity sha512-+1qKfvSA4YH+i6PBbuDwj8xP5NNCsyeF5KR6S/2NqBxz/4w4xptB+h/IehiVGSHtwI2/XmL4bF3gLpNB9Q2dGg== dependencies: - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2json" "0.18.2" - "@cdktf/provider-schema" "0.18.2" - "@types/node" "16.18.23" + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2json" "0.19.0" + "@cdktf/provider-schema" "0.19.0" + "@types/node" "18.11.19" codemaker "^1.87.0" deepmerge "^4.2.2" fs-extra "^8.1.0" jsii-srcmak "^0.1.951" "@cdktf/provider-project@^0.2.95": - version "0.2.131" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.131.tgz#713f5895fd00ce11adc394434b0efda914413010" - integrity sha512-jryd50w5YfZWavPtIosvWaVuKPLxiYCXYGc7tRo/buMppwnhHe0ytM/ObRzVCBj5MYU1yIe+aXfLgstSq030BQ== + version "0.2.134" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.134.tgz#1f1d90c19e0e0a121c157f881586a8ec8eadace6" + integrity sha512-bqU1i0iBg8ky1FRwV6qLdP4Au+XxIhHC7tAIu8Jx++SYhQRnz8hh5fKs3o6UCOtnoUZOTgi4DDNZ1ltnBN/dFA== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" -"@cdktf/provider-schema@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/provider-schema/-/provider-schema-0.18.2.tgz#b0094e4124d91d75e44701a79262b8d3159ecd91" - integrity sha512-UB3oxmh0GJ/NeubDKjF+gT8bsh7kcT+lCbG0OZwXPlTKBuaDRuS2InkvcUAlvhC7ML1+DqpTl5PsAaowuW46uA== +"@cdktf/provider-schema@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/provider-schema/-/provider-schema-0.19.0.tgz#3377e69ae7150056eb59f2b542e5fa5b83493f51" + integrity sha512-tfl6EqzBGL+qRBc+lgtb4qZvj8J4R+htF+N6BmrFnz9NiplRJmy1xzRMZ1fsrboeH0QExlyFYdIaZ97Q3CtD7A== dependencies: - "@cdktf/commons" "0.18.2" + "@cdktf/commons" "0.19.0" fs-extra "^11.1.1" "@colors/colors@1.5.0": @@ -749,10 +749,10 @@ dependencies: undici-types "~5.25.1" -"@types/node@16.18.23": - version "16.18.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.23.tgz#b6e934fe427eb7081d0015aad070acb3373c3c90" - integrity sha512-XAMpaw1s1+6zM+jn2tmw8MyaRDIJfXxqmIQIS0HfoGYPuf7dUWeiUKopwq13KFX9lEp1+THGtlaaYx39Nxr58g== +"@types/node@18.11.19": + version "18.11.19" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.19.tgz#35e26df9ec441ab99d73e99e9aca82935eea216d" + integrity sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw== "@types/node@^18": version "18.18.5" @@ -1220,18 +1220,18 @@ case@^1.6.3: resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== -cdktf-cli@^0.18.0: - version "0.18.2" - resolved "https://registry.yarnpkg.com/cdktf-cli/-/cdktf-cli-0.18.2.tgz#c9864fb5b4869cb820cfd55a8682dbdb7d9af7f6" - integrity sha512-Href8hApBsCuvLz1bOiV5t13gkTbl4O457CeiBQmEjfFLg5myluA2nSMBSgCo0JGd/89sCbQXt1MdQU577qM2Q== +cdktf-cli@^0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/cdktf-cli/-/cdktf-cli-0.19.0.tgz#d0278749beed81a8b450c4b1c41de6046967187e" + integrity sha512-WGLs0IOgig8WDO2E6RYWtG5lCDL+ICX+plFipWT8JhuJpemxBhk8pO8uhDSWvBF85ZpVecQv+szfQVmXq8mdUg== dependencies: - "@cdktf/cli-core" "0.18.2" - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2cdk" "0.18.2" - "@cdktf/hcl2json" "0.18.2" + "@cdktf/cli-core" "0.19.0" + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2cdk" "0.19.0" + "@cdktf/hcl2json" "0.19.0" "@inquirer/prompts" "^2.3.0" "@sentry/node" "^7.64.0" - cdktf "0.18.2" + cdktf "0.19.0" ci-info "^3.8.0" codemaker "^1.87.0" constructs "^10.0.25" @@ -1251,10 +1251,10 @@ cdktf-cli@^0.18.0: yoga-layout-prebuilt "^1.10.0" zod "^1.11.17" -cdktf@0.18.2, cdktf@^0.18.0: - version "0.18.2" - resolved "https://registry.yarnpkg.com/cdktf/-/cdktf-0.18.2.tgz#21b02a4114812b0a696e70d9f7cfc59caa2c0af9" - integrity sha512-ohCsfFwEjXbF4bGbzkx/YB/aq6spceAPtKBXfdF/kNjUx1hVH28lQDS5ykJbnxAAnvrUA8FWz034buun7uPrdQ== +cdktf@0.19.0, cdktf@^0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/cdktf/-/cdktf-0.19.0.tgz#097a3241b95e77eeab8ae1f7a714bf45dc6ca55b" + integrity sha512-5tcNhvrvsE9WawC5cPwV7B9ATQ5lWNjyCJN7EnMofxTtkBEdnnGx0esC+vpNO4Fs0LhmV37qCUlm+K6anZaPYw== dependencies: archiver "5.3.1" json-stable-stringify "^1.0.2" @@ -4385,10 +4385,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.74.18: - version "0.74.18" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.74.18.tgz#626e8fbd1591fc0fadecd5d56ad5c83146ab44f0" - integrity sha512-VGpz4AIBxYX9sTn0piRa5WFH9/bB1HM452C5+qFvWraT7PPCcoENdH6iegdzSYe5h2RIZXSyHs9beokypzc7zw== +projen@^0.75.0: + version "0.75.0" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.75.0.tgz#f7e317cdfd5a009e7670e3779d60aeef7b9d5f5a" + integrity sha512-Xc3fDcdawK0WoVECl2tzFmf3a4BmM5bPUBzOHyZMSCOc5hmHkgFxbKquE/Er5WMV4+BHMRXA8QeZAIuZZ9ryeQ== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"