diff --git a/.github/workflows/auto-close-community-issues.yml b/.github/workflows/auto-close-community-issues.yml index 8cdf7f5d..d5eecd5f 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 cbc1ca79..4f599d4e 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 6a14ea2c..0080949a 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 e79c87e8..c5a9a337 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -7,7 +7,7 @@ const { CdktfProviderProject } = require("@cdktf/provider-project"); const project = new CdktfProviderProject({ useCustomGithubRunner: false, terraformProvider: "kreuzwerker/docker@~> 3.0", - cdktfVersion: "^0.18.0", + cdktfVersion: "^0.19.0", constructsVersion: "^10.0.0", minNodeVersion: "18.12.0", jsiiVersion: "^5.0.1", diff --git a/docs/config.csharp.md b/docs/config.csharp.md index fe4b4805..1c876bd8 100644 --- a/docs/config.csharp.md +++ b/docs/config.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. | | ResetId | *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. + +--- + ##### `ResetId` ```csharp @@ -271,6 +332,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Config resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ Config.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Config.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Config 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 Config to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Config that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Config to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/config.go.md b/docs/config.go.md index a05e943e..a14475d4 100644 --- a/docs/config.go.md +++ b/docs/config.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. | | ResetId | *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. + +--- + ##### `ResetId` ```go @@ -271,6 +332,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Config resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ config.Config_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/config" + +config.Config_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Config 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 Config to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Config that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Config to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/config.java.md b/docs/config.java.md index f49de6d6..2db07bac 100644 --- a/docs/config.java.md +++ b/docs/config.java.md @@ -151,6 +151,7 @@ If you experience problems setting this value it might not be settable. Please t | 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.* | @@ -160,7 +161,9 @@ If you experience problems setting this value it might not be settable. Please t | 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. | | resetId | *No description.* | --- @@ -229,6 +232,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 @@ -337,6 +356,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 @@ -349,6 +387,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. + +--- + ##### `resetId` ```java @@ -362,6 +425,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Config resource upon running "cdktf plan ". | --- @@ -425,6 +489,50 @@ Config.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.config.Config; + +Config.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Config.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Config 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 Config to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Config that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Config to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/config.python.md b/docs/config.python.md index eee1ac36..26ae98e2 100644 --- a/docs/config.python.md +++ b/docs/config.python.md @@ -149,6 +149,7 @@ If you experience problems setting this value it might not be settable. Please t | 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.* | @@ -158,7 +159,9 @@ If you experience problems setting this value it might not be settable. Please t | 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_id | *No description.* | --- @@ -232,6 +235,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 @@ -358,6 +379,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 @@ -372,6 +414,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_id` ```python @@ -385,6 +454,7 @@ def reset_id() -> 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 Config resource upon running "cdktf plan ". | --- @@ -454,6 +524,55 @@ config.Config.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import config + +config.Config.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Config 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 Config to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Config that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Config to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/config.typescript.md b/docs/config.typescript.md index 833b0a25..b2f2041f 100644 --- a/docs/config.typescript.md +++ b/docs/config.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. | | resetId | *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. + +--- + ##### `resetId` ```typescript @@ -271,6 +332,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Config resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ config.Config.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { config } from '@cdktf/provider-docker' + +config.Config.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Config 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 Config to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Config that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Config to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/container.csharp.md b/docs/container.csharp.md index b64f73a6..307dcfbd 100644 --- a/docs/container.csharp.md +++ b/docs/container.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. | | PutCapabilities | *No description.* | | PutDevices | *No description.* | | PutHealthcheck | *No description.* | @@ -209,6 +212,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 @@ -317,6 +336,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 @@ -329,6 +366,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. + +--- + ##### `PutCapabilities` ```csharp @@ -834,6 +895,7 @@ private void ResetWorkingDir() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Container resource upon running "cdktf plan ". | --- @@ -897,6 +959,50 @@ Container.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Container.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Container 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 Container to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Container that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/container#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 Container to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/container.go.md b/docs/container.go.md index d627adb2..9be63da7 100644 --- a/docs/container.go.md +++ b/docs/container.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. | | PutCapabilities | *No description.* | | PutDevices | *No description.* | | PutHealthcheck | *No description.* | @@ -209,6 +212,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 @@ -317,6 +336,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 @@ -329,6 +366,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. + +--- + ##### `PutCapabilities` ```go @@ -834,6 +895,7 @@ func ResetWorkingDir() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Container resource upon running "cdktf plan ". | --- @@ -897,6 +959,50 @@ container.Container_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/container" + +container.Container_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Container 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 Container to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Container that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/container#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 Container to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/container.java.md b/docs/container.java.md index 8de48dc0..db294ece 100644 --- a/docs/container.java.md +++ b/docs/container.java.md @@ -915,6 +915,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -924,7 +925,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | putCapabilities | *No description.* | | putDevices | *No description.* | | putHealthcheck | *No description.* | @@ -1064,6 +1067,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 @@ -1172,6 +1191,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 @@ -1184,6 +1222,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. + +--- + ##### `putCapabilities` ```java @@ -1689,6 +1752,7 @@ public void resetWorkingDir() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Container resource upon running "cdktf plan ". | --- @@ -1752,6 +1816,50 @@ Container.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.container.Container; + +Container.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Container.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Container 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 Container to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Container that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/container#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 Container to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/container.python.md b/docs/container.python.md index 228d9466..7e0eeae1 100644 --- a/docs/container.python.md +++ b/docs/container.python.md @@ -891,6 +891,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -900,7 +901,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_capabilities | *No description.* | | put_devices | *No description.* | | put_healthcheck | *No description.* | @@ -1045,6 +1048,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 @@ -1171,6 +1192,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 @@ -1185,6 +1227,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_capabilities` ```python @@ -1777,6 +1846,7 @@ def reset_working_dir() -> 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 Container resource upon running "cdktf plan ". | --- @@ -1846,6 +1916,55 @@ container.Container.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import container + +container.Container.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Container 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 Container to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Container that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/container#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 Container to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/container.typescript.md b/docs/container.typescript.md index 7c2dc0c8..4d63ca91 100644 --- a/docs/container.typescript.md +++ b/docs/container.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. | | putCapabilities | *No description.* | | putDevices | *No description.* | | putHealthcheck | *No description.* | @@ -209,6 +212,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 @@ -317,6 +336,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 @@ -329,6 +366,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. + +--- + ##### `putCapabilities` ```typescript @@ -834,6 +895,7 @@ public resetWorkingDir(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Container resource upon running "cdktf plan ". | --- @@ -897,6 +959,50 @@ container.Container.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { container } from '@cdktf/provider-docker' + +container.Container.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Container 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 Container to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Container that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/container#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 Container to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerImage.csharp.md b/docs/dataDockerImage.csharp.md index 79c1311d..24b4a4ab 100644 --- a/docs/dataDockerImage.csharp.md +++ b/docs/dataDockerImage.csharp.md @@ -271,6 +271,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerImage resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDockerImage.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +DataDockerImage.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDockerImage 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 DataDockerImage to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDockerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerImage.go.md b/docs/dataDockerImage.go.md index 2b0e52a1..4116177f 100644 --- a/docs/dataDockerImage.go.md +++ b/docs/dataDockerImage.go.md @@ -271,6 +271,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerImage resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadockerimage.DataDockerImage_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/datadockerimage" + +datadockerimage.DataDockerImage_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDockerImage 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 DataDockerImage to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDockerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerImage.java.md b/docs/dataDockerImage.java.md index b0c1718a..94e30e79 100644 --- a/docs/dataDockerImage.java.md +++ b/docs/dataDockerImage.java.md @@ -350,6 +350,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerImage resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDockerImage.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.data_docker_image.DataDockerImage; + +DataDockerImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDockerImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDockerImage 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 DataDockerImage to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDockerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerImage.python.md b/docs/dataDockerImage.python.md index 1bfa0d99..dbfdaa3f 100644 --- a/docs/dataDockerImage.python.md +++ b/docs/dataDockerImage.python.md @@ -373,6 +373,7 @@ def reset_id() -> 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 DataDockerImage resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDockerImage.DataDockerImage.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import data_docker_image + +dataDockerImage.DataDockerImage.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDockerImage 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 DataDockerImage to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDockerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerImage.typescript.md b/docs/dataDockerImage.typescript.md index 78dc1f4d..a1256c56 100644 --- a/docs/dataDockerImage.typescript.md +++ b/docs/dataDockerImage.typescript.md @@ -271,6 +271,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerImage resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDockerImage.DataDockerImage.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDockerImage } from '@cdktf/provider-docker' + +dataDockerImage.DataDockerImage.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDockerImage 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 DataDockerImage to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDockerImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerLogs.csharp.md b/docs/dataDockerLogs.csharp.md index 21d61023..e90cfb21 100644 --- a/docs/dataDockerLogs.csharp.md +++ b/docs/dataDockerLogs.csharp.md @@ -341,6 +341,7 @@ private void ResetUntil() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerLogs resource upon running "cdktf plan ". | --- @@ -404,6 +405,50 @@ DataDockerLogs.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +DataDockerLogs.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDockerLogs 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 DataDockerLogs to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDockerLogs that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/logs#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 DataDockerLogs to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerLogs.go.md b/docs/dataDockerLogs.go.md index 81b02b49..753c8514 100644 --- a/docs/dataDockerLogs.go.md +++ b/docs/dataDockerLogs.go.md @@ -341,6 +341,7 @@ func ResetUntil() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerLogs resource upon running "cdktf plan ". | --- @@ -404,6 +405,50 @@ datadockerlogs.DataDockerLogs_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/datadockerlogs" + +datadockerlogs.DataDockerLogs_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDockerLogs 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 DataDockerLogs to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDockerLogs that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/logs#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 DataDockerLogs to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerLogs.java.md b/docs/dataDockerLogs.java.md index f4a86b36..c6ed15d7 100644 --- a/docs/dataDockerLogs.java.md +++ b/docs/dataDockerLogs.java.md @@ -531,6 +531,7 @@ public void resetUntil() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerLogs resource upon running "cdktf plan ". | --- @@ -594,6 +595,50 @@ DataDockerLogs.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.data_docker_logs.DataDockerLogs; + +DataDockerLogs.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDockerLogs.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDockerLogs 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 DataDockerLogs to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDockerLogs that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/logs#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 DataDockerLogs to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerLogs.python.md b/docs/dataDockerLogs.python.md index 8918204b..e95f84d2 100644 --- a/docs/dataDockerLogs.python.md +++ b/docs/dataDockerLogs.python.md @@ -547,6 +547,7 @@ def reset_until() -> 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 DataDockerLogs resource upon running "cdktf plan ". | --- @@ -616,6 +617,55 @@ dataDockerLogs.DataDockerLogs.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import data_docker_logs + +dataDockerLogs.DataDockerLogs.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDockerLogs 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 DataDockerLogs to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDockerLogs that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/logs#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 DataDockerLogs to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerLogs.typescript.md b/docs/dataDockerLogs.typescript.md index 17ec3bcd..9ffc5fd7 100644 --- a/docs/dataDockerLogs.typescript.md +++ b/docs/dataDockerLogs.typescript.md @@ -341,6 +341,7 @@ public resetUntil(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerLogs resource upon running "cdktf plan ". | --- @@ -404,6 +405,50 @@ dataDockerLogs.DataDockerLogs.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDockerLogs } from '@cdktf/provider-docker' + +dataDockerLogs.DataDockerLogs.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDockerLogs 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 DataDockerLogs to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDockerLogs that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/logs#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 DataDockerLogs to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerNetwork.csharp.md b/docs/dataDockerNetwork.csharp.md index 97d8d1c0..c0ccd5e6 100644 --- a/docs/dataDockerNetwork.csharp.md +++ b/docs/dataDockerNetwork.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 DataDockerNetwork resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ DataDockerNetwork.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +DataDockerNetwork.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDockerNetwork 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 DataDockerNetwork to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDockerNetwork that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/network#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 DataDockerNetwork to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerNetwork.go.md b/docs/dataDockerNetwork.go.md index b9e3045f..0abeb9c1 100644 --- a/docs/dataDockerNetwork.go.md +++ b/docs/dataDockerNetwork.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 DataDockerNetwork resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ datadockernetwork.DataDockerNetwork_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/datadockernetwork" + +datadockernetwork.DataDockerNetwork_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDockerNetwork 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 DataDockerNetwork to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDockerNetwork that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/network#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 DataDockerNetwork to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerNetwork.java.md b/docs/dataDockerNetwork.java.md index cc8327a4..2e61b9c1 100644 --- a/docs/dataDockerNetwork.java.md +++ b/docs/dataDockerNetwork.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 DataDockerNetwork resource upon running "cdktf plan ". | --- @@ -393,6 +394,50 @@ DataDockerNetwork.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.data_docker_network.DataDockerNetwork; + +DataDockerNetwork.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDockerNetwork.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDockerNetwork 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 DataDockerNetwork to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDockerNetwork that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/network#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 DataDockerNetwork to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerNetwork.python.md b/docs/dataDockerNetwork.python.md index 9ded977a..c0d1c138 100644 --- a/docs/dataDockerNetwork.python.md +++ b/docs/dataDockerNetwork.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 DataDockerNetwork resource upon running "cdktf plan ". | --- @@ -422,6 +423,55 @@ dataDockerNetwork.DataDockerNetwork.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import data_docker_network + +dataDockerNetwork.DataDockerNetwork.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDockerNetwork 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 DataDockerNetwork to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDockerNetwork that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/network#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 DataDockerNetwork to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerNetwork.typescript.md b/docs/dataDockerNetwork.typescript.md index e60a06fd..fd874850 100644 --- a/docs/dataDockerNetwork.typescript.md +++ b/docs/dataDockerNetwork.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 DataDockerNetwork resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ dataDockerNetwork.DataDockerNetwork.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDockerNetwork } from '@cdktf/provider-docker' + +dataDockerNetwork.DataDockerNetwork.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDockerNetwork 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 DataDockerNetwork to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDockerNetwork that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/network#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 DataDockerNetwork to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerPlugin.csharp.md b/docs/dataDockerPlugin.csharp.md index 53a70a90..1a37cdf7 100644 --- a/docs/dataDockerPlugin.csharp.md +++ b/docs/dataDockerPlugin.csharp.md @@ -278,6 +278,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerPlugin resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDockerPlugin.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +DataDockerPlugin.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDockerPlugin 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 DataDockerPlugin to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDockerPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerPlugin.go.md b/docs/dataDockerPlugin.go.md index 6990f6a1..ee70804a 100644 --- a/docs/dataDockerPlugin.go.md +++ b/docs/dataDockerPlugin.go.md @@ -278,6 +278,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerPlugin resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadockerplugin.DataDockerPlugin_IsTerraformDataSource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/datadockerplugin" + +datadockerplugin.DataDockerPlugin_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDockerPlugin 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 DataDockerPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDockerPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerPlugin.java.md b/docs/dataDockerPlugin.java.md index 32d71c65..5f952f94 100644 --- a/docs/dataDockerPlugin.java.md +++ b/docs/dataDockerPlugin.java.md @@ -359,6 +359,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerPlugin resource upon running "cdktf plan ". | --- @@ -422,6 +423,50 @@ DataDockerPlugin.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.data_docker_plugin.DataDockerPlugin; + +DataDockerPlugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDockerPlugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDockerPlugin 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 DataDockerPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDockerPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerPlugin.python.md b/docs/dataDockerPlugin.python.md index 37120005..ddaefbe1 100644 --- a/docs/dataDockerPlugin.python.md +++ b/docs/dataDockerPlugin.python.md @@ -382,6 +382,7 @@ def reset_id() -> 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 DataDockerPlugin resource upon running "cdktf plan ". | --- @@ -451,6 +452,55 @@ dataDockerPlugin.DataDockerPlugin.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import data_docker_plugin + +dataDockerPlugin.DataDockerPlugin.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDockerPlugin 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 DataDockerPlugin to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDockerPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerPlugin.typescript.md b/docs/dataDockerPlugin.typescript.md index 272f22ef..010d30de 100644 --- a/docs/dataDockerPlugin.typescript.md +++ b/docs/dataDockerPlugin.typescript.md @@ -278,6 +278,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerPlugin resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDockerPlugin.DataDockerPlugin.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDockerPlugin } from '@cdktf/provider-docker' + +dataDockerPlugin.DataDockerPlugin.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDockerPlugin 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 DataDockerPlugin to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDockerPlugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/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 DataDockerPlugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerRegistryImage.csharp.md b/docs/dataDockerRegistryImage.csharp.md index 8b37738e..20dc005d 100644 --- a/docs/dataDockerRegistryImage.csharp.md +++ b/docs/dataDockerRegistryImage.csharp.md @@ -278,6 +278,7 @@ private void ResetInsecureSkipVerify() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerRegistryImage resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDockerRegistryImage.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +DataDockerRegistryImage.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDockerRegistryImage 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 DataDockerRegistryImage to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDockerRegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/registry_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 DataDockerRegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerRegistryImage.go.md b/docs/dataDockerRegistryImage.go.md index 8136193d..8bc57bf1 100644 --- a/docs/dataDockerRegistryImage.go.md +++ b/docs/dataDockerRegistryImage.go.md @@ -278,6 +278,7 @@ func ResetInsecureSkipVerify() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDockerRegistryImage resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadockerregistryimage.DataDockerRegistryImage_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/datadockerregistryimage" + +datadockerregistryimage.DataDockerRegistryImage_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDockerRegistryImage 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 DataDockerRegistryImage to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDockerRegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/registry_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 DataDockerRegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerRegistryImage.java.md b/docs/dataDockerRegistryImage.java.md index 7e299426..c525b737 100644 --- a/docs/dataDockerRegistryImage.java.md +++ b/docs/dataDockerRegistryImage.java.md @@ -370,6 +370,7 @@ public void resetInsecureSkipVerify() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerRegistryImage resource upon running "cdktf plan ". | --- @@ -433,6 +434,50 @@ DataDockerRegistryImage.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.data_docker_registry_image.DataDockerRegistryImage; + +DataDockerRegistryImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDockerRegistryImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDockerRegistryImage 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 DataDockerRegistryImage to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDockerRegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/registry_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 DataDockerRegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerRegistryImage.python.md b/docs/dataDockerRegistryImage.python.md index 9c807b24..48b5de75 100644 --- a/docs/dataDockerRegistryImage.python.md +++ b/docs/dataDockerRegistryImage.python.md @@ -392,6 +392,7 @@ def reset_insecure_skip_verify() -> 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 DataDockerRegistryImage resource upon running "cdktf plan ". | --- @@ -461,6 +462,55 @@ dataDockerRegistryImage.DataDockerRegistryImage.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import data_docker_registry_image + +dataDockerRegistryImage.DataDockerRegistryImage.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDockerRegistryImage 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 DataDockerRegistryImage to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDockerRegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/registry_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 DataDockerRegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDockerRegistryImage.typescript.md b/docs/dataDockerRegistryImage.typescript.md index 4c198b3b..ac07021a 100644 --- a/docs/dataDockerRegistryImage.typescript.md +++ b/docs/dataDockerRegistryImage.typescript.md @@ -278,6 +278,7 @@ public resetInsecureSkipVerify(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDockerRegistryImage resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDockerRegistryImage.DataDockerRegistryImage.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDockerRegistryImage } from '@cdktf/provider-docker' + +dataDockerRegistryImage.DataDockerRegistryImage.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDockerRegistryImage 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 DataDockerRegistryImage to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDockerRegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/registry_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 DataDockerRegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/image.csharp.md b/docs/image.csharp.md index 71d8c1e1..fa8d5060 100644 --- a/docs/image.csharp.md +++ b/docs/image.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. | | PutBuildAttribute | *No description.* | | ResetBuildAttribute | *No description.* | | ResetForceRemove | *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. + +--- + ##### `PutBuildAttribute` ```csharp @@ -319,6 +380,7 @@ private void ResetTriggers() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Image resource upon running "cdktf plan ". | --- @@ -382,6 +444,50 @@ Image.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Image.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Image 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 Image to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Image that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Image to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/image.go.md b/docs/image.go.md index c6a5a2c2..14cfd368 100644 --- a/docs/image.go.md +++ b/docs/image.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. | | PutBuildAttribute | *No description.* | | ResetBuildAttribute | *No description.* | | ResetForceRemove | *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. + +--- + ##### `PutBuildAttribute` ```go @@ -319,6 +380,7 @@ func ResetTriggers() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Image resource upon running "cdktf plan ". | --- @@ -382,6 +444,50 @@ image.Image_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/image" + +image.Image_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Image 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 Image to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Image that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Image to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/image.java.md b/docs/image.java.md index c7d5b5ff..e9cab4cb 100644 --- a/docs/image.java.md +++ b/docs/image.java.md @@ -206,6 +206,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -215,7 +216,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | putBuildAttribute | *No description.* | | resetBuildAttribute | *No description.* | | resetForceRemove | *No description.* | @@ -290,6 +293,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 @@ -398,6 +417,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 @@ -410,6 +448,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. + +--- + ##### `putBuildAttribute` ```java @@ -465,6 +528,7 @@ public void resetTriggers() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Image resource upon running "cdktf plan ". | --- @@ -528,6 +592,50 @@ Image.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.image.Image; + +Image.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Image.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Image 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 Image to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Image that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Image to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/image.python.md b/docs/image.python.md index 8d1b3bae..6a1d6cfc 100644 --- a/docs/image.python.md +++ b/docs/image.python.md @@ -202,6 +202,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -211,7 +212,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_build_attribute | *No description.* | | reset_build_attribute | *No description.* | | reset_force_remove | *No description.* | @@ -291,6 +294,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 @@ -417,6 +438,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 @@ -431,6 +473,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_build_attribute` ```python @@ -870,6 +939,7 @@ def reset_triggers() -> 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 Image resource upon running "cdktf plan ". | --- @@ -939,6 +1009,55 @@ image.Image.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import image + +image.Image.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Image 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 Image to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Image that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Image to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/image.typescript.md b/docs/image.typescript.md index 619fa33d..99bf352e 100644 --- a/docs/image.typescript.md +++ b/docs/image.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. | | putBuildAttribute | *No description.* | | resetBuildAttribute | *No description.* | | resetForceRemove | *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. + +--- + ##### `putBuildAttribute` ```typescript @@ -319,6 +380,7 @@ public resetTriggers(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Image resource upon running "cdktf plan ". | --- @@ -382,6 +444,50 @@ image.Image.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { image } from '@cdktf/provider-docker' + +image.Image.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Image 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 Image to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Image that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Image to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/network.csharp.md b/docs/network.csharp.md index 1e88790d..b29b101a 100644 --- a/docs/network.csharp.md +++ b/docs/network.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. | | PutIpamConfig | *No description.* | | PutLabels | *No description.* | | ResetAttachable | *No description.* | @@ -151,6 +154,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 @@ -259,6 +278,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 @@ -271,6 +308,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. + +--- + ##### `PutIpamConfig` ```csharp @@ -374,6 +435,7 @@ private void ResetOptions() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Network resource upon running "cdktf plan ". | --- @@ -437,6 +499,50 @@ Network.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Network.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Network 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 Network to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Network that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/network#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 Network to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/network.go.md b/docs/network.go.md index 471652cf..bc5867fd 100644 --- a/docs/network.go.md +++ b/docs/network.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. | | PutIpamConfig | *No description.* | | PutLabels | *No description.* | | ResetAttachable | *No description.* | @@ -151,6 +154,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 @@ -259,6 +278,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 @@ -271,6 +308,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. + +--- + ##### `PutIpamConfig` ```go @@ -374,6 +435,7 @@ func ResetOptions() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Network resource upon running "cdktf plan ". | --- @@ -437,6 +499,50 @@ network.Network_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/network" + +network.Network_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Network 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 Network to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Network that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/network#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 Network to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/network.java.md b/docs/network.java.md index db2487b1..b09dd7d3 100644 --- a/docs/network.java.md +++ b/docs/network.java.md @@ -280,6 +280,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -289,7 +290,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | putIpamConfig | *No description.* | | putLabels | *No description.* | | resetAttachable | *No description.* | @@ -371,6 +374,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 @@ -479,6 +498,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 @@ -491,6 +529,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. + +--- + ##### `putIpamConfig` ```java @@ -594,6 +657,7 @@ public void resetOptions() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Network resource upon running "cdktf plan ". | --- @@ -657,6 +721,50 @@ Network.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.network.Network; + +Network.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Network.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Network 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 Network to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Network that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/network#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 Network to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/network.python.md b/docs/network.python.md index fa04f779..96903412 100644 --- a/docs/network.python.md +++ b/docs/network.python.md @@ -271,6 +271,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -280,7 +281,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_ipam_config | *No description.* | | put_labels | *No description.* | | reset_attachable | *No description.* | @@ -367,6 +370,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 @@ -493,6 +514,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 @@ -507,6 +549,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_ipam_config` ```python @@ -614,6 +683,7 @@ def reset_options() -> 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 Network resource upon running "cdktf plan ". | --- @@ -683,6 +753,55 @@ network.Network.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import network + +network.Network.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Network 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 Network to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Network that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/network#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 Network to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/network.typescript.md b/docs/network.typescript.md index 1d6348e2..acbc9c9b 100644 --- a/docs/network.typescript.md +++ b/docs/network.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. | | putIpamConfig | *No description.* | | putLabels | *No description.* | | resetAttachable | *No description.* | @@ -151,6 +154,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 @@ -259,6 +278,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 @@ -271,6 +308,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. + +--- + ##### `putIpamConfig` ```typescript @@ -374,6 +435,7 @@ public resetOptions(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Network resource upon running "cdktf plan ". | --- @@ -437,6 +499,50 @@ network.Network.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { network } from '@cdktf/provider-docker' + +network.Network.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Network 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 Network to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Network that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/network#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 Network to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/plugin.csharp.md b/docs/plugin.csharp.md index 68ae5f57..19c18bcd 100644 --- a/docs/plugin.csharp.md +++ b/docs/plugin.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. | | PutGrantPermissions | *No description.* | | ResetAlias | *No description.* | | ResetEnabled | *No description.* | @@ -147,6 +150,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 @@ -255,6 +274,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 @@ -267,6 +304,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. + +--- + ##### `PutGrantPermissions` ```csharp @@ -340,6 +401,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Plugin resource upon running "cdktf plan ". | --- @@ -403,6 +465,50 @@ Plugin.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Plugin.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Plugin 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 Plugin to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Plugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Plugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/plugin.go.md b/docs/plugin.go.md index f7331d87..83cded0d 100644 --- a/docs/plugin.go.md +++ b/docs/plugin.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. | | PutGrantPermissions | *No description.* | | ResetAlias | *No description.* | | ResetEnabled | *No description.* | @@ -147,6 +150,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 @@ -255,6 +274,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 @@ -267,6 +304,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. + +--- + ##### `PutGrantPermissions` ```go @@ -340,6 +401,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Plugin resource upon running "cdktf plan ". | --- @@ -403,6 +465,50 @@ plugin.Plugin_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/plugin" + +plugin.Plugin_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Plugin 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 Plugin to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Plugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Plugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/plugin.java.md b/docs/plugin.java.md index d5cf32ec..9561f422 100644 --- a/docs/plugin.java.md +++ b/docs/plugin.java.md @@ -240,6 +240,7 @@ If you experience problems setting this value it might not be settable. Please t | 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.* | @@ -249,7 +250,9 @@ If you experience problems setting this value it might not be settable. Please t | 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. | | putGrantPermissions | *No description.* | | resetAlias | *No description.* | | resetEnabled | *No description.* | @@ -327,6 +330,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 @@ -435,6 +454,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 @@ -447,6 +485,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. + +--- + ##### `putGrantPermissions` ```java @@ -520,6 +583,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Plugin resource upon running "cdktf plan ". | --- @@ -583,6 +647,50 @@ Plugin.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.plugin.Plugin; + +Plugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Plugin.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Plugin 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 Plugin to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Plugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Plugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/plugin.python.md b/docs/plugin.python.md index ad392b9e..b3d39ac5 100644 --- a/docs/plugin.python.md +++ b/docs/plugin.python.md @@ -233,6 +233,7 @@ If you experience problems setting this value it might not be settable. Please t | 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.* | @@ -242,7 +243,9 @@ If you experience problems setting this value it might not be settable. Please t | 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_grant_permissions | *No description.* | | reset_alias | *No description.* | | reset_enabled | *No description.* | @@ -325,6 +328,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 @@ -451,6 +472,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 @@ -465,6 +507,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_grant_permissions` ```python @@ -540,6 +609,7 @@ def reset_id() -> 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 Plugin resource upon running "cdktf plan ". | --- @@ -609,6 +679,55 @@ plugin.Plugin.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import plugin + +plugin.Plugin.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Plugin 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 Plugin to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Plugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Plugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/plugin.typescript.md b/docs/plugin.typescript.md index 6cd2827b..370b1a53 100644 --- a/docs/plugin.typescript.md +++ b/docs/plugin.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. | | putGrantPermissions | *No description.* | | resetAlias | *No description.* | | resetEnabled | *No description.* | @@ -147,6 +150,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 @@ -255,6 +274,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 @@ -267,6 +304,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. + +--- + ##### `putGrantPermissions` ```typescript @@ -340,6 +401,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Plugin resource upon running "cdktf plan ". | --- @@ -403,6 +465,50 @@ plugin.Plugin.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { plugin } from '@cdktf/provider-docker' + +plugin.Plugin.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Plugin 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 Plugin to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Plugin that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Plugin to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.csharp.md b/docs/provider.csharp.md index 701b7cdc..76ebc729 100644 --- a/docs/provider.csharp.md +++ b/docs/provider.csharp.md @@ -190,6 +190,7 @@ private void ResetSshOpts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformProvider | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DockerProvider resource upon running "cdktf plan ". | --- @@ -253,6 +254,50 @@ DockerProvider.IsTerraformProvider(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +DockerProvider.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DockerProvider 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 DockerProvider to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DockerProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/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 DockerProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.go.md b/docs/provider.go.md index c6ef5dc8..60a0b2c1 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -190,6 +190,7 @@ func ResetSshOpts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformProvider | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DockerProvider resource upon running "cdktf plan ". | --- @@ -253,6 +254,50 @@ provider.DockerProvider_IsTerraformProvider(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/provider" + +provider.DockerProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DockerProvider 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 DockerProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DockerProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/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 DockerProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.java.md b/docs/provider.java.md index c35bbd36..32121d88 100644 --- a/docs/provider.java.md +++ b/docs/provider.java.md @@ -281,6 +281,7 @@ public void resetSshOpts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformProvider | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DockerProvider resource upon running "cdktf plan ". | --- @@ -344,6 +345,50 @@ DockerProvider.isTerraformProvider(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.provider.DockerProvider; + +DockerProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DockerProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DockerProvider 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 DockerProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DockerProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/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 DockerProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.python.md b/docs/provider.python.md index 490a8b7f..c406c64f 100644 --- a/docs/provider.python.md +++ b/docs/provider.python.md @@ -287,6 +287,7 @@ def reset_ssh_opts() -> 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 DockerProvider resource upon running "cdktf plan ". | --- @@ -356,6 +357,55 @@ provider.DockerProvider.is_terraform_provider( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import provider + +provider.DockerProvider.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DockerProvider 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 DockerProvider to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DockerProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/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 DockerProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.typescript.md b/docs/provider.typescript.md index c60b3047..cb60936b 100644 --- a/docs/provider.typescript.md +++ b/docs/provider.typescript.md @@ -190,6 +190,7 @@ public resetSshOpts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformProvider | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DockerProvider resource upon running "cdktf plan ". | --- @@ -253,6 +254,50 @@ provider.DockerProvider.isTerraformProvider(x: any) --- +##### `generateConfigForImport` + +```typescript +import { provider } from '@cdktf/provider-docker' + +provider.DockerProvider.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DockerProvider 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 DockerProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DockerProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/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 DockerProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/registryImage.csharp.md b/docs/registryImage.csharp.md index 8ff2b113..89367a63 100644 --- a/docs/registryImage.csharp.md +++ b/docs/registryImage.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. | | ResetId | *No description.* | | ResetInsecureSkipVerify | *No description.* | | ResetKeepRemotely | *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. + +--- + ##### `ResetId` ```csharp @@ -292,6 +353,7 @@ private void ResetTriggers() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a RegistryImage resource upon running "cdktf plan ". | --- @@ -355,6 +417,50 @@ RegistryImage.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +RegistryImage.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a RegistryImage 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 RegistryImage to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing RegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/registry_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 RegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/registryImage.go.md b/docs/registryImage.go.md index 65777c90..00dcd0d1 100644 --- a/docs/registryImage.go.md +++ b/docs/registryImage.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. | | ResetId | *No description.* | | ResetInsecureSkipVerify | *No description.* | | ResetKeepRemotely | *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. + +--- + ##### `ResetId` ```go @@ -292,6 +353,7 @@ func ResetTriggers() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a RegistryImage resource upon running "cdktf plan ". | --- @@ -355,6 +417,50 @@ registryimage.RegistryImage_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/registryimage" + +registryimage.RegistryImage_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a RegistryImage 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 RegistryImage to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing RegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/registry_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 RegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/registryImage.java.md b/docs/registryImage.java.md index 7ab0dfd2..c4a8526b 100644 --- a/docs/registryImage.java.md +++ b/docs/registryImage.java.md @@ -181,6 +181,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -190,7 +191,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | resetId | *No description.* | | resetInsecureSkipVerify | *No description.* | | resetKeepRemotely | *No description.* | @@ -262,6 +265,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 @@ -370,6 +389,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 @@ -382,6 +420,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. + +--- + ##### `resetId` ```java @@ -413,6 +476,7 @@ public void resetTriggers() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a RegistryImage resource upon running "cdktf plan ". | --- @@ -476,6 +540,50 @@ RegistryImage.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.registry_image.RegistryImage; + +RegistryImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),RegistryImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a RegistryImage 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 RegistryImage to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing RegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/registry_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 RegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/registryImage.python.md b/docs/registryImage.python.md index 9b23d94e..3b76ad33 100644 --- a/docs/registryImage.python.md +++ b/docs/registryImage.python.md @@ -177,6 +177,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -186,7 +187,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_id | *No description.* | | reset_insecure_skip_verify | *No description.* | | reset_keep_remotely | *No description.* | @@ -263,6 +266,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 @@ -389,6 +410,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 @@ -403,6 +445,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_id` ```python @@ -434,6 +503,7 @@ def reset_triggers() -> 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 RegistryImage resource upon running "cdktf plan ". | --- @@ -503,6 +573,55 @@ registryImage.RegistryImage.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import registry_image + +registryImage.RegistryImage.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a RegistryImage 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 RegistryImage to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing RegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/registry_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 RegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/registryImage.typescript.md b/docs/registryImage.typescript.md index 32db16bd..e738d579 100644 --- a/docs/registryImage.typescript.md +++ b/docs/registryImage.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. | | resetId | *No description.* | | resetInsecureSkipVerify | *No description.* | | resetKeepRemotely | *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. + +--- + ##### `resetId` ```typescript @@ -292,6 +353,7 @@ public resetTriggers(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a RegistryImage resource upon running "cdktf plan ". | --- @@ -355,6 +417,50 @@ registryImage.RegistryImage.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { registryImage } from '@cdktf/provider-docker' + +registryImage.RegistryImage.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a RegistryImage 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 RegistryImage to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing RegistryImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/registry_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 RegistryImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/secret.csharp.md b/docs/secret.csharp.md index a30d2e9a..4cc7bdad 100644 --- a/docs/secret.csharp.md +++ b/docs/secret.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. | | PutLabels | *No description.* | | ResetId | *No description.* | | ResetLabels | *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. + +--- + ##### `PutLabels` ```csharp @@ -291,6 +352,7 @@ private void ResetLabels() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Secret resource upon running "cdktf plan ". | --- @@ -354,6 +416,50 @@ Secret.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Secret.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Secret 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 Secret to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Secret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Secret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/secret.go.md b/docs/secret.go.md index d05a81a5..ba64b15b 100644 --- a/docs/secret.go.md +++ b/docs/secret.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. | | PutLabels | *No description.* | | ResetId | *No description.* | | ResetLabels | *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. + +--- + ##### `PutLabels` ```go @@ -291,6 +352,7 @@ func ResetLabels() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Secret resource upon running "cdktf plan ". | --- @@ -354,6 +416,50 @@ secret.Secret_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/secret" + +secret.Secret_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Secret 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 Secret to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Secret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Secret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/secret.java.md b/docs/secret.java.md index a7bb14d9..acc23ec4 100644 --- a/docs/secret.java.md +++ b/docs/secret.java.md @@ -164,6 +164,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -173,7 +174,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | putLabels | *No description.* | | resetId | *No description.* | | resetLabels | *No description.* | @@ -244,6 +247,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 @@ -352,6 +371,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 @@ -364,6 +402,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. + +--- + ##### `putLabels` ```java @@ -395,6 +458,7 @@ public void resetLabels() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Secret resource upon running "cdktf plan ". | --- @@ -458,6 +522,50 @@ Secret.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.secret.Secret; + +Secret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Secret.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Secret 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 Secret to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Secret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Secret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/secret.python.md b/docs/secret.python.md index 62871f66..8cff39ae 100644 --- a/docs/secret.python.md +++ b/docs/secret.python.md @@ -161,6 +161,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -170,7 +171,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_labels | *No description.* | | reset_id | *No description.* | | reset_labels | *No description.* | @@ -246,6 +249,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 @@ -372,6 +393,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 @@ -386,6 +428,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_labels` ```python @@ -419,6 +488,7 @@ def reset_labels() -> 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 Secret resource upon running "cdktf plan ". | --- @@ -488,6 +558,55 @@ secret.Secret.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import secret + +secret.Secret.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Secret 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 Secret to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Secret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Secret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/secret.typescript.md b/docs/secret.typescript.md index c9a7126d..15425a18 100644 --- a/docs/secret.typescript.md +++ b/docs/secret.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. | | putLabels | *No description.* | | resetId | *No description.* | | resetLabels | *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. + +--- + ##### `putLabels` ```typescript @@ -291,6 +352,7 @@ public resetLabels(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Secret resource upon running "cdktf plan ". | --- @@ -354,6 +416,50 @@ secret.Secret.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { secret } from '@cdktf/provider-docker' + +secret.Secret.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Secret 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 Secret to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Secret that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/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 Secret to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/service.csharp.md b/docs/service.csharp.md index 6aa23b61..a5ccad9a 100644 --- a/docs/service.csharp.md +++ b/docs/service.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. | | PutAuth | *No description.* | | PutConvergeConfig | *No description.* | | PutEndpointSpec | *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. + +--- + ##### `PutAuth` ```csharp @@ -424,6 +485,7 @@ private void ResetUpdateConfig() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Service resource upon running "cdktf plan ". | --- @@ -487,6 +549,50 @@ Service.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Service.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Service 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 Service to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Service that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/service#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 Service to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/service.go.md b/docs/service.go.md index c09cc80a..e08c4ee8 100644 --- a/docs/service.go.md +++ b/docs/service.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. | | PutAuth | *No description.* | | PutConvergeConfig | *No description.* | | PutEndpointSpec | *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. + +--- + ##### `PutAuth` ```go @@ -424,6 +485,7 @@ func ResetUpdateConfig() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Service resource upon running "cdktf plan ". | --- @@ -487,6 +549,50 @@ service.Service_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/service" + +service.Service_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Service 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 Service to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Service that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/service#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 Service to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/service.java.md b/docs/service.java.md index 487f66cf..dc04db92 100644 --- a/docs/service.java.md +++ b/docs/service.java.md @@ -236,6 +236,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -245,7 +246,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | putAuth | *No description.* | | putConvergeConfig | *No description.* | | putEndpointSpec | *No description.* | @@ -329,6 +332,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 @@ -437,6 +456,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 @@ -449,6 +487,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. + +--- + ##### `putAuth` ```java @@ -600,6 +663,7 @@ public void resetUpdateConfig() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Service resource upon running "cdktf plan ". | --- @@ -663,6 +727,50 @@ Service.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.service.Service; + +Service.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Service.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Service 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 Service to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Service that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/service#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 Service to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/service.python.md b/docs/service.python.md index 3158b570..af9f06ea 100644 --- a/docs/service.python.md +++ b/docs/service.python.md @@ -233,6 +233,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -242,7 +243,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_auth | *No description.* | | put_converge_config | *No description.* | | put_endpoint_spec | *No description.* | @@ -331,6 +334,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 @@ -457,6 +478,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 @@ -471,6 +513,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_auth` ```python @@ -908,6 +977,7 @@ def reset_update_config() -> 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 Service resource upon running "cdktf plan ". | --- @@ -977,6 +1047,55 @@ service.Service.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import service + +service.Service.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Service 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 Service to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Service that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/service#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 Service to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/service.typescript.md b/docs/service.typescript.md index b3f37150..a1ba806e 100644 --- a/docs/service.typescript.md +++ b/docs/service.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. | | putAuth | *No description.* | | putConvergeConfig | *No description.* | | putEndpointSpec | *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. + +--- + ##### `putAuth` ```typescript @@ -424,6 +485,7 @@ public resetUpdateConfig(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Service resource upon running "cdktf plan ". | --- @@ -487,6 +549,50 @@ service.Service.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { service } from '@cdktf/provider-docker' + +service.Service.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Service 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 Service to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Service that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/service#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 Service to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/tag.csharp.md b/docs/tag.csharp.md index 9f281293..37b176d8 100644 --- a/docs/tag.csharp.md +++ b/docs/tag.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. | | ResetId | *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. + +--- + ##### `ResetId` ```csharp @@ -271,6 +332,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Tag resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ Tag.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Tag.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Tag 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 Tag to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Tag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/tag#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 Tag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/tag.go.md b/docs/tag.go.md index 89734515..c8a15053 100644 --- a/docs/tag.go.md +++ b/docs/tag.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. | | ResetId | *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. + +--- + ##### `ResetId` ```go @@ -271,6 +332,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Tag resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ tag.Tag_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/tag" + +tag.Tag_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Tag 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 Tag to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Tag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/tag#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 Tag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/tag.java.md b/docs/tag.java.md index ea569af0..ae527df0 100644 --- a/docs/tag.java.md +++ b/docs/tag.java.md @@ -151,6 +151,7 @@ If you experience problems setting this value it might not be settable. Please t | 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.* | @@ -160,7 +161,9 @@ If you experience problems setting this value it might not be settable. Please t | 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. | | resetId | *No description.* | --- @@ -229,6 +232,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 @@ -337,6 +356,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 @@ -349,6 +387,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. + +--- + ##### `resetId` ```java @@ -362,6 +425,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Tag resource upon running "cdktf plan ". | --- @@ -425,6 +489,50 @@ Tag.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.tag.Tag; + +Tag.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Tag.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Tag 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 Tag to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Tag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/tag#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 Tag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/tag.python.md b/docs/tag.python.md index 11f47555..31d18003 100644 --- a/docs/tag.python.md +++ b/docs/tag.python.md @@ -149,6 +149,7 @@ If you experience problems setting this value it might not be settable. Please t | 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.* | @@ -158,7 +159,9 @@ If you experience problems setting this value it might not be settable. Please t | 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_id | *No description.* | --- @@ -232,6 +235,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 @@ -358,6 +379,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 @@ -372,6 +414,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_id` ```python @@ -385,6 +454,7 @@ def reset_id() -> 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 Tag resource upon running "cdktf plan ". | --- @@ -454,6 +524,55 @@ tag.Tag.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import tag + +tag.Tag.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Tag 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 Tag to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Tag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/tag#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 Tag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/tag.typescript.md b/docs/tag.typescript.md index 49e2c3ed..5b1d5292 100644 --- a/docs/tag.typescript.md +++ b/docs/tag.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. | | resetId | *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. + +--- + ##### `resetId` ```typescript @@ -271,6 +332,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Tag resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ tag.Tag.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { tag } from '@cdktf/provider-docker' + +tag.Tag.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Tag 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 Tag to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Tag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/tag#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 Tag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volume.csharp.md b/docs/volume.csharp.md index 28cf228b..1ca2bec9 100644 --- a/docs/volume.csharp.md +++ b/docs/volume.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. | | PutLabels | *No description.* | | ResetDriver | *No description.* | | ResetDriverOpts | *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. + +--- + ##### `PutLabels` ```csharp @@ -312,6 +373,7 @@ private void ResetName() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Volume resource upon running "cdktf plan ". | --- @@ -375,6 +437,50 @@ Volume.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Docker; + +Volume.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Volume 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 Volume to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Volume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/volume#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 Volume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volume.go.md b/docs/volume.go.md index 006372d2..55e40e56 100644 --- a/docs/volume.go.md +++ b/docs/volume.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. | | PutLabels | *No description.* | | ResetDriver | *No description.* | | ResetDriverOpts | *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. + +--- + ##### `PutLabels` ```go @@ -312,6 +373,7 @@ func ResetName() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Volume resource upon running "cdktf plan ". | --- @@ -375,6 +437,50 @@ volume.Volume_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-docker-go/docker/v10/volume" + +volume.Volume_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Volume 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 Volume to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Volume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/volume#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 Volume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volume.java.md b/docs/volume.java.md index 5f1739a3..a68d53e8 100644 --- a/docs/volume.java.md +++ b/docs/volume.java.md @@ -176,6 +176,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -185,7 +186,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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. | | putLabels | *No description.* | | resetDriver | *No description.* | | resetDriverOpts | *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. + +--- + ##### `putLabels` ```java @@ -428,6 +491,7 @@ public void resetName() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Volume resource upon running "cdktf plan ". | --- @@ -491,6 +555,50 @@ Volume.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.docker.volume.Volume; + +Volume.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Volume.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Volume 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 Volume to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Volume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/volume#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 Volume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volume.python.md b/docs/volume.python.md index b2593ffa..9074be4c 100644 --- a/docs/volume.python.md +++ b/docs/volume.python.md @@ -173,6 +173,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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.* | @@ -182,7 +183,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/kreuz | 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_labels | *No description.* | | reset_driver | *No description.* | | reset_driver_opts | *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_labels` ```python @@ -452,6 +521,7 @@ def reset_name() -> 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 Volume resource upon running "cdktf plan ". | --- @@ -521,6 +591,55 @@ volume.Volume.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_docker import volume + +volume.Volume.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Volume 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 Volume to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Volume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/volume#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 Volume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volume.typescript.md b/docs/volume.typescript.md index 42c8d27c..4d3cd4b1 100644 --- a/docs/volume.typescript.md +++ b/docs/volume.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. | | putLabels | *No description.* | | resetDriver | *No description.* | | resetDriverOpts | *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. + +--- + ##### `putLabels` ```typescript @@ -312,6 +373,7 @@ public resetName(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Volume resource upon running "cdktf plan ". | --- @@ -375,6 +437,50 @@ volume.Volume.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { volume } from '@cdktf/provider-docker' + +volume.Volume.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Volume 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 Volume to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Volume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/volume#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 Volume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/package.json b/package.json index 8df4b673..021817a0 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": "^3.9.10" }, "peerDependencies": { - "cdktf": "^0.18.0", + "cdktf": "^0.19.0", "constructs": "^10.0.0" }, "resolutions": { diff --git a/src/config/index.ts b/src/config/index.ts index 54117f54..289e9c79 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -43,6 +43,20 @@ export class Config extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_config"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Config 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 Config to import + * @param importFromId The id of the existing Config that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/config#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Config to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_config", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/container/index.ts b/src/container/index.ts index 24c25467..340f877c 100644 --- a/src/container/index.ts +++ b/src/container/index.ts @@ -2852,6 +2852,20 @@ export class Container extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_container"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Container 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 Container to import + * @param importFromId The id of the existing Container that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/container#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Container to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_container", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-docker-image/index.ts b/src/data-docker-image/index.ts index e28c5aa6..da3cb09f 100644 --- a/src/data-docker-image/index.ts +++ b/src/data-docker-image/index.ts @@ -37,6 +37,20 @@ export class DataDockerImage extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "docker_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDockerImage 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 DataDockerImage to import + * @param importFromId The id of the existing DataDockerImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/image#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDockerImage to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-docker-logs/index.ts b/src/data-docker-logs/index.ts index 88cbfd1e..17ea1a45 100644 --- a/src/data-docker-logs/index.ts +++ b/src/data-docker-logs/index.ts @@ -81,6 +81,20 @@ export class DataDockerLogs extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "docker_logs"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDockerLogs 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 DataDockerLogs to import + * @param importFromId The id of the existing DataDockerLogs that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/logs#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDockerLogs to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_logs", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-docker-network/index.ts b/src/data-docker-network/index.ts index 36e65587..ae7fd71e 100644 --- a/src/data-docker-network/index.ts +++ b/src/data-docker-network/index.ts @@ -110,6 +110,20 @@ export class DataDockerNetwork extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "docker_network"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDockerNetwork 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 DataDockerNetwork to import + * @param importFromId The id of the existing DataDockerNetwork that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/network#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDockerNetwork to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_network", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-docker-plugin/index.ts b/src/data-docker-plugin/index.ts index 643cd086..475c883b 100644 --- a/src/data-docker-plugin/index.ts +++ b/src/data-docker-plugin/index.ts @@ -39,6 +39,20 @@ export class DataDockerPlugin extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "docker_plugin"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDockerPlugin 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 DataDockerPlugin to import + * @param importFromId The id of the existing DataDockerPlugin that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/plugin#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDockerPlugin to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_plugin", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-docker-registry-image/index.ts b/src/data-docker-registry-image/index.ts index 0ac1cda6..0f938027 100644 --- a/src/data-docker-registry-image/index.ts +++ b/src/data-docker-registry-image/index.ts @@ -43,6 +43,20 @@ export class DataDockerRegistryImage extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "docker_registry_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDockerRegistryImage 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 DataDockerRegistryImage to import + * @param importFromId The id of the existing DataDockerRegistryImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/data-sources/registry_image#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDockerRegistryImage to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_registry_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/image/index.ts b/src/image/index.ts index a622eec5..c0e6c7cf 100644 --- a/src/image/index.ts +++ b/src/image/index.ts @@ -1563,6 +1563,20 @@ export class Image extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Image 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 Image to import + * @param importFromId The id of the existing Image that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/image#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Image to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/network/index.ts b/src/network/index.ts index 1dfe44a9..b50c02c0 100644 --- a/src/network/index.ts +++ b/src/network/index.ts @@ -411,6 +411,20 @@ export class Network extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_network"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Network 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 Network to import + * @param importFromId The id of the existing Network that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/network#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Network to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_network", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/plugin/index.ts b/src/plugin/index.ts index d02fd34b..1942af81 100644 --- a/src/plugin/index.ts +++ b/src/plugin/index.ts @@ -207,6 +207,20 @@ export class Plugin extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_plugin"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Plugin 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 Plugin to import + * @param importFromId The id of the existing Plugin that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/plugin#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Plugin to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_plugin", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/provider/index.ts b/src/provider/index.ts index 3eed87fa..f235f42d 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -126,6 +126,20 @@ export class DockerProvider extends cdktf.TerraformProvider { // ================= public static readonly tfResourceType = "docker"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DockerProvider 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 DockerProvider to import + * @param importFromId The id of the existing DockerProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DockerProvider to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/registry-image/index.ts b/src/registry-image/index.ts index 8cbb4be9..75dfae9c 100644 --- a/src/registry-image/index.ts +++ b/src/registry-image/index.ts @@ -55,6 +55,20 @@ export class RegistryImage extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_registry_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a RegistryImage 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 RegistryImage to import + * @param importFromId The id of the existing RegistryImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/registry_image#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the RegistryImage to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_registry_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/secret/index.ts b/src/secret/index.ts index bdea641c..71ebb426 100644 --- a/src/secret/index.ts +++ b/src/secret/index.ts @@ -171,6 +171,20 @@ export class Secret extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_secret"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Secret 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 Secret to import + * @param importFromId The id of the existing Secret that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/secret#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Secret to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_secret", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/service/index.ts b/src/service/index.ts index 1ba16b90..8722775e 100644 --- a/src/service/index.ts +++ b/src/service/index.ts @@ -5424,6 +5424,20 @@ export class Service extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_service"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Service 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 Service to import + * @param importFromId The id of the existing Service that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/service#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Service to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_service", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/tag/index.ts b/src/tag/index.ts index b1ae251f..4afc359b 100644 --- a/src/tag/index.ts +++ b/src/tag/index.ts @@ -43,6 +43,20 @@ export class Tag extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_tag"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Tag 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 Tag to import + * @param importFromId The id of the existing Tag that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/tag#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Tag to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_tag", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/volume/index.ts b/src/volume/index.ts index 59da81cb..67b55d49 100644 --- a/src/volume/index.ts +++ b/src/volume/index.ts @@ -177,6 +177,20 @@ export class Volume extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "docker_volume"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Volume 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 Volume to import + * @param importFromId The id of the existing Volume that should be imported. Refer to the {@link https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs/resources/volume#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Volume to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "docker_volume", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/yarn.lock b/yarn.lock index f1069621..dad41e52 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"