From 03880f63eba5e18dae864834fa2a39bf81b804c4 Mon Sep 17 00:00:00 2001 From: team-tf-cdk <84392119+team-tf-cdk@users.noreply.github.com> Date: Tue, 17 Oct 2023 08:20:36 -0400 Subject: [PATCH] feat!: update CDKTF version to `0.19.0` (#637) Triggered by https://github.com/cdktf/cdktf-repository-manager/actions/runs/6546682528 --- .../workflows/auto-close-community-issues.yml | 2 + .../workflows/auto-close-community-prs.yml | 2 + .projen/deps.json | 6 +- .projenrc.js | 2 +- docs/app.csharp.md | 106 ++++++++++++++ docs/app.go.md | 106 ++++++++++++++ docs/app.java.md | 108 ++++++++++++++ docs/app.python.md | 119 +++++++++++++++ docs/app.typescript.md | 106 ++++++++++++++ docs/cdn.csharp.md | 106 ++++++++++++++ docs/cdn.go.md | 106 ++++++++++++++ docs/cdn.java.md | 108 ++++++++++++++ docs/cdn.python.md | 119 +++++++++++++++ docs/cdn.typescript.md | 106 ++++++++++++++ docs/certificate.csharp.md | 106 ++++++++++++++ docs/certificate.go.md | 106 ++++++++++++++ docs/certificate.java.md | 108 ++++++++++++++ docs/certificate.python.md | 119 +++++++++++++++ docs/certificate.typescript.md | 106 ++++++++++++++ docs/containerRegistry.csharp.md | 106 ++++++++++++++ docs/containerRegistry.go.md | 106 ++++++++++++++ docs/containerRegistry.java.md | 108 ++++++++++++++ docs/containerRegistry.python.md | 119 +++++++++++++++ docs/containerRegistry.typescript.md | 106 ++++++++++++++ ...ntainerRegistryDockerCredentials.csharp.md | 106 ++++++++++++++ docs/containerRegistryDockerCredentials.go.md | 106 ++++++++++++++ ...containerRegistryDockerCredentials.java.md | 108 ++++++++++++++ ...ntainerRegistryDockerCredentials.python.md | 119 +++++++++++++++ ...nerRegistryDockerCredentials.typescript.md | 106 ++++++++++++++ docs/customImage.csharp.md | 106 ++++++++++++++ docs/customImage.go.md | 106 ++++++++++++++ docs/customImage.java.md | 108 ++++++++++++++ docs/customImage.python.md | 119 +++++++++++++++ docs/customImage.typescript.md | 106 ++++++++++++++ docs/dataDigitaloceanAccount.csharp.md | 45 ++++++ docs/dataDigitaloceanAccount.go.md | 45 ++++++ docs/dataDigitaloceanAccount.java.md | 45 ++++++ docs/dataDigitaloceanAccount.python.md | 50 +++++++ docs/dataDigitaloceanAccount.typescript.md | 45 ++++++ docs/dataDigitaloceanApp.csharp.md | 45 ++++++ docs/dataDigitaloceanApp.go.md | 45 ++++++ docs/dataDigitaloceanApp.java.md | 45 ++++++ docs/dataDigitaloceanApp.python.md | 50 +++++++ docs/dataDigitaloceanApp.typescript.md | 45 ++++++ docs/dataDigitaloceanCertificate.csharp.md | 45 ++++++ docs/dataDigitaloceanCertificate.go.md | 45 ++++++ docs/dataDigitaloceanCertificate.java.md | 45 ++++++ docs/dataDigitaloceanCertificate.python.md | 50 +++++++ .../dataDigitaloceanCertificate.typescript.md | 45 ++++++ ...ataDigitaloceanContainerRegistry.csharp.md | 45 ++++++ docs/dataDigitaloceanContainerRegistry.go.md | 45 ++++++ .../dataDigitaloceanContainerRegistry.java.md | 45 ++++++ ...ataDigitaloceanContainerRegistry.python.md | 50 +++++++ ...igitaloceanContainerRegistry.typescript.md | 45 ++++++ docs/dataDigitaloceanDatabaseCa.csharp.md | 45 ++++++ docs/dataDigitaloceanDatabaseCa.go.md | 45 ++++++ docs/dataDigitaloceanDatabaseCa.java.md | 45 ++++++ docs/dataDigitaloceanDatabaseCa.python.md | 50 +++++++ docs/dataDigitaloceanDatabaseCa.typescript.md | 45 ++++++ .../dataDigitaloceanDatabaseCluster.csharp.md | 45 ++++++ docs/dataDigitaloceanDatabaseCluster.go.md | 45 ++++++ docs/dataDigitaloceanDatabaseCluster.java.md | 45 ++++++ .../dataDigitaloceanDatabaseCluster.python.md | 50 +++++++ ...aDigitaloceanDatabaseCluster.typescript.md | 45 ++++++ .../dataDigitaloceanDatabaseReplica.csharp.md | 45 ++++++ docs/dataDigitaloceanDatabaseReplica.go.md | 45 ++++++ docs/dataDigitaloceanDatabaseReplica.java.md | 45 ++++++ .../dataDigitaloceanDatabaseReplica.python.md | 50 +++++++ ...aDigitaloceanDatabaseReplica.typescript.md | 45 ++++++ docs/dataDigitaloceanDatabaseUser.csharp.md | 45 ++++++ docs/dataDigitaloceanDatabaseUser.go.md | 45 ++++++ docs/dataDigitaloceanDatabaseUser.java.md | 45 ++++++ docs/dataDigitaloceanDatabaseUser.python.md | 50 +++++++ ...dataDigitaloceanDatabaseUser.typescript.md | 45 ++++++ docs/dataDigitaloceanDomain.csharp.md | 45 ++++++ docs/dataDigitaloceanDomain.go.md | 45 ++++++ docs/dataDigitaloceanDomain.java.md | 45 ++++++ docs/dataDigitaloceanDomain.python.md | 50 +++++++ docs/dataDigitaloceanDomain.typescript.md | 45 ++++++ docs/dataDigitaloceanDomains.csharp.md | 45 ++++++ docs/dataDigitaloceanDomains.go.md | 45 ++++++ docs/dataDigitaloceanDomains.java.md | 45 ++++++ docs/dataDigitaloceanDomains.python.md | 50 +++++++ docs/dataDigitaloceanDomains.typescript.md | 45 ++++++ docs/dataDigitaloceanDroplet.csharp.md | 45 ++++++ docs/dataDigitaloceanDroplet.go.md | 45 ++++++ docs/dataDigitaloceanDroplet.java.md | 45 ++++++ docs/dataDigitaloceanDroplet.python.md | 50 +++++++ docs/dataDigitaloceanDroplet.typescript.md | 45 ++++++ .../dataDigitaloceanDropletSnapshot.csharp.md | 45 ++++++ docs/dataDigitaloceanDropletSnapshot.go.md | 45 ++++++ docs/dataDigitaloceanDropletSnapshot.java.md | 45 ++++++ .../dataDigitaloceanDropletSnapshot.python.md | 50 +++++++ ...aDigitaloceanDropletSnapshot.typescript.md | 45 ++++++ docs/dataDigitaloceanDroplets.csharp.md | 45 ++++++ docs/dataDigitaloceanDroplets.go.md | 45 ++++++ docs/dataDigitaloceanDroplets.java.md | 45 ++++++ docs/dataDigitaloceanDroplets.python.md | 50 +++++++ docs/dataDigitaloceanDroplets.typescript.md | 45 ++++++ docs/dataDigitaloceanFirewall.csharp.md | 45 ++++++ docs/dataDigitaloceanFirewall.go.md | 45 ++++++ docs/dataDigitaloceanFirewall.java.md | 45 ++++++ docs/dataDigitaloceanFirewall.python.md | 50 +++++++ docs/dataDigitaloceanFirewall.typescript.md | 45 ++++++ docs/dataDigitaloceanFloatingIp.csharp.md | 45 ++++++ docs/dataDigitaloceanFloatingIp.go.md | 45 ++++++ docs/dataDigitaloceanFloatingIp.java.md | 45 ++++++ docs/dataDigitaloceanFloatingIp.python.md | 50 +++++++ docs/dataDigitaloceanFloatingIp.typescript.md | 45 ++++++ docs/dataDigitaloceanImage.csharp.md | 45 ++++++ docs/dataDigitaloceanImage.go.md | 45 ++++++ docs/dataDigitaloceanImage.java.md | 45 ++++++ docs/dataDigitaloceanImage.python.md | 50 +++++++ docs/dataDigitaloceanImage.typescript.md | 45 ++++++ docs/dataDigitaloceanImages.csharp.md | 45 ++++++ docs/dataDigitaloceanImages.go.md | 45 ++++++ docs/dataDigitaloceanImages.java.md | 45 ++++++ docs/dataDigitaloceanImages.python.md | 50 +++++++ docs/dataDigitaloceanImages.typescript.md | 45 ++++++ ...ataDigitaloceanKubernetesCluster.csharp.md | 45 ++++++ docs/dataDigitaloceanKubernetesCluster.go.md | 45 ++++++ .../dataDigitaloceanKubernetesCluster.java.md | 45 ++++++ ...ataDigitaloceanKubernetesCluster.python.md | 50 +++++++ ...igitaloceanKubernetesCluster.typescript.md | 45 ++++++ ...taDigitaloceanKubernetesVersions.csharp.md | 45 ++++++ docs/dataDigitaloceanKubernetesVersions.go.md | 45 ++++++ ...dataDigitaloceanKubernetesVersions.java.md | 45 ++++++ ...taDigitaloceanKubernetesVersions.python.md | 50 +++++++ ...gitaloceanKubernetesVersions.typescript.md | 45 ++++++ docs/dataDigitaloceanLoadbalancer.csharp.md | 45 ++++++ docs/dataDigitaloceanLoadbalancer.go.md | 45 ++++++ docs/dataDigitaloceanLoadbalancer.java.md | 45 ++++++ docs/dataDigitaloceanLoadbalancer.python.md | 50 +++++++ ...dataDigitaloceanLoadbalancer.typescript.md | 45 ++++++ docs/dataDigitaloceanProject.csharp.md | 45 ++++++ docs/dataDigitaloceanProject.go.md | 45 ++++++ docs/dataDigitaloceanProject.java.md | 45 ++++++ docs/dataDigitaloceanProject.python.md | 50 +++++++ docs/dataDigitaloceanProject.typescript.md | 45 ++++++ docs/dataDigitaloceanProjects.csharp.md | 45 ++++++ docs/dataDigitaloceanProjects.go.md | 45 ++++++ docs/dataDigitaloceanProjects.java.md | 45 ++++++ docs/dataDigitaloceanProjects.python.md | 50 +++++++ docs/dataDigitaloceanProjects.typescript.md | 45 ++++++ docs/dataDigitaloceanRecord.csharp.md | 45 ++++++ docs/dataDigitaloceanRecord.go.md | 45 ++++++ docs/dataDigitaloceanRecord.java.md | 45 ++++++ docs/dataDigitaloceanRecord.python.md | 50 +++++++ docs/dataDigitaloceanRecord.typescript.md | 45 ++++++ docs/dataDigitaloceanRecords.csharp.md | 45 ++++++ docs/dataDigitaloceanRecords.go.md | 45 ++++++ docs/dataDigitaloceanRecords.java.md | 45 ++++++ docs/dataDigitaloceanRecords.python.md | 50 +++++++ docs/dataDigitaloceanRecords.typescript.md | 45 ++++++ docs/dataDigitaloceanRegion.csharp.md | 45 ++++++ docs/dataDigitaloceanRegion.go.md | 45 ++++++ docs/dataDigitaloceanRegion.java.md | 45 ++++++ docs/dataDigitaloceanRegion.python.md | 50 +++++++ docs/dataDigitaloceanRegion.typescript.md | 45 ++++++ docs/dataDigitaloceanRegions.csharp.md | 45 ++++++ docs/dataDigitaloceanRegions.go.md | 45 ++++++ docs/dataDigitaloceanRegions.java.md | 45 ++++++ docs/dataDigitaloceanRegions.python.md | 50 +++++++ docs/dataDigitaloceanRegions.typescript.md | 45 ++++++ docs/dataDigitaloceanReservedIp.csharp.md | 45 ++++++ docs/dataDigitaloceanReservedIp.go.md | 45 ++++++ docs/dataDigitaloceanReservedIp.java.md | 45 ++++++ docs/dataDigitaloceanReservedIp.python.md | 50 +++++++ docs/dataDigitaloceanReservedIp.typescript.md | 45 ++++++ docs/dataDigitaloceanSizes.csharp.md | 45 ++++++ docs/dataDigitaloceanSizes.go.md | 45 ++++++ docs/dataDigitaloceanSizes.java.md | 45 ++++++ docs/dataDigitaloceanSizes.python.md | 50 +++++++ docs/dataDigitaloceanSizes.typescript.md | 45 ++++++ docs/dataDigitaloceanSpacesBucket.csharp.md | 45 ++++++ docs/dataDigitaloceanSpacesBucket.go.md | 45 ++++++ docs/dataDigitaloceanSpacesBucket.java.md | 45 ++++++ docs/dataDigitaloceanSpacesBucket.python.md | 50 +++++++ ...dataDigitaloceanSpacesBucket.typescript.md | 45 ++++++ ...taDigitaloceanSpacesBucketObject.csharp.md | 45 ++++++ docs/dataDigitaloceanSpacesBucketObject.go.md | 45 ++++++ ...dataDigitaloceanSpacesBucketObject.java.md | 45 ++++++ ...taDigitaloceanSpacesBucketObject.python.md | 50 +++++++ ...gitaloceanSpacesBucketObject.typescript.md | 45 ++++++ ...aDigitaloceanSpacesBucketObjects.csharp.md | 45 ++++++ .../dataDigitaloceanSpacesBucketObjects.go.md | 45 ++++++ ...ataDigitaloceanSpacesBucketObjects.java.md | 45 ++++++ ...aDigitaloceanSpacesBucketObjects.python.md | 50 +++++++ ...italoceanSpacesBucketObjects.typescript.md | 45 ++++++ docs/dataDigitaloceanSpacesBuckets.csharp.md | 45 ++++++ docs/dataDigitaloceanSpacesBuckets.go.md | 45 ++++++ docs/dataDigitaloceanSpacesBuckets.java.md | 45 ++++++ docs/dataDigitaloceanSpacesBuckets.python.md | 50 +++++++ ...ataDigitaloceanSpacesBuckets.typescript.md | 45 ++++++ docs/dataDigitaloceanSshKey.csharp.md | 45 ++++++ docs/dataDigitaloceanSshKey.go.md | 45 ++++++ docs/dataDigitaloceanSshKey.java.md | 45 ++++++ docs/dataDigitaloceanSshKey.python.md | 50 +++++++ docs/dataDigitaloceanSshKey.typescript.md | 45 ++++++ docs/dataDigitaloceanSshKeys.csharp.md | 45 ++++++ docs/dataDigitaloceanSshKeys.go.md | 45 ++++++ docs/dataDigitaloceanSshKeys.java.md | 45 ++++++ docs/dataDigitaloceanSshKeys.python.md | 50 +++++++ docs/dataDigitaloceanSshKeys.typescript.md | 45 ++++++ docs/dataDigitaloceanTag.csharp.md | 45 ++++++ docs/dataDigitaloceanTag.go.md | 45 ++++++ docs/dataDigitaloceanTag.java.md | 45 ++++++ docs/dataDigitaloceanTag.python.md | 50 +++++++ docs/dataDigitaloceanTag.typescript.md | 45 ++++++ docs/dataDigitaloceanTags.csharp.md | 45 ++++++ docs/dataDigitaloceanTags.go.md | 45 ++++++ docs/dataDigitaloceanTags.java.md | 45 ++++++ docs/dataDigitaloceanTags.python.md | 50 +++++++ docs/dataDigitaloceanTags.typescript.md | 45 ++++++ docs/dataDigitaloceanVolume.csharp.md | 45 ++++++ docs/dataDigitaloceanVolume.go.md | 45 ++++++ docs/dataDigitaloceanVolume.java.md | 45 ++++++ docs/dataDigitaloceanVolume.python.md | 50 +++++++ docs/dataDigitaloceanVolume.typescript.md | 45 ++++++ docs/dataDigitaloceanVolumeSnapshot.csharp.md | 45 ++++++ docs/dataDigitaloceanVolumeSnapshot.go.md | 45 ++++++ docs/dataDigitaloceanVolumeSnapshot.java.md | 45 ++++++ docs/dataDigitaloceanVolumeSnapshot.python.md | 50 +++++++ ...taDigitaloceanVolumeSnapshot.typescript.md | 45 ++++++ docs/dataDigitaloceanVpc.csharp.md | 45 ++++++ docs/dataDigitaloceanVpc.go.md | 45 ++++++ docs/dataDigitaloceanVpc.java.md | 45 ++++++ docs/dataDigitaloceanVpc.python.md | 50 +++++++ docs/dataDigitaloceanVpc.typescript.md | 45 ++++++ docs/databaseCluster.csharp.md | 106 ++++++++++++++ docs/databaseCluster.go.md | 106 ++++++++++++++ docs/databaseCluster.java.md | 108 ++++++++++++++ docs/databaseCluster.python.md | 119 +++++++++++++++ docs/databaseCluster.typescript.md | 106 ++++++++++++++ docs/databaseConnectionPool.csharp.md | 106 ++++++++++++++ docs/databaseConnectionPool.go.md | 106 ++++++++++++++ docs/databaseConnectionPool.java.md | 108 ++++++++++++++ docs/databaseConnectionPool.python.md | 119 +++++++++++++++ docs/databaseConnectionPool.typescript.md | 106 ++++++++++++++ docs/databaseDb.csharp.md | 106 ++++++++++++++ docs/databaseDb.go.md | 106 ++++++++++++++ docs/databaseDb.java.md | 108 ++++++++++++++ docs/databaseDb.python.md | 119 +++++++++++++++ docs/databaseDb.typescript.md | 106 ++++++++++++++ docs/databaseFirewall.csharp.md | 106 ++++++++++++++ docs/databaseFirewall.go.md | 106 ++++++++++++++ docs/databaseFirewall.java.md | 108 ++++++++++++++ docs/databaseFirewall.python.md | 119 +++++++++++++++ docs/databaseFirewall.typescript.md | 106 ++++++++++++++ docs/databaseReplica.csharp.md | 106 ++++++++++++++ docs/databaseReplica.go.md | 106 ++++++++++++++ docs/databaseReplica.java.md | 108 ++++++++++++++ docs/databaseReplica.python.md | 119 +++++++++++++++ docs/databaseReplica.typescript.md | 106 ++++++++++++++ docs/databaseUser.csharp.md | 106 ++++++++++++++ docs/databaseUser.go.md | 106 ++++++++++++++ docs/databaseUser.java.md | 108 ++++++++++++++ docs/databaseUser.python.md | 119 +++++++++++++++ docs/databaseUser.typescript.md | 106 ++++++++++++++ docs/domain.csharp.md | 106 ++++++++++++++ docs/domain.go.md | 106 ++++++++++++++ docs/domain.java.md | 108 ++++++++++++++ docs/domain.python.md | 119 +++++++++++++++ docs/domain.typescript.md | 106 ++++++++++++++ docs/droplet.csharp.md | 106 ++++++++++++++ docs/droplet.go.md | 106 ++++++++++++++ docs/droplet.java.md | 108 ++++++++++++++ docs/droplet.python.md | 119 +++++++++++++++ docs/droplet.typescript.md | 106 ++++++++++++++ docs/dropletSnapshot.csharp.md | 106 ++++++++++++++ docs/dropletSnapshot.go.md | 106 ++++++++++++++ docs/dropletSnapshot.java.md | 108 ++++++++++++++ docs/dropletSnapshot.python.md | 119 +++++++++++++++ docs/dropletSnapshot.typescript.md | 106 ++++++++++++++ docs/firewall.csharp.md | 106 ++++++++++++++ docs/firewall.go.md | 106 ++++++++++++++ docs/firewall.java.md | 108 ++++++++++++++ docs/firewall.python.md | 119 +++++++++++++++ docs/firewall.typescript.md | 106 ++++++++++++++ docs/floatingIp.csharp.md | 106 ++++++++++++++ docs/floatingIp.go.md | 106 ++++++++++++++ docs/floatingIp.java.md | 108 ++++++++++++++ docs/floatingIp.python.md | 119 +++++++++++++++ docs/floatingIp.typescript.md | 106 ++++++++++++++ docs/floatingIpAssignment.csharp.md | 106 ++++++++++++++ docs/floatingIpAssignment.go.md | 106 ++++++++++++++ docs/floatingIpAssignment.java.md | 108 ++++++++++++++ docs/floatingIpAssignment.python.md | 119 +++++++++++++++ docs/floatingIpAssignment.typescript.md | 106 ++++++++++++++ docs/kubernetesCluster.csharp.md | 106 ++++++++++++++ docs/kubernetesCluster.go.md | 106 ++++++++++++++ docs/kubernetesCluster.java.md | 108 ++++++++++++++ docs/kubernetesCluster.python.md | 119 +++++++++++++++ docs/kubernetesCluster.typescript.md | 106 ++++++++++++++ docs/kubernetesNodePool.csharp.md | 106 ++++++++++++++ docs/kubernetesNodePool.go.md | 106 ++++++++++++++ docs/kubernetesNodePool.java.md | 108 ++++++++++++++ docs/kubernetesNodePool.python.md | 119 +++++++++++++++ docs/kubernetesNodePool.typescript.md | 106 ++++++++++++++ docs/loadbalancer.csharp.md | 106 ++++++++++++++ docs/loadbalancer.go.md | 106 ++++++++++++++ docs/loadbalancer.java.md | 108 ++++++++++++++ docs/loadbalancer.python.md | 119 +++++++++++++++ docs/loadbalancer.typescript.md | 106 ++++++++++++++ docs/monitorAlert.csharp.md | 106 ++++++++++++++ docs/monitorAlert.go.md | 106 ++++++++++++++ docs/monitorAlert.java.md | 108 ++++++++++++++ docs/monitorAlert.python.md | 119 +++++++++++++++ docs/monitorAlert.typescript.md | 106 ++++++++++++++ docs/project.csharp.md | 106 ++++++++++++++ docs/project.go.md | 106 ++++++++++++++ docs/project.java.md | 108 ++++++++++++++ docs/project.python.md | 119 +++++++++++++++ docs/project.typescript.md | 106 ++++++++++++++ docs/projectResources.csharp.md | 106 ++++++++++++++ docs/projectResources.go.md | 106 ++++++++++++++ docs/projectResources.java.md | 108 ++++++++++++++ docs/projectResources.python.md | 119 +++++++++++++++ docs/projectResources.typescript.md | 106 ++++++++++++++ docs/provider.csharp.md | 45 ++++++ docs/provider.go.md | 45 ++++++ docs/provider.java.md | 45 ++++++ docs/provider.python.md | 50 +++++++ docs/provider.typescript.md | 45 ++++++ docs/record.csharp.md | 106 ++++++++++++++ docs/record.go.md | 106 ++++++++++++++ docs/record.java.md | 108 ++++++++++++++ docs/record.python.md | 119 +++++++++++++++ docs/record.typescript.md | 106 ++++++++++++++ docs/reservedIp.csharp.md | 106 ++++++++++++++ docs/reservedIp.go.md | 106 ++++++++++++++ docs/reservedIp.java.md | 108 ++++++++++++++ docs/reservedIp.python.md | 119 +++++++++++++++ docs/reservedIp.typescript.md | 106 ++++++++++++++ docs/reservedIpAssignment.csharp.md | 106 ++++++++++++++ docs/reservedIpAssignment.go.md | 106 ++++++++++++++ docs/reservedIpAssignment.java.md | 108 ++++++++++++++ docs/reservedIpAssignment.python.md | 119 +++++++++++++++ docs/reservedIpAssignment.typescript.md | 106 ++++++++++++++ docs/spacesBucket.csharp.md | 106 ++++++++++++++ docs/spacesBucket.go.md | 106 ++++++++++++++ docs/spacesBucket.java.md | 108 ++++++++++++++ docs/spacesBucket.python.md | 119 +++++++++++++++ docs/spacesBucket.typescript.md | 106 ++++++++++++++ docs/spacesBucketCorsConfiguration.csharp.md | 106 ++++++++++++++ docs/spacesBucketCorsConfiguration.go.md | 106 ++++++++++++++ docs/spacesBucketCorsConfiguration.java.md | 108 ++++++++++++++ docs/spacesBucketCorsConfiguration.python.md | 119 +++++++++++++++ ...pacesBucketCorsConfiguration.typescript.md | 106 ++++++++++++++ docs/spacesBucketObject.csharp.md | 106 ++++++++++++++ docs/spacesBucketObject.go.md | 106 ++++++++++++++ docs/spacesBucketObject.java.md | 108 ++++++++++++++ docs/spacesBucketObject.python.md | 119 +++++++++++++++ docs/spacesBucketObject.typescript.md | 106 ++++++++++++++ docs/spacesBucketPolicy.csharp.md | 106 ++++++++++++++ docs/spacesBucketPolicy.go.md | 106 ++++++++++++++ docs/spacesBucketPolicy.java.md | 108 ++++++++++++++ docs/spacesBucketPolicy.python.md | 119 +++++++++++++++ docs/spacesBucketPolicy.typescript.md | 106 ++++++++++++++ docs/sshKey.csharp.md | 106 ++++++++++++++ docs/sshKey.go.md | 106 ++++++++++++++ docs/sshKey.java.md | 108 ++++++++++++++ docs/sshKey.python.md | 119 +++++++++++++++ docs/sshKey.typescript.md | 106 ++++++++++++++ docs/tag.csharp.md | 106 ++++++++++++++ docs/tag.go.md | 106 ++++++++++++++ docs/tag.java.md | 108 ++++++++++++++ docs/tag.python.md | 119 +++++++++++++++ docs/tag.typescript.md | 106 ++++++++++++++ docs/uptimeAlert.csharp.md | 106 ++++++++++++++ docs/uptimeAlert.go.md | 106 ++++++++++++++ docs/uptimeAlert.java.md | 108 ++++++++++++++ docs/uptimeAlert.python.md | 119 +++++++++++++++ docs/uptimeAlert.typescript.md | 106 ++++++++++++++ docs/uptimeCheck.csharp.md | 106 ++++++++++++++ docs/uptimeCheck.go.md | 106 ++++++++++++++ docs/uptimeCheck.java.md | 108 ++++++++++++++ docs/uptimeCheck.python.md | 119 +++++++++++++++ docs/uptimeCheck.typescript.md | 106 ++++++++++++++ docs/volume.csharp.md | 106 ++++++++++++++ docs/volume.go.md | 106 ++++++++++++++ docs/volume.java.md | 108 ++++++++++++++ docs/volume.python.md | 119 +++++++++++++++ docs/volume.typescript.md | 106 ++++++++++++++ docs/volumeAttachment.csharp.md | 106 ++++++++++++++ docs/volumeAttachment.go.md | 106 ++++++++++++++ docs/volumeAttachment.java.md | 108 ++++++++++++++ docs/volumeAttachment.python.md | 119 +++++++++++++++ docs/volumeAttachment.typescript.md | 106 ++++++++++++++ docs/volumeSnapshot.csharp.md | 106 ++++++++++++++ docs/volumeSnapshot.go.md | 106 ++++++++++++++ docs/volumeSnapshot.java.md | 108 ++++++++++++++ docs/volumeSnapshot.python.md | 119 +++++++++++++++ docs/volumeSnapshot.typescript.md | 106 ++++++++++++++ docs/vpc.csharp.md | 106 ++++++++++++++ docs/vpc.go.md | 106 ++++++++++++++ docs/vpc.java.md | 108 ++++++++++++++ docs/vpc.python.md | 119 +++++++++++++++ docs/vpc.typescript.md | 106 ++++++++++++++ package.json | 8 +- src/app/index.ts | 14 ++ src/cdn/index.ts | 14 ++ src/certificate/index.ts | 14 ++ .../index.ts | 14 ++ src/container-registry/index.ts | 14 ++ src/custom-image/index.ts | 14 ++ src/data-digitalocean-account/index.ts | 14 ++ src/data-digitalocean-app/index.ts | 14 ++ src/data-digitalocean-certificate/index.ts | 14 ++ .../index.ts | 14 ++ src/data-digitalocean-database-ca/index.ts | 14 ++ .../index.ts | 14 ++ .../index.ts | 14 ++ src/data-digitalocean-database-user/index.ts | 14 ++ src/data-digitalocean-domain/index.ts | 14 ++ src/data-digitalocean-domains/index.ts | 14 ++ .../index.ts | 14 ++ src/data-digitalocean-droplet/index.ts | 14 ++ src/data-digitalocean-droplets/index.ts | 14 ++ src/data-digitalocean-firewall/index.ts | 14 ++ src/data-digitalocean-floating-ip/index.ts | 14 ++ src/data-digitalocean-image/index.ts | 14 ++ src/data-digitalocean-images/index.ts | 14 ++ .../index.ts | 14 ++ .../index.ts | 14 ++ src/data-digitalocean-loadbalancer/index.ts | 14 ++ src/data-digitalocean-project/index.ts | 14 ++ src/data-digitalocean-projects/index.ts | 14 ++ src/data-digitalocean-record/index.ts | 14 ++ src/data-digitalocean-records/index.ts | 14 ++ src/data-digitalocean-region/index.ts | 14 ++ src/data-digitalocean-regions/index.ts | 14 ++ src/data-digitalocean-reserved-ip/index.ts | 14 ++ src/data-digitalocean-sizes/index.ts | 14 ++ .../index.ts | 14 ++ .../index.ts | 14 ++ src/data-digitalocean-spaces-bucket/index.ts | 14 ++ src/data-digitalocean-spaces-buckets/index.ts | 14 ++ src/data-digitalocean-ssh-key/index.ts | 14 ++ src/data-digitalocean-ssh-keys/index.ts | 14 ++ src/data-digitalocean-tag/index.ts | 14 ++ src/data-digitalocean-tags/index.ts | 14 ++ .../index.ts | 14 ++ src/data-digitalocean-volume/index.ts | 14 ++ src/data-digitalocean-vpc/index.ts | 14 ++ src/database-cluster/index.ts | 14 ++ src/database-connection-pool/index.ts | 14 ++ src/database-db/index.ts | 14 ++ src/database-firewall/index.ts | 14 ++ src/database-replica/index.ts | 14 ++ src/database-user/index.ts | 14 ++ src/domain/index.ts | 14 ++ src/droplet-snapshot/index.ts | 14 ++ src/droplet/index.ts | 14 ++ src/firewall/index.ts | 14 ++ src/floating-ip-assignment/index.ts | 14 ++ src/floating-ip/index.ts | 14 ++ src/kubernetes-cluster/index.ts | 14 ++ src/kubernetes-node-pool/index.ts | 14 ++ src/loadbalancer/index.ts | 14 ++ src/monitor-alert/index.ts | 14 ++ src/project-resources/index.ts | 14 ++ src/project/index.ts | 14 ++ src/provider/index.ts | 14 ++ src/record/index.ts | 14 ++ src/reserved-ip-assignment/index.ts | 14 ++ src/reserved-ip/index.ts | 14 ++ src/spaces-bucket-cors-configuration/index.ts | 14 ++ src/spaces-bucket-object/index.ts | 14 ++ src/spaces-bucket-policy/index.ts | 14 ++ src/spaces-bucket/index.ts | 14 ++ src/ssh-key/index.ts | 14 ++ src/tag/index.ts | 14 ++ src/uptime-alert/index.ts | 14 ++ src/uptime-check/index.ts | 14 ++ src/volume-attachment/index.ts | 14 ++ src/volume-snapshot/index.ts | 14 ++ src/volume/index.ts | 14 ++ src/vpc/index.ts | 14 ++ yarn.lock | 138 +++++++++--------- 480 files changed, 31642 insertions(+), 77 deletions(-) diff --git a/.github/workflows/auto-close-community-issues.yml b/.github/workflows/auto-close-community-issues.yml index ceba6c2f9..bacd36208 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 a5b35e289..58079bad3 100644 --- a/.github/workflows/auto-close-community-prs.yml +++ b/.github/workflows/auto-close-community-prs.yml @@ -12,6 +12,8 @@ jobs: pull-requests: write if: github.event.pull_request.author_association != 'OWNER' && github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'COLLABORATOR' steps: + - name: Checkout + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: Auto-close PRs by non-collaborators env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.projen/deps.json b/.projen/deps.json index 6a14ea2cc..0080949ae 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -17,12 +17,12 @@ }, { "name": "cdktf-cli", - "version": "^0.18.0", + "version": "^0.19.0", "type": "build" }, { "name": "cdktf", - "version": "^0.18.0", + "version": "^0.19.0", "type": "build" }, { @@ -88,7 +88,7 @@ }, { "name": "cdktf", - "version": "^0.18.0", + "version": "^0.19.0", "type": "peer" }, { diff --git a/.projenrc.js b/.projenrc.js index 6b449fbba..789464037 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -7,7 +7,7 @@ const { CdktfProviderProject } = require("@cdktf/provider-project"); const project = new CdktfProviderProject({ useCustomGithubRunner: false, terraformProvider: "digitalocean/digitalocean@~> 2.19", - cdktfVersion: "^0.18.0", + cdktfVersion: "^0.19.0", constructsVersion: "^10.0.0", minNodeVersion: "18.12.0", jsiiVersion: "^5.0.1", diff --git a/docs/app.csharp.md b/docs/app.csharp.md index c6e849532..90403ddcf 100644 --- a/docs/app.csharp.md +++ b/docs/app.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. | | PutSpec | *No description.* | | PutTimeouts | *No description.* | | ResetId | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutSpec` ```csharp @@ -311,6 +372,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a App resource upon running "cdktf plan ". | --- @@ -374,6 +436,50 @@ App.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +App.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a App 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 App to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing App that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the App to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/app.go.md b/docs/app.go.md index 3016cf335..1c8cd22e2 100644 --- a/docs/app.go.md +++ b/docs/app.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. | | PutSpec | *No description.* | | PutTimeouts | *No description.* | | ResetId | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutSpec` ```go @@ -311,6 +372,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a App resource upon running "cdktf plan ". | --- @@ -374,6 +436,50 @@ app.App_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/app" + +app.App_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a App 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 App to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing App that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the App to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/app.java.md b/docs/app.java.md index cd67585a6..b9eb6e46f 100644 --- a/docs/app.java.md +++ b/docs/app.java.md @@ -151,6 +151,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putSpec | *No description.* | | putTimeouts | *No description.* | | resetId | *No description.* | @@ -233,6 +236,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 @@ -341,6 +360,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 @@ -353,6 +391,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. + +--- + ##### `putSpec` ```java @@ -402,6 +465,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a App resource upon running "cdktf plan ". | --- @@ -465,6 +529,50 @@ App.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.app.App; + +App.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),App.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a App 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 App to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing App that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the App to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/app.python.md b/docs/app.python.md index d3b442430..7fad8350c 100644 --- a/docs/app.python.md +++ b/docs/app.python.md @@ -149,6 +149,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_spec | *No description.* | | put_timeouts | *No description.* | | reset_id | *No description.* | @@ -236,6 +239,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 @@ -362,6 +383,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 @@ -376,6 +418,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_spec` ```python @@ -554,6 +623,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a App resource upon running "cdktf plan ". | --- @@ -623,6 +693,55 @@ app.App.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import app + +app.App.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a App 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 App to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing App that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the App to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/app.typescript.md b/docs/app.typescript.md index ee3d781d1..74d301665 100644 --- a/docs/app.typescript.md +++ b/docs/app.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. | | putSpec | *No description.* | | putTimeouts | *No description.* | | resetId | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putSpec` ```typescript @@ -311,6 +372,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a App resource upon running "cdktf plan ". | --- @@ -374,6 +436,50 @@ app.App.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { app } from '@cdktf/provider-digitalocean' + +app.App.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a App 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 App to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing App that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the App to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/cdn.csharp.md b/docs/cdn.csharp.md index 6770d5739..e306463df 100644 --- a/docs/cdn.csharp.md +++ b/docs/cdn.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. | | ResetCertificateId | *No description.* | | ResetCertificateName | *No description.* | | ResetCustomDomain | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetCertificateId` ```csharp @@ -299,6 +360,7 @@ private void ResetTtl() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Cdn resource upon running "cdktf plan ". | --- @@ -362,6 +424,50 @@ Cdn.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Cdn.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Cdn 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 Cdn to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Cdn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/cdn#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 Cdn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/cdn.go.md b/docs/cdn.go.md index d2dc8d366..bb3ba3de5 100644 --- a/docs/cdn.go.md +++ b/docs/cdn.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. | | ResetCertificateId | *No description.* | | ResetCertificateName | *No description.* | | ResetCustomDomain | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetCertificateId` ```go @@ -299,6 +360,7 @@ func ResetTtl() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Cdn resource upon running "cdktf plan ". | --- @@ -362,6 +424,50 @@ cdn.Cdn_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/cdn" + +cdn.Cdn_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Cdn 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 Cdn to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Cdn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/cdn#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 Cdn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/cdn.java.md b/docs/cdn.java.md index 981cfac5b..80a48f62d 100644 --- a/docs/cdn.java.md +++ b/docs/cdn.java.md @@ -185,6 +185,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -194,7 +195,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetCertificateId | *No description.* | | resetCertificateName | *No description.* | | resetCustomDomain | *No description.* | @@ -267,6 +270,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 @@ -375,6 +394,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 @@ -387,6 +425,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. + +--- + ##### `resetCertificateId` ```java @@ -424,6 +487,7 @@ public void resetTtl() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Cdn resource upon running "cdktf plan ". | --- @@ -487,6 +551,50 @@ Cdn.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.cdn.Cdn; + +Cdn.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Cdn.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Cdn 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 Cdn to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Cdn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/cdn#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 Cdn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/cdn.python.md b/docs/cdn.python.md index 95248729b..2aef8404b 100644 --- a/docs/cdn.python.md +++ b/docs/cdn.python.md @@ -183,6 +183,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -192,7 +193,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_certificate_id | *No description.* | | reset_certificate_name | *No description.* | | reset_custom_domain | *No description.* | @@ -270,6 +273,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 @@ -396,6 +417,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 @@ -410,6 +452,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_certificate_id` ```python @@ -447,6 +516,7 @@ def reset_ttl() -> 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 Cdn resource upon running "cdktf plan ". | --- @@ -516,6 +586,55 @@ cdn.Cdn.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import cdn + +cdn.Cdn.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Cdn 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 Cdn to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Cdn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/cdn#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 Cdn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/cdn.typescript.md b/docs/cdn.typescript.md index 292f5e98f..4a9b5b8e6 100644 --- a/docs/cdn.typescript.md +++ b/docs/cdn.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. | | resetCertificateId | *No description.* | | resetCertificateName | *No description.* | | resetCustomDomain | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetCertificateId` ```typescript @@ -299,6 +360,7 @@ public resetTtl(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Cdn resource upon running "cdktf plan ". | --- @@ -362,6 +424,50 @@ cdn.Cdn.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { cdn } from '@cdktf/provider-digitalocean' + +cdn.Cdn.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Cdn 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 Cdn to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Cdn that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/cdn#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 Cdn to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/certificate.csharp.md b/docs/certificate.csharp.md index 413e477cd..90af1f70f 100644 --- a/docs/certificate.csharp.md +++ b/docs/certificate.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. | | ResetCertificateChain | *No description.* | | ResetDomains | *No description.* | | ResetId | *No description.* | @@ -143,6 +146,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -251,6 +270,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -263,6 +300,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetCertificateChain` ```csharp @@ -306,6 +367,7 @@ private void ResetType() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Certificate resource upon running "cdktf plan ". | --- @@ -369,6 +431,50 @@ Certificate.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Certificate.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Certificate 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 Certificate to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Certificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/certificate#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 Certificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/certificate.go.md b/docs/certificate.go.md index dfd6d1f16..41daff687 100644 --- a/docs/certificate.go.md +++ b/docs/certificate.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. | | ResetCertificateChain | *No description.* | | ResetDomains | *No description.* | | ResetId | *No description.* | @@ -143,6 +146,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -251,6 +270,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -263,6 +300,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetCertificateChain` ```go @@ -306,6 +367,7 @@ func ResetType() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Certificate resource upon running "cdktf plan ". | --- @@ -369,6 +431,50 @@ certificate.Certificate_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/certificate" + +certificate.Certificate_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Certificate 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 Certificate to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Certificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/certificate#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 Certificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/certificate.java.md b/docs/certificate.java.md index 1688f54d5..63f646efc 100644 --- a/docs/certificate.java.md +++ b/docs/certificate.java.md @@ -187,6 +187,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -196,7 +197,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetCertificateChain | *No description.* | | resetDomains | *No description.* | | resetId | *No description.* | @@ -270,6 +273,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 @@ -378,6 +397,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 @@ -390,6 +428,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. + +--- + ##### `resetCertificateChain` ```java @@ -433,6 +496,7 @@ public void resetType() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Certificate resource upon running "cdktf plan ". | --- @@ -496,6 +560,50 @@ Certificate.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.certificate.Certificate; + +Certificate.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Certificate.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Certificate 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 Certificate to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Certificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/certificate#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 Certificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/certificate.python.md b/docs/certificate.python.md index 855c761bc..818dc444b 100644 --- a/docs/certificate.python.md +++ b/docs/certificate.python.md @@ -185,6 +185,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -194,7 +195,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_certificate_chain | *No description.* | | reset_domains | *No description.* | | reset_id | *No description.* | @@ -273,6 +276,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 @@ -399,6 +420,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 @@ -413,6 +455,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_certificate_chain` ```python @@ -456,6 +525,7 @@ def reset_type() -> 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 Certificate resource upon running "cdktf plan ". | --- @@ -525,6 +595,55 @@ certificate.Certificate.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import certificate + +certificate.Certificate.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Certificate 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 Certificate to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Certificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/certificate#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 Certificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/certificate.typescript.md b/docs/certificate.typescript.md index ac9184388..3041687b1 100644 --- a/docs/certificate.typescript.md +++ b/docs/certificate.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. | | resetCertificateChain | *No description.* | | resetDomains | *No description.* | | resetId | *No description.* | @@ -143,6 +146,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -251,6 +270,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -263,6 +300,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetCertificateChain` ```typescript @@ -306,6 +367,7 @@ public resetType(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Certificate resource upon running "cdktf plan ". | --- @@ -369,6 +431,50 @@ certificate.Certificate.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { certificate } from '@cdktf/provider-digitalocean' + +certificate.Certificate.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Certificate 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 Certificate to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Certificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/certificate#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 Certificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistry.csharp.md b/docs/containerRegistry.csharp.md index 5662d12b4..f07ffba17 100644 --- a/docs/containerRegistry.csharp.md +++ b/docs/containerRegistry.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.* | | ResetRegion | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ private void ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ContainerRegistry resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ ContainerRegistry.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +ContainerRegistry.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ContainerRegistry 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 ContainerRegistry to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry#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 ContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistry.go.md b/docs/containerRegistry.go.md index be3c3c60a..6dbd65158 100644 --- a/docs/containerRegistry.go.md +++ b/docs/containerRegistry.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.* | | ResetRegion | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ func ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ContainerRegistry resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ containerregistry.ContainerRegistry_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/containerregistry" + +containerregistry.ContainerRegistry_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ContainerRegistry 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 ContainerRegistry to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry#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 ContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistry.java.md b/docs/containerRegistry.java.md index 0416be808..b405d9a23 100644 --- a/docs/containerRegistry.java.md +++ b/docs/containerRegistry.java.md @@ -157,6 +157,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -166,7 +167,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | | resetRegion | *No description.* | @@ -236,6 +239,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 @@ -344,6 +363,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 @@ -356,6 +394,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 @@ -375,6 +438,7 @@ public void resetRegion() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ContainerRegistry resource upon running "cdktf plan ". | --- @@ -438,6 +502,50 @@ ContainerRegistry.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.container_registry.ContainerRegistry; + +ContainerRegistry.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ContainerRegistry.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ContainerRegistry 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 ContainerRegistry to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry#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 ContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistry.python.md b/docs/containerRegistry.python.md index 0f1488d6c..7412260e3 100644 --- a/docs/containerRegistry.python.md +++ b/docs/containerRegistry.python.md @@ -155,6 +155,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -164,7 +165,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_region | *No description.* | @@ -239,6 +242,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 @@ -365,6 +386,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 @@ -379,6 +421,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 @@ -398,6 +467,7 @@ def reset_region() -> 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 ContainerRegistry resource upon running "cdktf plan ". | --- @@ -467,6 +537,55 @@ containerRegistry.ContainerRegistry.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import container_registry + +containerRegistry.ContainerRegistry.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ContainerRegistry 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 ContainerRegistry to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry#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 ContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistry.typescript.md b/docs/containerRegistry.typescript.md index 82699ceb5..25a858be3 100644 --- a/docs/containerRegistry.typescript.md +++ b/docs/containerRegistry.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.* | | resetRegion | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ public resetRegion(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ContainerRegistry resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ containerRegistry.ContainerRegistry.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { containerRegistry } from '@cdktf/provider-digitalocean' + +containerRegistry.ContainerRegistry.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ContainerRegistry 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 ContainerRegistry to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry#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 ContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistryDockerCredentials.csharp.md b/docs/containerRegistryDockerCredentials.csharp.md index ab5d50a85..867167f4c 100644 --- a/docs/containerRegistryDockerCredentials.csharp.md +++ b/docs/containerRegistryDockerCredentials.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. | | ResetExpirySeconds | *No description.* | | ResetId | *No description.* | | ResetWrite | *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. + +--- + ##### `ResetExpirySeconds` ```csharp @@ -285,6 +346,7 @@ private void ResetWrite() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ContainerRegistryDockerCredentials resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ ContainerRegistryDockerCredentials.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +ContainerRegistryDockerCredentials.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ContainerRegistryDockerCredentials 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 ContainerRegistryDockerCredentials to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ContainerRegistryDockerCredentials that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry_docker_credentials#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 ContainerRegistryDockerCredentials to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistryDockerCredentials.go.md b/docs/containerRegistryDockerCredentials.go.md index 9f52621b8..64b56ae20 100644 --- a/docs/containerRegistryDockerCredentials.go.md +++ b/docs/containerRegistryDockerCredentials.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. | | ResetExpirySeconds | *No description.* | | ResetId | *No description.* | | ResetWrite | *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. + +--- + ##### `ResetExpirySeconds` ```go @@ -285,6 +346,7 @@ func ResetWrite() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ContainerRegistryDockerCredentials resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ containerregistrydockercredentials.ContainerRegistryDockerCredentials_IsTerrafor --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/containerregistrydockercredentials" + +containerregistrydockercredentials.ContainerRegistryDockerCredentials_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ContainerRegistryDockerCredentials 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 ContainerRegistryDockerCredentials to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ContainerRegistryDockerCredentials that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry_docker_credentials#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 ContainerRegistryDockerCredentials to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistryDockerCredentials.java.md b/docs/containerRegistryDockerCredentials.java.md index b081c840d..b61f47254 100644 --- a/docs/containerRegistryDockerCredentials.java.md +++ b/docs/containerRegistryDockerCredentials.java.md @@ -158,6 +158,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -167,7 +168,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetExpirySeconds | *No description.* | | resetId | *No description.* | | resetWrite | *No description.* | @@ -238,6 +241,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 @@ -346,6 +365,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 @@ -358,6 +396,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. + +--- + ##### `resetExpirySeconds` ```java @@ -383,6 +446,7 @@ public void resetWrite() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ContainerRegistryDockerCredentials resource upon running "cdktf plan ". | --- @@ -446,6 +510,50 @@ ContainerRegistryDockerCredentials.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.container_registry_docker_credentials.ContainerRegistryDockerCredentials; + +ContainerRegistryDockerCredentials.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ContainerRegistryDockerCredentials.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ContainerRegistryDockerCredentials 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 ContainerRegistryDockerCredentials to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ContainerRegistryDockerCredentials that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry_docker_credentials#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 ContainerRegistryDockerCredentials to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistryDockerCredentials.python.md b/docs/containerRegistryDockerCredentials.python.md index ab3a5a331..453c8098b 100644 --- a/docs/containerRegistryDockerCredentials.python.md +++ b/docs/containerRegistryDockerCredentials.python.md @@ -155,6 +155,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -164,7 +165,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_expiry_seconds | *No description.* | | reset_id | *No description.* | | reset_write | *No description.* | @@ -240,6 +243,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 @@ -366,6 +387,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 @@ -380,6 +422,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_expiry_seconds` ```python @@ -405,6 +474,7 @@ def reset_write() -> 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 ContainerRegistryDockerCredentials resource upon running "cdktf plan ". | --- @@ -474,6 +544,55 @@ containerRegistryDockerCredentials.ContainerRegistryDockerCredentials.is_terrafo --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import container_registry_docker_credentials + +containerRegistryDockerCredentials.ContainerRegistryDockerCredentials.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ContainerRegistryDockerCredentials 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 ContainerRegistryDockerCredentials to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ContainerRegistryDockerCredentials that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry_docker_credentials#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 ContainerRegistryDockerCredentials to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/containerRegistryDockerCredentials.typescript.md b/docs/containerRegistryDockerCredentials.typescript.md index f25059b3f..ece518ed8 100644 --- a/docs/containerRegistryDockerCredentials.typescript.md +++ b/docs/containerRegistryDockerCredentials.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. | | resetExpirySeconds | *No description.* | | resetId | *No description.* | | resetWrite | *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. + +--- + ##### `resetExpirySeconds` ```typescript @@ -285,6 +346,7 @@ public resetWrite(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ContainerRegistryDockerCredentials resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ containerRegistryDockerCredentials.ContainerRegistryDockerCredentials.isTerrafor --- +##### `generateConfigForImport` + +```typescript +import { containerRegistryDockerCredentials } from '@cdktf/provider-digitalocean' + +containerRegistryDockerCredentials.ContainerRegistryDockerCredentials.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ContainerRegistryDockerCredentials 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 ContainerRegistryDockerCredentials to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ContainerRegistryDockerCredentials that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry_docker_credentials#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 ContainerRegistryDockerCredentials to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/customImage.csharp.md b/docs/customImage.csharp.md index 4b553b7a1..5a0d462be 100644 --- a/docs/customImage.csharp.md +++ b/docs/customImage.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetDescription | *No description.* | | ResetDistribution | *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. + +--- + ##### `PutTimeouts` ```csharp @@ -312,6 +373,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a CustomImage resource upon running "cdktf plan ". | --- @@ -375,6 +437,50 @@ CustomImage.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +CustomImage.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a CustomImage 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 CustomImage to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing CustomImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/custom_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 CustomImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/customImage.go.md b/docs/customImage.go.md index dd5ae6332..5a404232e 100644 --- a/docs/customImage.go.md +++ b/docs/customImage.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetDescription | *No description.* | | ResetDistribution | *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. + +--- + ##### `PutTimeouts` ```go @@ -312,6 +373,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a CustomImage resource upon running "cdktf plan ". | --- @@ -375,6 +437,50 @@ customimage.CustomImage_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/customimage" + +customimage.CustomImage_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a CustomImage 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 CustomImage to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing CustomImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/custom_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 CustomImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/customImage.java.md b/docs/customImage.java.md index e6d4bf973..6b1f2cdb4 100644 --- a/docs/customImage.java.md +++ b/docs/customImage.java.md @@ -199,6 +199,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -208,7 +209,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetDescription | *No description.* | | resetDistribution | *No description.* | @@ -282,6 +285,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -390,6 +409,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -402,6 +440,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -451,6 +514,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a CustomImage resource upon running "cdktf plan ". | --- @@ -514,6 +578,50 @@ CustomImage.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.custom_image.CustomImage; + +CustomImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),CustomImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a CustomImage 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 CustomImage to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing CustomImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/custom_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 CustomImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/customImage.python.md b/docs/customImage.python.md index 73966022b..0b9ac5c17 100644 --- a/docs/customImage.python.md +++ b/docs/customImage.python.md @@ -197,6 +197,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -206,7 +207,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_description | *No description.* | | reset_distribution | *No description.* | @@ -285,6 +288,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -411,6 +432,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -425,6 +467,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -478,6 +547,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a CustomImage resource upon running "cdktf plan ". | --- @@ -547,6 +617,55 @@ customImage.CustomImage.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import custom_image + +customImage.CustomImage.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a CustomImage 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 CustomImage to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing CustomImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/custom_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 CustomImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/customImage.typescript.md b/docs/customImage.typescript.md index 623303796..4ddaff611 100644 --- a/docs/customImage.typescript.md +++ b/docs/customImage.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetDescription | *No description.* | | resetDistribution | *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. + +--- + ##### `putTimeouts` ```typescript @@ -312,6 +373,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a CustomImage resource upon running "cdktf plan ". | --- @@ -375,6 +437,50 @@ customImage.CustomImage.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { customImage } from '@cdktf/provider-digitalocean' + +customImage.CustomImage.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a CustomImage 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 CustomImage to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing CustomImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/custom_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 CustomImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanAccount.csharp.md b/docs/dataDigitaloceanAccount.csharp.md index 9dcfef0fd..320ca4090 100644 --- a/docs/dataDigitaloceanAccount.csharp.md +++ b/docs/dataDigitaloceanAccount.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 DataDigitaloceanAccount resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanAccount.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanAccount.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanAccount 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 DataDigitaloceanAccount to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanAccount that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/account#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 DataDigitaloceanAccount to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanAccount.go.md b/docs/dataDigitaloceanAccount.go.md index efd831a75..ca2ef1c6b 100644 --- a/docs/dataDigitaloceanAccount.go.md +++ b/docs/dataDigitaloceanAccount.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 DataDigitaloceanAccount resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanaccount.DataDigitaloceanAccount_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanaccount" + +datadigitaloceanaccount.DataDigitaloceanAccount_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanAccount 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 DataDigitaloceanAccount to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanAccount that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/account#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 DataDigitaloceanAccount to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanAccount.java.md b/docs/dataDigitaloceanAccount.java.md index 2ee2b6fa4..21eb4bf64 100644 --- a/docs/dataDigitaloceanAccount.java.md +++ b/docs/dataDigitaloceanAccount.java.md @@ -338,6 +338,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanAccount resource upon running "cdktf plan ". | --- @@ -401,6 +402,50 @@ DataDigitaloceanAccount.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_account.DataDigitaloceanAccount; + +DataDigitaloceanAccount.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanAccount.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanAccount 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 DataDigitaloceanAccount to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanAccount that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/account#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 DataDigitaloceanAccount to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanAccount.python.md b/docs/dataDigitaloceanAccount.python.md index 87e3ce75b..6e2f3a4fb 100644 --- a/docs/dataDigitaloceanAccount.python.md +++ b/docs/dataDigitaloceanAccount.python.md @@ -361,6 +361,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 DataDigitaloceanAccount resource upon running "cdktf plan ". | --- @@ -430,6 +431,55 @@ dataDigitaloceanAccount.DataDigitaloceanAccount.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_account + +dataDigitaloceanAccount.DataDigitaloceanAccount.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanAccount 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 DataDigitaloceanAccount to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanAccount that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/account#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 DataDigitaloceanAccount to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanAccount.typescript.md b/docs/dataDigitaloceanAccount.typescript.md index 78e5c3722..9bdcbfe78 100644 --- a/docs/dataDigitaloceanAccount.typescript.md +++ b/docs/dataDigitaloceanAccount.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 DataDigitaloceanAccount resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanAccount.DataDigitaloceanAccount.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanAccount } from '@cdktf/provider-digitalocean' + +dataDigitaloceanAccount.DataDigitaloceanAccount.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanAccount 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 DataDigitaloceanAccount to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanAccount that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/account#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 DataDigitaloceanAccount to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanApp.csharp.md b/docs/dataDigitaloceanApp.csharp.md index 322b383a0..0b87b5157 100644 --- a/docs/dataDigitaloceanApp.csharp.md +++ b/docs/dataDigitaloceanApp.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 DataDigitaloceanApp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanApp.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanApp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanApp 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 DataDigitaloceanApp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanApp.go.md b/docs/dataDigitaloceanApp.go.md index ccb417cf1..70462cf10 100644 --- a/docs/dataDigitaloceanApp.go.md +++ b/docs/dataDigitaloceanApp.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 DataDigitaloceanApp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanapp.DataDigitaloceanApp_IsTerraformDataSource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanapp" + +datadigitaloceanapp.DataDigitaloceanApp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanApp 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 DataDigitaloceanApp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanApp.java.md b/docs/dataDigitaloceanApp.java.md index f626e6806..d2dffd34d 100644 --- a/docs/dataDigitaloceanApp.java.md +++ b/docs/dataDigitaloceanApp.java.md @@ -348,6 +348,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanApp resource upon running "cdktf plan ". | --- @@ -411,6 +412,50 @@ DataDigitaloceanApp.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_app.DataDigitaloceanApp; + +DataDigitaloceanApp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanApp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanApp 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 DataDigitaloceanApp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanApp.python.md b/docs/dataDigitaloceanApp.python.md index b9b12617d..d9d8184c9 100644 --- a/docs/dataDigitaloceanApp.python.md +++ b/docs/dataDigitaloceanApp.python.md @@ -371,6 +371,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 DataDigitaloceanApp resource upon running "cdktf plan ". | --- @@ -440,6 +441,55 @@ dataDigitaloceanApp.DataDigitaloceanApp.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_app + +dataDigitaloceanApp.DataDigitaloceanApp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanApp 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 DataDigitaloceanApp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanApp.typescript.md b/docs/dataDigitaloceanApp.typescript.md index 3acaab040..b43d116c5 100644 --- a/docs/dataDigitaloceanApp.typescript.md +++ b/docs/dataDigitaloceanApp.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 DataDigitaloceanApp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanApp.DataDigitaloceanApp.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanApp } from '@cdktf/provider-digitalocean' + +dataDigitaloceanApp.DataDigitaloceanApp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanApp 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 DataDigitaloceanApp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanApp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/app#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanApp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanCertificate.csharp.md b/docs/dataDigitaloceanCertificate.csharp.md index f7c1b935b..6fa6bbda0 100644 --- a/docs/dataDigitaloceanCertificate.csharp.md +++ b/docs/dataDigitaloceanCertificate.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 DataDigitaloceanCertificate resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanCertificate.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanCertificate.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanCertificate 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 DataDigitaloceanCertificate to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanCertificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/certificate#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 DataDigitaloceanCertificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanCertificate.go.md b/docs/dataDigitaloceanCertificate.go.md index 3fff15e2b..4a41c023d 100644 --- a/docs/dataDigitaloceanCertificate.go.md +++ b/docs/dataDigitaloceanCertificate.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 DataDigitaloceanCertificate resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceancertificate.DataDigitaloceanCertificate_IsTerraformDataSource(x --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceancertificate" + +datadigitaloceancertificate.DataDigitaloceanCertificate_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanCertificate 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 DataDigitaloceanCertificate to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanCertificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/certificate#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 DataDigitaloceanCertificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanCertificate.java.md b/docs/dataDigitaloceanCertificate.java.md index ded2d6719..cdbcbd215 100644 --- a/docs/dataDigitaloceanCertificate.java.md +++ b/docs/dataDigitaloceanCertificate.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 DataDigitaloceanCertificate resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDigitaloceanCertificate.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_certificate.DataDigitaloceanCertificate; + +DataDigitaloceanCertificate.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanCertificate.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanCertificate 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 DataDigitaloceanCertificate to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanCertificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/certificate#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 DataDigitaloceanCertificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanCertificate.python.md b/docs/dataDigitaloceanCertificate.python.md index 9ee58f46e..bdc8af411 100644 --- a/docs/dataDigitaloceanCertificate.python.md +++ b/docs/dataDigitaloceanCertificate.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 DataDigitaloceanCertificate resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDigitaloceanCertificate.DataDigitaloceanCertificate.is_terraform_data_source --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_certificate + +dataDigitaloceanCertificate.DataDigitaloceanCertificate.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanCertificate 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 DataDigitaloceanCertificate to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanCertificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/certificate#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 DataDigitaloceanCertificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanCertificate.typescript.md b/docs/dataDigitaloceanCertificate.typescript.md index 8337ba748..56438b02b 100644 --- a/docs/dataDigitaloceanCertificate.typescript.md +++ b/docs/dataDigitaloceanCertificate.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 DataDigitaloceanCertificate resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanCertificate.DataDigitaloceanCertificate.isTerraformDataSource(x: --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanCertificate } from '@cdktf/provider-digitalocean' + +dataDigitaloceanCertificate.DataDigitaloceanCertificate.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanCertificate 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 DataDigitaloceanCertificate to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanCertificate that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/certificate#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 DataDigitaloceanCertificate to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanContainerRegistry.csharp.md b/docs/dataDigitaloceanContainerRegistry.csharp.md index 66d6e9977..2e3ddf0ea 100644 --- a/docs/dataDigitaloceanContainerRegistry.csharp.md +++ b/docs/dataDigitaloceanContainerRegistry.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 DataDigitaloceanContainerRegistry resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanContainerRegistry.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanContainerRegistry.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanContainerRegistry 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 DataDigitaloceanContainerRegistry to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/container_registry#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 DataDigitaloceanContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanContainerRegistry.go.md b/docs/dataDigitaloceanContainerRegistry.go.md index 1a70575ec..a16fbf5af 100644 --- a/docs/dataDigitaloceanContainerRegistry.go.md +++ b/docs/dataDigitaloceanContainerRegistry.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 DataDigitaloceanContainerRegistry resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceancontainerregistry.DataDigitaloceanContainerRegistry_IsTerraformD --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceancontainerregistry" + +datadigitaloceancontainerregistry.DataDigitaloceanContainerRegistry_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanContainerRegistry 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 DataDigitaloceanContainerRegistry to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/container_registry#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 DataDigitaloceanContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanContainerRegistry.java.md b/docs/dataDigitaloceanContainerRegistry.java.md index 8a4ca3793..4a0512a69 100644 --- a/docs/dataDigitaloceanContainerRegistry.java.md +++ b/docs/dataDigitaloceanContainerRegistry.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 DataDigitaloceanContainerRegistry resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDigitaloceanContainerRegistry.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_container_registry.DataDigitaloceanContainerRegistry; + +DataDigitaloceanContainerRegistry.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanContainerRegistry.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanContainerRegistry 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 DataDigitaloceanContainerRegistry to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/container_registry#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 DataDigitaloceanContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanContainerRegistry.python.md b/docs/dataDigitaloceanContainerRegistry.python.md index 727a51082..bcdbf087b 100644 --- a/docs/dataDigitaloceanContainerRegistry.python.md +++ b/docs/dataDigitaloceanContainerRegistry.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 DataDigitaloceanContainerRegistry resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDigitaloceanContainerRegistry.DataDigitaloceanContainerRegistry.is_terraform --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_container_registry + +dataDigitaloceanContainerRegistry.DataDigitaloceanContainerRegistry.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanContainerRegistry 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 DataDigitaloceanContainerRegistry to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/container_registry#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 DataDigitaloceanContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanContainerRegistry.typescript.md b/docs/dataDigitaloceanContainerRegistry.typescript.md index a3275fb64..f3c38fdf6 100644 --- a/docs/dataDigitaloceanContainerRegistry.typescript.md +++ b/docs/dataDigitaloceanContainerRegistry.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 DataDigitaloceanContainerRegistry resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanContainerRegistry.DataDigitaloceanContainerRegistry.isTerraformD --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanContainerRegistry } from '@cdktf/provider-digitalocean' + +dataDigitaloceanContainerRegistry.DataDigitaloceanContainerRegistry.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanContainerRegistry 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 DataDigitaloceanContainerRegistry to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanContainerRegistry that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/container_registry#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 DataDigitaloceanContainerRegistry to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCa.csharp.md b/docs/dataDigitaloceanDatabaseCa.csharp.md index 62739f929..0975dc8bb 100644 --- a/docs/dataDigitaloceanDatabaseCa.csharp.md +++ b/docs/dataDigitaloceanDatabaseCa.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 DataDigitaloceanDatabaseCa resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanDatabaseCa.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDatabaseCa.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCa 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 DataDigitaloceanDatabaseCa to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseCa that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_ca#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 DataDigitaloceanDatabaseCa to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCa.go.md b/docs/dataDigitaloceanDatabaseCa.go.md index 550c25009..bae83870f 100644 --- a/docs/dataDigitaloceanDatabaseCa.go.md +++ b/docs/dataDigitaloceanDatabaseCa.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 DataDigitaloceanDatabaseCa resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceandatabaseca.DataDigitaloceanDatabaseCa_IsTerraformDataSource(x in --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandatabaseca" + +datadigitaloceandatabaseca.DataDigitaloceanDatabaseCa_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCa 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 DataDigitaloceanDatabaseCa to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDatabaseCa that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_ca#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 DataDigitaloceanDatabaseCa to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCa.java.md b/docs/dataDigitaloceanDatabaseCa.java.md index df91d4416..e51ddab62 100644 --- a/docs/dataDigitaloceanDatabaseCa.java.md +++ b/docs/dataDigitaloceanDatabaseCa.java.md @@ -348,6 +348,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseCa resource upon running "cdktf plan ". | --- @@ -411,6 +412,50 @@ DataDigitaloceanDatabaseCa.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_database_ca.DataDigitaloceanDatabaseCa; + +DataDigitaloceanDatabaseCa.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDatabaseCa.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCa 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 DataDigitaloceanDatabaseCa to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDatabaseCa that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_ca#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 DataDigitaloceanDatabaseCa to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCa.python.md b/docs/dataDigitaloceanDatabaseCa.python.md index e1ead336e..4153419b3 100644 --- a/docs/dataDigitaloceanDatabaseCa.python.md +++ b/docs/dataDigitaloceanDatabaseCa.python.md @@ -371,6 +371,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 DataDigitaloceanDatabaseCa resource upon running "cdktf plan ". | --- @@ -440,6 +441,55 @@ dataDigitaloceanDatabaseCa.DataDigitaloceanDatabaseCa.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_database_ca + +dataDigitaloceanDatabaseCa.DataDigitaloceanDatabaseCa.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCa 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 DataDigitaloceanDatabaseCa to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDatabaseCa that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_ca#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 DataDigitaloceanDatabaseCa to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCa.typescript.md b/docs/dataDigitaloceanDatabaseCa.typescript.md index b6b3bd5f0..1f5d1a0a7 100644 --- a/docs/dataDigitaloceanDatabaseCa.typescript.md +++ b/docs/dataDigitaloceanDatabaseCa.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 DataDigitaloceanDatabaseCa resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanDatabaseCa.DataDigitaloceanDatabaseCa.isTerraformDataSource(x: a --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDatabaseCa } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDatabaseCa.DataDigitaloceanDatabaseCa.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCa 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 DataDigitaloceanDatabaseCa to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseCa that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_ca#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 DataDigitaloceanDatabaseCa to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCluster.csharp.md b/docs/dataDigitaloceanDatabaseCluster.csharp.md index 6344b9326..e29722c64 100644 --- a/docs/dataDigitaloceanDatabaseCluster.csharp.md +++ b/docs/dataDigitaloceanDatabaseCluster.csharp.md @@ -278,6 +278,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDigitaloceanDatabaseCluster.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDatabaseCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster 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 DataDigitaloceanDatabaseCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCluster.go.md b/docs/dataDigitaloceanDatabaseCluster.go.md index 030187b85..5e275dc56 100644 --- a/docs/dataDigitaloceanDatabaseCluster.go.md +++ b/docs/dataDigitaloceanDatabaseCluster.go.md @@ -278,6 +278,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadigitaloceandatabasecluster.DataDigitaloceanDatabaseCluster_IsTerraformDataS --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandatabasecluster" + +datadigitaloceandatabasecluster.DataDigitaloceanDatabaseCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster 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 DataDigitaloceanDatabaseCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCluster.java.md b/docs/dataDigitaloceanDatabaseCluster.java.md index 0e546e20d..62a3207ed 100644 --- a/docs/dataDigitaloceanDatabaseCluster.java.md +++ b/docs/dataDigitaloceanDatabaseCluster.java.md @@ -365,6 +365,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster resource upon running "cdktf plan ". | --- @@ -428,6 +429,50 @@ DataDigitaloceanDatabaseCluster.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_database_cluster.DataDigitaloceanDatabaseCluster; + +DataDigitaloceanDatabaseCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDatabaseCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster 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 DataDigitaloceanDatabaseCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCluster.python.md b/docs/dataDigitaloceanDatabaseCluster.python.md index 5362033df..87473f0f3 100644 --- a/docs/dataDigitaloceanDatabaseCluster.python.md +++ b/docs/dataDigitaloceanDatabaseCluster.python.md @@ -388,6 +388,7 @@ def reset_tags() -> 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 DataDigitaloceanDatabaseCluster resource upon running "cdktf plan ". | --- @@ -457,6 +458,55 @@ dataDigitaloceanDatabaseCluster.DataDigitaloceanDatabaseCluster.is_terraform_dat --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_database_cluster + +dataDigitaloceanDatabaseCluster.DataDigitaloceanDatabaseCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster 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 DataDigitaloceanDatabaseCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseCluster.typescript.md b/docs/dataDigitaloceanDatabaseCluster.typescript.md index 4d21ea423..3bcac3e5f 100644 --- a/docs/dataDigitaloceanDatabaseCluster.typescript.md +++ b/docs/dataDigitaloceanDatabaseCluster.typescript.md @@ -278,6 +278,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDigitaloceanDatabaseCluster.DataDigitaloceanDatabaseCluster.isTerraformDataS --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDatabaseCluster } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDatabaseCluster.DataDigitaloceanDatabaseCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster 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 DataDigitaloceanDatabaseCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseReplica.csharp.md b/docs/dataDigitaloceanDatabaseReplica.csharp.md index 2422f1722..757c1c518 100644 --- a/docs/dataDigitaloceanDatabaseReplica.csharp.md +++ b/docs/dataDigitaloceanDatabaseReplica.csharp.md @@ -278,6 +278,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDigitaloceanDatabaseReplica.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDatabaseReplica.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica 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 DataDigitaloceanDatabaseReplica to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_replica#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 DataDigitaloceanDatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseReplica.go.md b/docs/dataDigitaloceanDatabaseReplica.go.md index 7d1ddb327..cbc359751 100644 --- a/docs/dataDigitaloceanDatabaseReplica.go.md +++ b/docs/dataDigitaloceanDatabaseReplica.go.md @@ -278,6 +278,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadigitaloceandatabasereplica.DataDigitaloceanDatabaseReplica_IsTerraformDataS --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandatabasereplica" + +datadigitaloceandatabasereplica.DataDigitaloceanDatabaseReplica_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica 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 DataDigitaloceanDatabaseReplica to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_replica#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 DataDigitaloceanDatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseReplica.java.md b/docs/dataDigitaloceanDatabaseReplica.java.md index 3103a88ff..7ab8d524b 100644 --- a/docs/dataDigitaloceanDatabaseReplica.java.md +++ b/docs/dataDigitaloceanDatabaseReplica.java.md @@ -375,6 +375,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica resource upon running "cdktf plan ". | --- @@ -438,6 +439,50 @@ DataDigitaloceanDatabaseReplica.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_database_replica.DataDigitaloceanDatabaseReplica; + +DataDigitaloceanDatabaseReplica.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDatabaseReplica.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica 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 DataDigitaloceanDatabaseReplica to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_replica#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 DataDigitaloceanDatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseReplica.python.md b/docs/dataDigitaloceanDatabaseReplica.python.md index 1e79e15c2..7a6f0c71a 100644 --- a/docs/dataDigitaloceanDatabaseReplica.python.md +++ b/docs/dataDigitaloceanDatabaseReplica.python.md @@ -398,6 +398,7 @@ def reset_tags() -> 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 DataDigitaloceanDatabaseReplica resource upon running "cdktf plan ". | --- @@ -467,6 +468,55 @@ dataDigitaloceanDatabaseReplica.DataDigitaloceanDatabaseReplica.is_terraform_dat --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_database_replica + +dataDigitaloceanDatabaseReplica.DataDigitaloceanDatabaseReplica.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica 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 DataDigitaloceanDatabaseReplica to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_replica#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 DataDigitaloceanDatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseReplica.typescript.md b/docs/dataDigitaloceanDatabaseReplica.typescript.md index d7c5f26d0..8b8800a41 100644 --- a/docs/dataDigitaloceanDatabaseReplica.typescript.md +++ b/docs/dataDigitaloceanDatabaseReplica.typescript.md @@ -278,6 +278,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDigitaloceanDatabaseReplica.DataDigitaloceanDatabaseReplica.isTerraformDataS --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDatabaseReplica } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDatabaseReplica.DataDigitaloceanDatabaseReplica.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica 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 DataDigitaloceanDatabaseReplica to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_replica#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 DataDigitaloceanDatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseUser.csharp.md b/docs/dataDigitaloceanDatabaseUser.csharp.md index 1bf211744..c2a816eb3 100644 --- a/docs/dataDigitaloceanDatabaseUser.csharp.md +++ b/docs/dataDigitaloceanDatabaseUser.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 DataDigitaloceanDatabaseUser resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanDatabaseUser.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDatabaseUser.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseUser 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 DataDigitaloceanDatabaseUser to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_user#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 DataDigitaloceanDatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseUser.go.md b/docs/dataDigitaloceanDatabaseUser.go.md index de77fc1fd..47ee95bad 100644 --- a/docs/dataDigitaloceanDatabaseUser.go.md +++ b/docs/dataDigitaloceanDatabaseUser.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 DataDigitaloceanDatabaseUser resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceandatabaseuser.DataDigitaloceanDatabaseUser_IsTerraformDataSource( --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandatabaseuser" + +datadigitaloceandatabaseuser.DataDigitaloceanDatabaseUser_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseUser 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 DataDigitaloceanDatabaseUser to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_user#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 DataDigitaloceanDatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseUser.java.md b/docs/dataDigitaloceanDatabaseUser.java.md index 623c9b24c..de343c668 100644 --- a/docs/dataDigitaloceanDatabaseUser.java.md +++ b/docs/dataDigitaloceanDatabaseUser.java.md @@ -358,6 +358,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDatabaseUser resource upon running "cdktf plan ". | --- @@ -421,6 +422,50 @@ DataDigitaloceanDatabaseUser.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_database_user.DataDigitaloceanDatabaseUser; + +DataDigitaloceanDatabaseUser.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDatabaseUser.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseUser 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 DataDigitaloceanDatabaseUser to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_user#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 DataDigitaloceanDatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseUser.python.md b/docs/dataDigitaloceanDatabaseUser.python.md index aaa448e79..59ea99aa1 100644 --- a/docs/dataDigitaloceanDatabaseUser.python.md +++ b/docs/dataDigitaloceanDatabaseUser.python.md @@ -381,6 +381,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 DataDigitaloceanDatabaseUser resource upon running "cdktf plan ". | --- @@ -450,6 +451,55 @@ dataDigitaloceanDatabaseUser.DataDigitaloceanDatabaseUser.is_terraform_data_sour --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_database_user + +dataDigitaloceanDatabaseUser.DataDigitaloceanDatabaseUser.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseUser 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 DataDigitaloceanDatabaseUser to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_user#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 DataDigitaloceanDatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDatabaseUser.typescript.md b/docs/dataDigitaloceanDatabaseUser.typescript.md index 6387ef089..4f64f6a7e 100644 --- a/docs/dataDigitaloceanDatabaseUser.typescript.md +++ b/docs/dataDigitaloceanDatabaseUser.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 DataDigitaloceanDatabaseUser resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanDatabaseUser.DataDigitaloceanDatabaseUser.isTerraformDataSource( --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDatabaseUser } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDatabaseUser.DataDigitaloceanDatabaseUser.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDatabaseUser 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 DataDigitaloceanDatabaseUser to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_user#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 DataDigitaloceanDatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomain.csharp.md b/docs/dataDigitaloceanDomain.csharp.md index 7889d6db2..72309701b 100644 --- a/docs/dataDigitaloceanDomain.csharp.md +++ b/docs/dataDigitaloceanDomain.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 DataDigitaloceanDomain resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanDomain.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDomain.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDomain 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 DataDigitaloceanDomain to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDomain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domain#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 DataDigitaloceanDomain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomain.go.md b/docs/dataDigitaloceanDomain.go.md index 354bfaa2d..4faad63b3 100644 --- a/docs/dataDigitaloceanDomain.go.md +++ b/docs/dataDigitaloceanDomain.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 DataDigitaloceanDomain resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceandomain.DataDigitaloceanDomain_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandomain" + +datadigitaloceandomain.DataDigitaloceanDomain_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDomain 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 DataDigitaloceanDomain to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDomain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domain#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 DataDigitaloceanDomain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomain.java.md b/docs/dataDigitaloceanDomain.java.md index 139e16113..93b9a9f12 100644 --- a/docs/dataDigitaloceanDomain.java.md +++ b/docs/dataDigitaloceanDomain.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 DataDigitaloceanDomain resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDigitaloceanDomain.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_domain.DataDigitaloceanDomain; + +DataDigitaloceanDomain.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDomain.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDomain 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 DataDigitaloceanDomain to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDomain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domain#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 DataDigitaloceanDomain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomain.python.md b/docs/dataDigitaloceanDomain.python.md index 750be21c3..6dfbab3f5 100644 --- a/docs/dataDigitaloceanDomain.python.md +++ b/docs/dataDigitaloceanDomain.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 DataDigitaloceanDomain resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDigitaloceanDomain.DataDigitaloceanDomain.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_domain + +dataDigitaloceanDomain.DataDigitaloceanDomain.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDomain 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 DataDigitaloceanDomain to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDomain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domain#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 DataDigitaloceanDomain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomain.typescript.md b/docs/dataDigitaloceanDomain.typescript.md index dd62f0751..ffb6d4397 100644 --- a/docs/dataDigitaloceanDomain.typescript.md +++ b/docs/dataDigitaloceanDomain.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 DataDigitaloceanDomain resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanDomain.DataDigitaloceanDomain.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDomain } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDomain.DataDigitaloceanDomain.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDomain 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 DataDigitaloceanDomain to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDomain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domain#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 DataDigitaloceanDomain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomains.csharp.md b/docs/dataDigitaloceanDomains.csharp.md index 721b8ca41..c4cce8420 100644 --- a/docs/dataDigitaloceanDomains.csharp.md +++ b/docs/dataDigitaloceanDomains.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDomains resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanDomains.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDomains.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDomains 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 DataDigitaloceanDomains to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDomains that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domains#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 DataDigitaloceanDomains to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomains.go.md b/docs/dataDigitaloceanDomains.go.md index b07913b5d..7fc78527e 100644 --- a/docs/dataDigitaloceanDomains.go.md +++ b/docs/dataDigitaloceanDomains.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDomains resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceandomains.DataDigitaloceanDomains_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandomains" + +datadigitaloceandomains.DataDigitaloceanDomains_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDomains 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 DataDigitaloceanDomains to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDomains that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domains#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 DataDigitaloceanDomains to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomains.java.md b/docs/dataDigitaloceanDomains.java.md index e43e979b7..4404aa184 100644 --- a/docs/dataDigitaloceanDomains.java.md +++ b/docs/dataDigitaloceanDomains.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDomains resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanDomains.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_domains.DataDigitaloceanDomains; + +DataDigitaloceanDomains.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDomains.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDomains 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 DataDigitaloceanDomains to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDomains that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domains#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 DataDigitaloceanDomains to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomains.python.md b/docs/dataDigitaloceanDomains.python.md index fc5038738..3d8603916 100644 --- a/docs/dataDigitaloceanDomains.python.md +++ b/docs/dataDigitaloceanDomains.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanDomains resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanDomains.DataDigitaloceanDomains.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_domains + +dataDigitaloceanDomains.DataDigitaloceanDomains.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDomains 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 DataDigitaloceanDomains to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDomains that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domains#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 DataDigitaloceanDomains to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDomains.typescript.md b/docs/dataDigitaloceanDomains.typescript.md index e97f132a4..9401dfa25 100644 --- a/docs/dataDigitaloceanDomains.typescript.md +++ b/docs/dataDigitaloceanDomains.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDomains resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanDomains.DataDigitaloceanDomains.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDomains } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDomains.DataDigitaloceanDomains.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDomains 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 DataDigitaloceanDomains to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDomains that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domains#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 DataDigitaloceanDomains to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplet.csharp.md b/docs/dataDigitaloceanDroplet.csharp.md index 42957624e..f2fdfaeef 100644 --- a/docs/dataDigitaloceanDroplet.csharp.md +++ b/docs/dataDigitaloceanDroplet.csharp.md @@ -285,6 +285,7 @@ private void ResetTag() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplet resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ DataDigitaloceanDroplet.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDroplet.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplet 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 DataDigitaloceanDroplet to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDroplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet#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 DataDigitaloceanDroplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplet.go.md b/docs/dataDigitaloceanDroplet.go.md index 1447a4538..5eac6df48 100644 --- a/docs/dataDigitaloceanDroplet.go.md +++ b/docs/dataDigitaloceanDroplet.go.md @@ -285,6 +285,7 @@ func ResetTag() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplet resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ datadigitaloceandroplet.DataDigitaloceanDroplet_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandroplet" + +datadigitaloceandroplet.DataDigitaloceanDroplet_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplet 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 DataDigitaloceanDroplet to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDroplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet#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 DataDigitaloceanDroplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplet.java.md b/docs/dataDigitaloceanDroplet.java.md index 05edb5f77..e3ac733d0 100644 --- a/docs/dataDigitaloceanDroplet.java.md +++ b/docs/dataDigitaloceanDroplet.java.md @@ -378,6 +378,7 @@ public void resetTag() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplet resource upon running "cdktf plan ". | --- @@ -441,6 +442,50 @@ DataDigitaloceanDroplet.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_droplet.DataDigitaloceanDroplet; + +DataDigitaloceanDroplet.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDroplet.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplet 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 DataDigitaloceanDroplet to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDroplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet#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 DataDigitaloceanDroplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplet.python.md b/docs/dataDigitaloceanDroplet.python.md index 9b7a2ffaa..57152d340 100644 --- a/docs/dataDigitaloceanDroplet.python.md +++ b/docs/dataDigitaloceanDroplet.python.md @@ -401,6 +401,7 @@ def reset_tag() -> 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 DataDigitaloceanDroplet resource upon running "cdktf plan ". | --- @@ -470,6 +471,55 @@ dataDigitaloceanDroplet.DataDigitaloceanDroplet.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_droplet + +dataDigitaloceanDroplet.DataDigitaloceanDroplet.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplet 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 DataDigitaloceanDroplet to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDroplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet#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 DataDigitaloceanDroplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplet.typescript.md b/docs/dataDigitaloceanDroplet.typescript.md index 356b5da46..d208eaca8 100644 --- a/docs/dataDigitaloceanDroplet.typescript.md +++ b/docs/dataDigitaloceanDroplet.typescript.md @@ -285,6 +285,7 @@ public resetTag(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplet resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ dataDigitaloceanDroplet.DataDigitaloceanDroplet.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDroplet } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDroplet.DataDigitaloceanDroplet.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplet 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 DataDigitaloceanDroplet to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDroplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet#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 DataDigitaloceanDroplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDropletSnapshot.csharp.md b/docs/dataDigitaloceanDropletSnapshot.csharp.md index 1383a1d2f..b06a500f3 100644 --- a/docs/dataDigitaloceanDropletSnapshot.csharp.md +++ b/docs/dataDigitaloceanDropletSnapshot.csharp.md @@ -299,6 +299,7 @@ private void ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ DataDigitaloceanDropletSnapshot.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDropletSnapshot.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot 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 DataDigitaloceanDropletSnapshot to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDropletSnapshot.go.md b/docs/dataDigitaloceanDropletSnapshot.go.md index 2f90f1d13..00b47026b 100644 --- a/docs/dataDigitaloceanDropletSnapshot.go.md +++ b/docs/dataDigitaloceanDropletSnapshot.go.md @@ -299,6 +299,7 @@ func ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ datadigitaloceandropletsnapshot.DataDigitaloceanDropletSnapshot_IsTerraformDataS --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandropletsnapshot" + +datadigitaloceandropletsnapshot.DataDigitaloceanDropletSnapshot_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot 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 DataDigitaloceanDropletSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDropletSnapshot.java.md b/docs/dataDigitaloceanDropletSnapshot.java.md index c77832833..6b512acd5 100644 --- a/docs/dataDigitaloceanDropletSnapshot.java.md +++ b/docs/dataDigitaloceanDropletSnapshot.java.md @@ -407,6 +407,7 @@ public void resetRegion() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot resource upon running "cdktf plan ". | --- @@ -470,6 +471,50 @@ DataDigitaloceanDropletSnapshot.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_droplet_snapshot.DataDigitaloceanDropletSnapshot; + +DataDigitaloceanDropletSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDropletSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot 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 DataDigitaloceanDropletSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDropletSnapshot.python.md b/docs/dataDigitaloceanDropletSnapshot.python.md index 61ae758c6..81c31d709 100644 --- a/docs/dataDigitaloceanDropletSnapshot.python.md +++ b/docs/dataDigitaloceanDropletSnapshot.python.md @@ -429,6 +429,7 @@ def reset_region() -> 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 DataDigitaloceanDropletSnapshot resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanDropletSnapshot.DataDigitaloceanDropletSnapshot.is_terraform_dat --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_droplet_snapshot + +dataDigitaloceanDropletSnapshot.DataDigitaloceanDropletSnapshot.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot 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 DataDigitaloceanDropletSnapshot to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDropletSnapshot.typescript.md b/docs/dataDigitaloceanDropletSnapshot.typescript.md index 4fef81f3a..d904f7c31 100644 --- a/docs/dataDigitaloceanDropletSnapshot.typescript.md +++ b/docs/dataDigitaloceanDropletSnapshot.typescript.md @@ -299,6 +299,7 @@ public resetRegion(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ dataDigitaloceanDropletSnapshot.DataDigitaloceanDropletSnapshot.isTerraformDataS --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDropletSnapshot } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDropletSnapshot.DataDigitaloceanDropletSnapshot.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot 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 DataDigitaloceanDropletSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanDropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplets.csharp.md b/docs/dataDigitaloceanDroplets.csharp.md index 46042bd42..a6384f52f 100644 --- a/docs/dataDigitaloceanDroplets.csharp.md +++ b/docs/dataDigitaloceanDroplets.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplets resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanDroplets.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanDroplets.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplets 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 DataDigitaloceanDroplets to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDroplets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplets#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 DataDigitaloceanDroplets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplets.go.md b/docs/dataDigitaloceanDroplets.go.md index 3a30de5dc..0d99aaf90 100644 --- a/docs/dataDigitaloceanDroplets.go.md +++ b/docs/dataDigitaloceanDroplets.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplets resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceandroplets.DataDigitaloceanDroplets_IsTerraformDataSource(x interf --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceandroplets" + +datadigitaloceandroplets.DataDigitaloceanDroplets_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplets 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 DataDigitaloceanDroplets to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanDroplets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplets#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 DataDigitaloceanDroplets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplets.java.md b/docs/dataDigitaloceanDroplets.java.md index c76f850ac..f148e05df 100644 --- a/docs/dataDigitaloceanDroplets.java.md +++ b/docs/dataDigitaloceanDroplets.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplets resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanDroplets.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_droplets.DataDigitaloceanDroplets; + +DataDigitaloceanDroplets.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanDroplets.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplets 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 DataDigitaloceanDroplets to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanDroplets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplets#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 DataDigitaloceanDroplets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplets.python.md b/docs/dataDigitaloceanDroplets.python.md index 8c581d798..b080253b4 100644 --- a/docs/dataDigitaloceanDroplets.python.md +++ b/docs/dataDigitaloceanDroplets.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanDroplets resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanDroplets.DataDigitaloceanDroplets.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_droplets + +dataDigitaloceanDroplets.DataDigitaloceanDroplets.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplets 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 DataDigitaloceanDroplets to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanDroplets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplets#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 DataDigitaloceanDroplets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanDroplets.typescript.md b/docs/dataDigitaloceanDroplets.typescript.md index d08755292..c8037d3bb 100644 --- a/docs/dataDigitaloceanDroplets.typescript.md +++ b/docs/dataDigitaloceanDroplets.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanDroplets resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanDroplets.DataDigitaloceanDroplets.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanDroplets } from '@cdktf/provider-digitalocean' + +dataDigitaloceanDroplets.DataDigitaloceanDroplets.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanDroplets 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 DataDigitaloceanDroplets to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanDroplets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplets#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 DataDigitaloceanDroplets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFirewall.csharp.md b/docs/dataDigitaloceanFirewall.csharp.md index dd751f8be..f9c28dc44 100644 --- a/docs/dataDigitaloceanFirewall.csharp.md +++ b/docs/dataDigitaloceanFirewall.csharp.md @@ -325,6 +325,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanFirewall resource upon running "cdktf plan ". | --- @@ -388,6 +389,50 @@ DataDigitaloceanFirewall.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanFirewall.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanFirewall 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 DataDigitaloceanFirewall to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/firewall#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 DataDigitaloceanFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFirewall.go.md b/docs/dataDigitaloceanFirewall.go.md index 1b171a47c..2305f68a9 100644 --- a/docs/dataDigitaloceanFirewall.go.md +++ b/docs/dataDigitaloceanFirewall.go.md @@ -325,6 +325,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanFirewall resource upon running "cdktf plan ". | --- @@ -388,6 +389,50 @@ datadigitaloceanfirewall.DataDigitaloceanFirewall_IsTerraformDataSource(x interf --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanfirewall" + +datadigitaloceanfirewall.DataDigitaloceanFirewall_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanFirewall 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 DataDigitaloceanFirewall to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/firewall#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 DataDigitaloceanFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFirewall.java.md b/docs/dataDigitaloceanFirewall.java.md index 6f223212b..f51928096 100644 --- a/docs/dataDigitaloceanFirewall.java.md +++ b/docs/dataDigitaloceanFirewall.java.md @@ -448,6 +448,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanFirewall resource upon running "cdktf plan ". | --- @@ -511,6 +512,50 @@ DataDigitaloceanFirewall.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_firewall.DataDigitaloceanFirewall; + +DataDigitaloceanFirewall.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanFirewall.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanFirewall 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 DataDigitaloceanFirewall to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/firewall#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 DataDigitaloceanFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFirewall.python.md b/docs/dataDigitaloceanFirewall.python.md index b6c1e27ab..33632b182 100644 --- a/docs/dataDigitaloceanFirewall.python.md +++ b/docs/dataDigitaloceanFirewall.python.md @@ -473,6 +473,7 @@ def reset_tags() -> 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 DataDigitaloceanFirewall resource upon running "cdktf plan ". | --- @@ -542,6 +543,55 @@ dataDigitaloceanFirewall.DataDigitaloceanFirewall.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_firewall + +dataDigitaloceanFirewall.DataDigitaloceanFirewall.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanFirewall 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 DataDigitaloceanFirewall to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/firewall#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 DataDigitaloceanFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFirewall.typescript.md b/docs/dataDigitaloceanFirewall.typescript.md index 5f7f84abb..601fe954f 100644 --- a/docs/dataDigitaloceanFirewall.typescript.md +++ b/docs/dataDigitaloceanFirewall.typescript.md @@ -325,6 +325,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanFirewall resource upon running "cdktf plan ". | --- @@ -388,6 +389,50 @@ dataDigitaloceanFirewall.DataDigitaloceanFirewall.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanFirewall } from '@cdktf/provider-digitalocean' + +dataDigitaloceanFirewall.DataDigitaloceanFirewall.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanFirewall 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 DataDigitaloceanFirewall to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/firewall#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 DataDigitaloceanFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFloatingIp.csharp.md b/docs/dataDigitaloceanFloatingIp.csharp.md index c2032c328..1822c2841 100644 --- a/docs/dataDigitaloceanFloatingIp.csharp.md +++ b/docs/dataDigitaloceanFloatingIp.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 DataDigitaloceanFloatingIp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanFloatingIp.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanFloatingIp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanFloatingIp 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 DataDigitaloceanFloatingIp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanFloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/floating_ip#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 DataDigitaloceanFloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFloatingIp.go.md b/docs/dataDigitaloceanFloatingIp.go.md index 690ad11fd..caac479a0 100644 --- a/docs/dataDigitaloceanFloatingIp.go.md +++ b/docs/dataDigitaloceanFloatingIp.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 DataDigitaloceanFloatingIp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanfloatingip.DataDigitaloceanFloatingIp_IsTerraformDataSource(x in --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanfloatingip" + +datadigitaloceanfloatingip.DataDigitaloceanFloatingIp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanFloatingIp 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 DataDigitaloceanFloatingIp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanFloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/floating_ip#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 DataDigitaloceanFloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFloatingIp.java.md b/docs/dataDigitaloceanFloatingIp.java.md index bc187bcf6..e6d2c3129 100644 --- a/docs/dataDigitaloceanFloatingIp.java.md +++ b/docs/dataDigitaloceanFloatingIp.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 DataDigitaloceanFloatingIp resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDigitaloceanFloatingIp.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_floating_ip.DataDigitaloceanFloatingIp; + +DataDigitaloceanFloatingIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanFloatingIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanFloatingIp 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 DataDigitaloceanFloatingIp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanFloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/floating_ip#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 DataDigitaloceanFloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFloatingIp.python.md b/docs/dataDigitaloceanFloatingIp.python.md index f0116e147..3f2b3036f 100644 --- a/docs/dataDigitaloceanFloatingIp.python.md +++ b/docs/dataDigitaloceanFloatingIp.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 DataDigitaloceanFloatingIp resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDigitaloceanFloatingIp.DataDigitaloceanFloatingIp.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_floating_ip + +dataDigitaloceanFloatingIp.DataDigitaloceanFloatingIp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanFloatingIp 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 DataDigitaloceanFloatingIp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanFloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/floating_ip#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 DataDigitaloceanFloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanFloatingIp.typescript.md b/docs/dataDigitaloceanFloatingIp.typescript.md index 19a98ccbc..2c06d45ef 100644 --- a/docs/dataDigitaloceanFloatingIp.typescript.md +++ b/docs/dataDigitaloceanFloatingIp.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 DataDigitaloceanFloatingIp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanFloatingIp.DataDigitaloceanFloatingIp.isTerraformDataSource(x: a --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanFloatingIp } from '@cdktf/provider-digitalocean' + +dataDigitaloceanFloatingIp.DataDigitaloceanFloatingIp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanFloatingIp 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 DataDigitaloceanFloatingIp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanFloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/floating_ip#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 DataDigitaloceanFloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImage.csharp.md b/docs/dataDigitaloceanImage.csharp.md index eb631e335..cc2688dff 100644 --- a/docs/dataDigitaloceanImage.csharp.md +++ b/docs/dataDigitaloceanImage.csharp.md @@ -292,6 +292,7 @@ private void ResetSource() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImage resource upon running "cdktf plan ". | --- @@ -355,6 +356,50 @@ DataDigitaloceanImage.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanImage.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanImage 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 DataDigitaloceanImage to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/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 DataDigitaloceanImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImage.go.md b/docs/dataDigitaloceanImage.go.md index 9c35095a2..6d5b1616f 100644 --- a/docs/dataDigitaloceanImage.go.md +++ b/docs/dataDigitaloceanImage.go.md @@ -292,6 +292,7 @@ func ResetSource() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImage resource upon running "cdktf plan ". | --- @@ -355,6 +356,50 @@ datadigitaloceanimage.DataDigitaloceanImage_IsTerraformDataSource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanimage" + +datadigitaloceanimage.DataDigitaloceanImage_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanImage 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 DataDigitaloceanImage to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/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 DataDigitaloceanImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImage.java.md b/docs/dataDigitaloceanImage.java.md index db7c0ddb1..a576b70fd 100644 --- a/docs/dataDigitaloceanImage.java.md +++ b/docs/dataDigitaloceanImage.java.md @@ -395,6 +395,7 @@ public void resetSource() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImage resource upon running "cdktf plan ". | --- @@ -458,6 +459,50 @@ DataDigitaloceanImage.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_image.DataDigitaloceanImage; + +DataDigitaloceanImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanImage.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanImage 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 DataDigitaloceanImage to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/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 DataDigitaloceanImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImage.python.md b/docs/dataDigitaloceanImage.python.md index 06e3486e9..f2deb6bd5 100644 --- a/docs/dataDigitaloceanImage.python.md +++ b/docs/dataDigitaloceanImage.python.md @@ -418,6 +418,7 @@ def reset_source() -> 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 DataDigitaloceanImage resource upon running "cdktf plan ". | --- @@ -487,6 +488,55 @@ dataDigitaloceanImage.DataDigitaloceanImage.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_image + +dataDigitaloceanImage.DataDigitaloceanImage.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanImage 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 DataDigitaloceanImage to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/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 DataDigitaloceanImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImage.typescript.md b/docs/dataDigitaloceanImage.typescript.md index fb61ce59d..69dd0fead 100644 --- a/docs/dataDigitaloceanImage.typescript.md +++ b/docs/dataDigitaloceanImage.typescript.md @@ -292,6 +292,7 @@ public resetSource(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImage resource upon running "cdktf plan ". | --- @@ -355,6 +356,50 @@ dataDigitaloceanImage.DataDigitaloceanImage.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanImage } from '@cdktf/provider-digitalocean' + +dataDigitaloceanImage.DataDigitaloceanImage.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanImage 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 DataDigitaloceanImage to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanImage that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/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 DataDigitaloceanImage to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImages.csharp.md b/docs/dataDigitaloceanImages.csharp.md index 9ace404e7..80abbce75 100644 --- a/docs/dataDigitaloceanImages.csharp.md +++ b/docs/dataDigitaloceanImages.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImages resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanImages.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanImages.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanImages 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 DataDigitaloceanImages to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanImages that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/images#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 DataDigitaloceanImages to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImages.go.md b/docs/dataDigitaloceanImages.go.md index 3ebe51bd0..60b537965 100644 --- a/docs/dataDigitaloceanImages.go.md +++ b/docs/dataDigitaloceanImages.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImages resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceanimages.DataDigitaloceanImages_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanimages" + +datadigitaloceanimages.DataDigitaloceanImages_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanImages 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 DataDigitaloceanImages to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanImages that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/images#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 DataDigitaloceanImages to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImages.java.md b/docs/dataDigitaloceanImages.java.md index a3d01509f..f104c0998 100644 --- a/docs/dataDigitaloceanImages.java.md +++ b/docs/dataDigitaloceanImages.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImages resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanImages.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_images.DataDigitaloceanImages; + +DataDigitaloceanImages.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanImages.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanImages 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 DataDigitaloceanImages to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanImages that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/images#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 DataDigitaloceanImages to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImages.python.md b/docs/dataDigitaloceanImages.python.md index fec8aee99..eaba6488f 100644 --- a/docs/dataDigitaloceanImages.python.md +++ b/docs/dataDigitaloceanImages.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanImages resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanImages.DataDigitaloceanImages.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_images + +dataDigitaloceanImages.DataDigitaloceanImages.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanImages 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 DataDigitaloceanImages to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanImages that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/images#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 DataDigitaloceanImages to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanImages.typescript.md b/docs/dataDigitaloceanImages.typescript.md index c53dc2693..be4623e87 100644 --- a/docs/dataDigitaloceanImages.typescript.md +++ b/docs/dataDigitaloceanImages.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanImages resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanImages.DataDigitaloceanImages.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanImages } from '@cdktf/provider-digitalocean' + +dataDigitaloceanImages.DataDigitaloceanImages.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanImages 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 DataDigitaloceanImages to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanImages that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/images#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 DataDigitaloceanImages to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesCluster.csharp.md b/docs/dataDigitaloceanKubernetesCluster.csharp.md index 8e82e3c9b..e42fce827 100644 --- a/docs/dataDigitaloceanKubernetesCluster.csharp.md +++ b/docs/dataDigitaloceanKubernetesCluster.csharp.md @@ -278,6 +278,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDigitaloceanKubernetesCluster.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanKubernetesCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster 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 DataDigitaloceanKubernetesCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanKubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesCluster.go.md b/docs/dataDigitaloceanKubernetesCluster.go.md index 724fa7062..123bf4844 100644 --- a/docs/dataDigitaloceanKubernetesCluster.go.md +++ b/docs/dataDigitaloceanKubernetesCluster.go.md @@ -278,6 +278,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadigitaloceankubernetescluster.DataDigitaloceanKubernetesCluster_IsTerraformD --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceankubernetescluster" + +datadigitaloceankubernetescluster.DataDigitaloceanKubernetesCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster 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 DataDigitaloceanKubernetesCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanKubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesCluster.java.md b/docs/dataDigitaloceanKubernetesCluster.java.md index ffed008ae..5ce198acd 100644 --- a/docs/dataDigitaloceanKubernetesCluster.java.md +++ b/docs/dataDigitaloceanKubernetesCluster.java.md @@ -365,6 +365,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster resource upon running "cdktf plan ". | --- @@ -428,6 +429,50 @@ DataDigitaloceanKubernetesCluster.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_kubernetes_cluster.DataDigitaloceanKubernetesCluster; + +DataDigitaloceanKubernetesCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanKubernetesCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster 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 DataDigitaloceanKubernetesCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanKubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesCluster.python.md b/docs/dataDigitaloceanKubernetesCluster.python.md index bb217dbef..a7d4d66a9 100644 --- a/docs/dataDigitaloceanKubernetesCluster.python.md +++ b/docs/dataDigitaloceanKubernetesCluster.python.md @@ -388,6 +388,7 @@ def reset_tags() -> 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 DataDigitaloceanKubernetesCluster resource upon running "cdktf plan ". | --- @@ -457,6 +458,55 @@ dataDigitaloceanKubernetesCluster.DataDigitaloceanKubernetesCluster.is_terraform --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_kubernetes_cluster + +dataDigitaloceanKubernetesCluster.DataDigitaloceanKubernetesCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster 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 DataDigitaloceanKubernetesCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanKubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesCluster.typescript.md b/docs/dataDigitaloceanKubernetesCluster.typescript.md index 1c38dd2ba..6c9c61add 100644 --- a/docs/dataDigitaloceanKubernetesCluster.typescript.md +++ b/docs/dataDigitaloceanKubernetesCluster.typescript.md @@ -278,6 +278,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDigitaloceanKubernetesCluster.DataDigitaloceanKubernetesCluster.isTerraformD --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanKubernetesCluster } from '@cdktf/provider-digitalocean' + +dataDigitaloceanKubernetesCluster.DataDigitaloceanKubernetesCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster 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 DataDigitaloceanKubernetesCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanKubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesVersions.csharp.md b/docs/dataDigitaloceanKubernetesVersions.csharp.md index 5d9ca386e..70b7f9957 100644 --- a/docs/dataDigitaloceanKubernetesVersions.csharp.md +++ b/docs/dataDigitaloceanKubernetesVersions.csharp.md @@ -278,6 +278,7 @@ private void ResetVersionPrefix() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDigitaloceanKubernetesVersions.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanKubernetesVersions.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions 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 DataDigitaloceanKubernetesVersions to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanKubernetesVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesVersions.go.md b/docs/dataDigitaloceanKubernetesVersions.go.md index ba6e2617c..2c36f3a49 100644 --- a/docs/dataDigitaloceanKubernetesVersions.go.md +++ b/docs/dataDigitaloceanKubernetesVersions.go.md @@ -278,6 +278,7 @@ func ResetVersionPrefix() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadigitaloceankubernetesversions.DataDigitaloceanKubernetesVersions_IsTerrafor --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceankubernetesversions" + +datadigitaloceankubernetesversions.DataDigitaloceanKubernetesVersions_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions 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 DataDigitaloceanKubernetesVersions to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanKubernetesVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesVersions.java.md b/docs/dataDigitaloceanKubernetesVersions.java.md index cf1e741fa..b6b4f25ba 100644 --- a/docs/dataDigitaloceanKubernetesVersions.java.md +++ b/docs/dataDigitaloceanKubernetesVersions.java.md @@ -355,6 +355,7 @@ public void resetVersionPrefix() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions resource upon running "cdktf plan ". | --- @@ -418,6 +419,50 @@ DataDigitaloceanKubernetesVersions.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_kubernetes_versions.DataDigitaloceanKubernetesVersions; + +DataDigitaloceanKubernetesVersions.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanKubernetesVersions.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions 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 DataDigitaloceanKubernetesVersions to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanKubernetesVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesVersions.python.md b/docs/dataDigitaloceanKubernetesVersions.python.md index d00c91ef3..3ac986a49 100644 --- a/docs/dataDigitaloceanKubernetesVersions.python.md +++ b/docs/dataDigitaloceanKubernetesVersions.python.md @@ -378,6 +378,7 @@ def reset_version_prefix() -> 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 DataDigitaloceanKubernetesVersions resource upon running "cdktf plan ". | --- @@ -447,6 +448,55 @@ dataDigitaloceanKubernetesVersions.DataDigitaloceanKubernetesVersions.is_terrafo --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_kubernetes_versions + +dataDigitaloceanKubernetesVersions.DataDigitaloceanKubernetesVersions.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions 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 DataDigitaloceanKubernetesVersions to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanKubernetesVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanKubernetesVersions.typescript.md b/docs/dataDigitaloceanKubernetesVersions.typescript.md index a9929b614..5210c6b30 100644 --- a/docs/dataDigitaloceanKubernetesVersions.typescript.md +++ b/docs/dataDigitaloceanKubernetesVersions.typescript.md @@ -278,6 +278,7 @@ public resetVersionPrefix(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDigitaloceanKubernetesVersions.DataDigitaloceanKubernetesVersions.isTerrafor --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanKubernetesVersions } from '@cdktf/provider-digitalocean' + +dataDigitaloceanKubernetesVersions.DataDigitaloceanKubernetesVersions.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions 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 DataDigitaloceanKubernetesVersions to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanKubernetesVersions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_versions#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanKubernetesVersions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanLoadbalancer.csharp.md b/docs/dataDigitaloceanLoadbalancer.csharp.md index c03f35eaf..2c0c07146 100644 --- a/docs/dataDigitaloceanLoadbalancer.csharp.md +++ b/docs/dataDigitaloceanLoadbalancer.csharp.md @@ -278,6 +278,7 @@ private void ResetName() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanLoadbalancer resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDigitaloceanLoadbalancer.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanLoadbalancer.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanLoadbalancer 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 DataDigitaloceanLoadbalancer to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanLoadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/loadbalancer#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 DataDigitaloceanLoadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanLoadbalancer.go.md b/docs/dataDigitaloceanLoadbalancer.go.md index cbba4a10d..0bc5bdb62 100644 --- a/docs/dataDigitaloceanLoadbalancer.go.md +++ b/docs/dataDigitaloceanLoadbalancer.go.md @@ -278,6 +278,7 @@ func ResetName() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanLoadbalancer resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadigitaloceanloadbalancer.DataDigitaloceanLoadbalancer_IsTerraformDataSource( --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanloadbalancer" + +datadigitaloceanloadbalancer.DataDigitaloceanLoadbalancer_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanLoadbalancer 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 DataDigitaloceanLoadbalancer to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanLoadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/loadbalancer#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 DataDigitaloceanLoadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanLoadbalancer.java.md b/docs/dataDigitaloceanLoadbalancer.java.md index 292ea6e12..9da48759f 100644 --- a/docs/dataDigitaloceanLoadbalancer.java.md +++ b/docs/dataDigitaloceanLoadbalancer.java.md @@ -359,6 +359,7 @@ public void resetName() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanLoadbalancer resource upon running "cdktf plan ". | --- @@ -422,6 +423,50 @@ DataDigitaloceanLoadbalancer.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_loadbalancer.DataDigitaloceanLoadbalancer; + +DataDigitaloceanLoadbalancer.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanLoadbalancer.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanLoadbalancer 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 DataDigitaloceanLoadbalancer to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanLoadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/loadbalancer#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 DataDigitaloceanLoadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanLoadbalancer.python.md b/docs/dataDigitaloceanLoadbalancer.python.md index 3f08f8f3b..746c6febb 100644 --- a/docs/dataDigitaloceanLoadbalancer.python.md +++ b/docs/dataDigitaloceanLoadbalancer.python.md @@ -382,6 +382,7 @@ def reset_name() -> 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 DataDigitaloceanLoadbalancer resource upon running "cdktf plan ". | --- @@ -451,6 +452,55 @@ dataDigitaloceanLoadbalancer.DataDigitaloceanLoadbalancer.is_terraform_data_sour --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_loadbalancer + +dataDigitaloceanLoadbalancer.DataDigitaloceanLoadbalancer.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanLoadbalancer 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 DataDigitaloceanLoadbalancer to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanLoadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/loadbalancer#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 DataDigitaloceanLoadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanLoadbalancer.typescript.md b/docs/dataDigitaloceanLoadbalancer.typescript.md index f034e7326..676b86c01 100644 --- a/docs/dataDigitaloceanLoadbalancer.typescript.md +++ b/docs/dataDigitaloceanLoadbalancer.typescript.md @@ -278,6 +278,7 @@ public resetName(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanLoadbalancer resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDigitaloceanLoadbalancer.DataDigitaloceanLoadbalancer.isTerraformDataSource( --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanLoadbalancer } from '@cdktf/provider-digitalocean' + +dataDigitaloceanLoadbalancer.DataDigitaloceanLoadbalancer.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanLoadbalancer 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 DataDigitaloceanLoadbalancer to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanLoadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/loadbalancer#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 DataDigitaloceanLoadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProject.csharp.md b/docs/dataDigitaloceanProject.csharp.md index 061a28691..454263928 100644 --- a/docs/dataDigitaloceanProject.csharp.md +++ b/docs/dataDigitaloceanProject.csharp.md @@ -278,6 +278,7 @@ private void ResetName() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProject resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ DataDigitaloceanProject.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanProject.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanProject 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 DataDigitaloceanProject to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProject.go.md b/docs/dataDigitaloceanProject.go.md index 7ec0f0625..b0063e50d 100644 --- a/docs/dataDigitaloceanProject.go.md +++ b/docs/dataDigitaloceanProject.go.md @@ -278,6 +278,7 @@ func ResetName() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProject resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ datadigitaloceanproject.DataDigitaloceanProject_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanproject" + +datadigitaloceanproject.DataDigitaloceanProject_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanProject 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 DataDigitaloceanProject to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProject.java.md b/docs/dataDigitaloceanProject.java.md index ac3c24c08..c704bf206 100644 --- a/docs/dataDigitaloceanProject.java.md +++ b/docs/dataDigitaloceanProject.java.md @@ -355,6 +355,7 @@ public void resetName() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProject resource upon running "cdktf plan ". | --- @@ -418,6 +419,50 @@ DataDigitaloceanProject.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_project.DataDigitaloceanProject; + +DataDigitaloceanProject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanProject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanProject 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 DataDigitaloceanProject to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProject.python.md b/docs/dataDigitaloceanProject.python.md index 2e354b2aa..d15be44ca 100644 --- a/docs/dataDigitaloceanProject.python.md +++ b/docs/dataDigitaloceanProject.python.md @@ -378,6 +378,7 @@ def reset_name() -> 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 DataDigitaloceanProject resource upon running "cdktf plan ". | --- @@ -447,6 +448,55 @@ dataDigitaloceanProject.DataDigitaloceanProject.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_project + +dataDigitaloceanProject.DataDigitaloceanProject.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanProject 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 DataDigitaloceanProject to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProject.typescript.md b/docs/dataDigitaloceanProject.typescript.md index eb3882d95..f20d208df 100644 --- a/docs/dataDigitaloceanProject.typescript.md +++ b/docs/dataDigitaloceanProject.typescript.md @@ -278,6 +278,7 @@ public resetName(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProject resource upon running "cdktf plan ". | --- @@ -341,6 +342,50 @@ dataDigitaloceanProject.DataDigitaloceanProject.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanProject } from '@cdktf/provider-digitalocean' + +dataDigitaloceanProject.DataDigitaloceanProject.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanProject 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 DataDigitaloceanProject to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanProject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanProject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProjects.csharp.md b/docs/dataDigitaloceanProjects.csharp.md index c8934646b..bb3fb6943 100644 --- a/docs/dataDigitaloceanProjects.csharp.md +++ b/docs/dataDigitaloceanProjects.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProjects resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanProjects.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanProjects.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanProjects 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 DataDigitaloceanProjects to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanProjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/projects#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 DataDigitaloceanProjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProjects.go.md b/docs/dataDigitaloceanProjects.go.md index 033434547..9c779b4e5 100644 --- a/docs/dataDigitaloceanProjects.go.md +++ b/docs/dataDigitaloceanProjects.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProjects resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceanprojects.DataDigitaloceanProjects_IsTerraformDataSource(x interf --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanprojects" + +datadigitaloceanprojects.DataDigitaloceanProjects_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanProjects 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 DataDigitaloceanProjects to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanProjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/projects#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 DataDigitaloceanProjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProjects.java.md b/docs/dataDigitaloceanProjects.java.md index f58bb276f..7521c287c 100644 --- a/docs/dataDigitaloceanProjects.java.md +++ b/docs/dataDigitaloceanProjects.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProjects resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanProjects.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_projects.DataDigitaloceanProjects; + +DataDigitaloceanProjects.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanProjects.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanProjects 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 DataDigitaloceanProjects to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanProjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/projects#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 DataDigitaloceanProjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProjects.python.md b/docs/dataDigitaloceanProjects.python.md index 83f8cce67..a1283a8f1 100644 --- a/docs/dataDigitaloceanProjects.python.md +++ b/docs/dataDigitaloceanProjects.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanProjects resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanProjects.DataDigitaloceanProjects.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_projects + +dataDigitaloceanProjects.DataDigitaloceanProjects.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanProjects 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 DataDigitaloceanProjects to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanProjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/projects#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 DataDigitaloceanProjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanProjects.typescript.md b/docs/dataDigitaloceanProjects.typescript.md index 837a73c4c..1edbce46e 100644 --- a/docs/dataDigitaloceanProjects.typescript.md +++ b/docs/dataDigitaloceanProjects.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanProjects resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanProjects.DataDigitaloceanProjects.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanProjects } from '@cdktf/provider-digitalocean' + +dataDigitaloceanProjects.DataDigitaloceanProjects.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanProjects 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 DataDigitaloceanProjects to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanProjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/projects#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 DataDigitaloceanProjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecord.csharp.md b/docs/dataDigitaloceanRecord.csharp.md index 1cc3f7378..0697590fb 100644 --- a/docs/dataDigitaloceanRecord.csharp.md +++ b/docs/dataDigitaloceanRecord.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 DataDigitaloceanRecord resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanRecord.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanRecord.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanRecord 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 DataDigitaloceanRecord to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRecord that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/record#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 DataDigitaloceanRecord to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecord.go.md b/docs/dataDigitaloceanRecord.go.md index 2ae34b9fa..037d9822f 100644 --- a/docs/dataDigitaloceanRecord.go.md +++ b/docs/dataDigitaloceanRecord.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 DataDigitaloceanRecord resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanrecord.DataDigitaloceanRecord_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanrecord" + +datadigitaloceanrecord.DataDigitaloceanRecord_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanRecord 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 DataDigitaloceanRecord to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanRecord that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/record#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 DataDigitaloceanRecord to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecord.java.md b/docs/dataDigitaloceanRecord.java.md index bc19208cd..a645932dc 100644 --- a/docs/dataDigitaloceanRecord.java.md +++ b/docs/dataDigitaloceanRecord.java.md @@ -362,6 +362,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRecord resource upon running "cdktf plan ". | --- @@ -425,6 +426,50 @@ DataDigitaloceanRecord.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_record.DataDigitaloceanRecord; + +DataDigitaloceanRecord.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanRecord.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRecord 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 DataDigitaloceanRecord to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanRecord that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/record#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 DataDigitaloceanRecord to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecord.python.md b/docs/dataDigitaloceanRecord.python.md index 349b5308d..e1609dd92 100644 --- a/docs/dataDigitaloceanRecord.python.md +++ b/docs/dataDigitaloceanRecord.python.md @@ -385,6 +385,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 DataDigitaloceanRecord resource upon running "cdktf plan ". | --- @@ -454,6 +455,55 @@ dataDigitaloceanRecord.DataDigitaloceanRecord.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_record + +dataDigitaloceanRecord.DataDigitaloceanRecord.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanRecord 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 DataDigitaloceanRecord to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanRecord that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/record#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 DataDigitaloceanRecord to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecord.typescript.md b/docs/dataDigitaloceanRecord.typescript.md index 9b8bbab1c..11620326b 100644 --- a/docs/dataDigitaloceanRecord.typescript.md +++ b/docs/dataDigitaloceanRecord.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 DataDigitaloceanRecord resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanRecord.DataDigitaloceanRecord.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanRecord } from '@cdktf/provider-digitalocean' + +dataDigitaloceanRecord.DataDigitaloceanRecord.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRecord 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 DataDigitaloceanRecord to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRecord that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/record#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 DataDigitaloceanRecord to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecords.csharp.md b/docs/dataDigitaloceanRecords.csharp.md index 751731e07..0ebb6bc23 100644 --- a/docs/dataDigitaloceanRecords.csharp.md +++ b/docs/dataDigitaloceanRecords.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRecords resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanRecords.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanRecords.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanRecords 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 DataDigitaloceanRecords to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRecords that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/records#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 DataDigitaloceanRecords to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecords.go.md b/docs/dataDigitaloceanRecords.go.md index 6440a9673..6f60fc91b 100644 --- a/docs/dataDigitaloceanRecords.go.md +++ b/docs/dataDigitaloceanRecords.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRecords resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceanrecords.DataDigitaloceanRecords_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanrecords" + +datadigitaloceanrecords.DataDigitaloceanRecords_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanRecords 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 DataDigitaloceanRecords to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanRecords that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/records#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 DataDigitaloceanRecords to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecords.java.md b/docs/dataDigitaloceanRecords.java.md index e16a2f087..ac58afcf3 100644 --- a/docs/dataDigitaloceanRecords.java.md +++ b/docs/dataDigitaloceanRecords.java.md @@ -414,6 +414,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRecords resource upon running "cdktf plan ". | --- @@ -477,6 +478,50 @@ DataDigitaloceanRecords.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_records.DataDigitaloceanRecords; + +DataDigitaloceanRecords.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanRecords.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRecords 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 DataDigitaloceanRecords to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanRecords that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/records#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 DataDigitaloceanRecords to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecords.python.md b/docs/dataDigitaloceanRecords.python.md index bfe00e697..bed629a6b 100644 --- a/docs/dataDigitaloceanRecords.python.md +++ b/docs/dataDigitaloceanRecords.python.md @@ -439,6 +439,7 @@ def reset_sort() -> 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 DataDigitaloceanRecords resource upon running "cdktf plan ". | --- @@ -508,6 +509,55 @@ dataDigitaloceanRecords.DataDigitaloceanRecords.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_records + +dataDigitaloceanRecords.DataDigitaloceanRecords.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanRecords 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 DataDigitaloceanRecords to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanRecords that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/records#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 DataDigitaloceanRecords to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRecords.typescript.md b/docs/dataDigitaloceanRecords.typescript.md index 06f21edda..c4d1d2b0a 100644 --- a/docs/dataDigitaloceanRecords.typescript.md +++ b/docs/dataDigitaloceanRecords.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRecords resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanRecords.DataDigitaloceanRecords.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanRecords } from '@cdktf/provider-digitalocean' + +dataDigitaloceanRecords.DataDigitaloceanRecords.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRecords 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 DataDigitaloceanRecords to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRecords that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/records#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 DataDigitaloceanRecords to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegion.csharp.md b/docs/dataDigitaloceanRegion.csharp.md index 56d0b7cd3..fd1cbf4ba 100644 --- a/docs/dataDigitaloceanRegion.csharp.md +++ b/docs/dataDigitaloceanRegion.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 DataDigitaloceanRegion resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanRegion.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanRegion.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanRegion 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 DataDigitaloceanRegion to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRegion that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/region#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 DataDigitaloceanRegion to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegion.go.md b/docs/dataDigitaloceanRegion.go.md index 08d260ba8..ac6dc9236 100644 --- a/docs/dataDigitaloceanRegion.go.md +++ b/docs/dataDigitaloceanRegion.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 DataDigitaloceanRegion resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanregion.DataDigitaloceanRegion_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanregion" + +datadigitaloceanregion.DataDigitaloceanRegion_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanRegion 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 DataDigitaloceanRegion to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanRegion that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/region#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 DataDigitaloceanRegion to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegion.java.md b/docs/dataDigitaloceanRegion.java.md index 4fcc842b7..ca2217128 100644 --- a/docs/dataDigitaloceanRegion.java.md +++ b/docs/dataDigitaloceanRegion.java.md @@ -348,6 +348,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRegion resource upon running "cdktf plan ". | --- @@ -411,6 +412,50 @@ DataDigitaloceanRegion.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_region.DataDigitaloceanRegion; + +DataDigitaloceanRegion.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanRegion.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRegion 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 DataDigitaloceanRegion to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanRegion that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/region#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 DataDigitaloceanRegion to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegion.python.md b/docs/dataDigitaloceanRegion.python.md index d1b5fe52b..8ca37e592 100644 --- a/docs/dataDigitaloceanRegion.python.md +++ b/docs/dataDigitaloceanRegion.python.md @@ -371,6 +371,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 DataDigitaloceanRegion resource upon running "cdktf plan ". | --- @@ -440,6 +441,55 @@ dataDigitaloceanRegion.DataDigitaloceanRegion.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_region + +dataDigitaloceanRegion.DataDigitaloceanRegion.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanRegion 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 DataDigitaloceanRegion to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanRegion that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/region#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 DataDigitaloceanRegion to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegion.typescript.md b/docs/dataDigitaloceanRegion.typescript.md index 487b41d4c..0475ce907 100644 --- a/docs/dataDigitaloceanRegion.typescript.md +++ b/docs/dataDigitaloceanRegion.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 DataDigitaloceanRegion resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanRegion.DataDigitaloceanRegion.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanRegion } from '@cdktf/provider-digitalocean' + +dataDigitaloceanRegion.DataDigitaloceanRegion.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRegion 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 DataDigitaloceanRegion to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRegion that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/region#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 DataDigitaloceanRegion to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegions.csharp.md b/docs/dataDigitaloceanRegions.csharp.md index 0bf2a1c63..733fd666f 100644 --- a/docs/dataDigitaloceanRegions.csharp.md +++ b/docs/dataDigitaloceanRegions.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRegions resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanRegions.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanRegions.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanRegions 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 DataDigitaloceanRegions to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRegions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/regions#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 DataDigitaloceanRegions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegions.go.md b/docs/dataDigitaloceanRegions.go.md index 42eea593e..d3ef98adb 100644 --- a/docs/dataDigitaloceanRegions.go.md +++ b/docs/dataDigitaloceanRegions.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRegions resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceanregions.DataDigitaloceanRegions_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanregions" + +datadigitaloceanregions.DataDigitaloceanRegions_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanRegions 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 DataDigitaloceanRegions to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanRegions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/regions#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 DataDigitaloceanRegions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegions.java.md b/docs/dataDigitaloceanRegions.java.md index 40c386bbc..7d00c17a5 100644 --- a/docs/dataDigitaloceanRegions.java.md +++ b/docs/dataDigitaloceanRegions.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRegions resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanRegions.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_regions.DataDigitaloceanRegions; + +DataDigitaloceanRegions.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanRegions.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRegions 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 DataDigitaloceanRegions to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanRegions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/regions#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 DataDigitaloceanRegions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegions.python.md b/docs/dataDigitaloceanRegions.python.md index 09dfb741b..8041575f0 100644 --- a/docs/dataDigitaloceanRegions.python.md +++ b/docs/dataDigitaloceanRegions.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanRegions resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanRegions.DataDigitaloceanRegions.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_regions + +dataDigitaloceanRegions.DataDigitaloceanRegions.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanRegions 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 DataDigitaloceanRegions to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanRegions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/regions#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 DataDigitaloceanRegions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanRegions.typescript.md b/docs/dataDigitaloceanRegions.typescript.md index 58d10e57f..cdf9feff3 100644 --- a/docs/dataDigitaloceanRegions.typescript.md +++ b/docs/dataDigitaloceanRegions.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanRegions resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanRegions.DataDigitaloceanRegions.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanRegions } from '@cdktf/provider-digitalocean' + +dataDigitaloceanRegions.DataDigitaloceanRegions.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanRegions 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 DataDigitaloceanRegions to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanRegions that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/regions#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 DataDigitaloceanRegions to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanReservedIp.csharp.md b/docs/dataDigitaloceanReservedIp.csharp.md index df2fb6f19..12f53855f 100644 --- a/docs/dataDigitaloceanReservedIp.csharp.md +++ b/docs/dataDigitaloceanReservedIp.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 DataDigitaloceanReservedIp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanReservedIp.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanReservedIp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanReservedIp 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 DataDigitaloceanReservedIp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/reserved_ip#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 DataDigitaloceanReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanReservedIp.go.md b/docs/dataDigitaloceanReservedIp.go.md index d511c7255..0e72b5bb9 100644 --- a/docs/dataDigitaloceanReservedIp.go.md +++ b/docs/dataDigitaloceanReservedIp.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 DataDigitaloceanReservedIp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanreservedip.DataDigitaloceanReservedIp_IsTerraformDataSource(x in --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanreservedip" + +datadigitaloceanreservedip.DataDigitaloceanReservedIp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanReservedIp 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 DataDigitaloceanReservedIp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/reserved_ip#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 DataDigitaloceanReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanReservedIp.java.md b/docs/dataDigitaloceanReservedIp.java.md index 93fe689e1..fca6c8f61 100644 --- a/docs/dataDigitaloceanReservedIp.java.md +++ b/docs/dataDigitaloceanReservedIp.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 DataDigitaloceanReservedIp resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDigitaloceanReservedIp.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_reserved_ip.DataDigitaloceanReservedIp; + +DataDigitaloceanReservedIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanReservedIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanReservedIp 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 DataDigitaloceanReservedIp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/reserved_ip#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 DataDigitaloceanReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanReservedIp.python.md b/docs/dataDigitaloceanReservedIp.python.md index 217e13543..ee5e35498 100644 --- a/docs/dataDigitaloceanReservedIp.python.md +++ b/docs/dataDigitaloceanReservedIp.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 DataDigitaloceanReservedIp resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDigitaloceanReservedIp.DataDigitaloceanReservedIp.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_reserved_ip + +dataDigitaloceanReservedIp.DataDigitaloceanReservedIp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanReservedIp 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 DataDigitaloceanReservedIp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/reserved_ip#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 DataDigitaloceanReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanReservedIp.typescript.md b/docs/dataDigitaloceanReservedIp.typescript.md index c3b8ce5b7..f16eeb2b2 100644 --- a/docs/dataDigitaloceanReservedIp.typescript.md +++ b/docs/dataDigitaloceanReservedIp.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 DataDigitaloceanReservedIp resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanReservedIp.DataDigitaloceanReservedIp.isTerraformDataSource(x: a --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanReservedIp } from '@cdktf/provider-digitalocean' + +dataDigitaloceanReservedIp.DataDigitaloceanReservedIp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanReservedIp 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 DataDigitaloceanReservedIp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/reserved_ip#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 DataDigitaloceanReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSizes.csharp.md b/docs/dataDigitaloceanSizes.csharp.md index 157fa9315..c890551b2 100644 --- a/docs/dataDigitaloceanSizes.csharp.md +++ b/docs/dataDigitaloceanSizes.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSizes resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanSizes.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSizes.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSizes 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 DataDigitaloceanSizes to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSizes that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/sizes#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 DataDigitaloceanSizes to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSizes.go.md b/docs/dataDigitaloceanSizes.go.md index 1b9d8ef6b..6f61af19b 100644 --- a/docs/dataDigitaloceanSizes.go.md +++ b/docs/dataDigitaloceanSizes.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSizes resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceansizes.DataDigitaloceanSizes_IsTerraformDataSource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceansizes" + +datadigitaloceansizes.DataDigitaloceanSizes_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSizes 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 DataDigitaloceanSizes to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSizes that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/sizes#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 DataDigitaloceanSizes to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSizes.java.md b/docs/dataDigitaloceanSizes.java.md index 171c7802e..422c86726 100644 --- a/docs/dataDigitaloceanSizes.java.md +++ b/docs/dataDigitaloceanSizes.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSizes resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanSizes.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_sizes.DataDigitaloceanSizes; + +DataDigitaloceanSizes.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSizes.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSizes 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 DataDigitaloceanSizes to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSizes that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/sizes#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 DataDigitaloceanSizes to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSizes.python.md b/docs/dataDigitaloceanSizes.python.md index 29c5dfb8f..a81299d5b 100644 --- a/docs/dataDigitaloceanSizes.python.md +++ b/docs/dataDigitaloceanSizes.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanSizes resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanSizes.DataDigitaloceanSizes.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_sizes + +dataDigitaloceanSizes.DataDigitaloceanSizes.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSizes 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 DataDigitaloceanSizes to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSizes that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/sizes#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 DataDigitaloceanSizes to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSizes.typescript.md b/docs/dataDigitaloceanSizes.typescript.md index 280c86b7e..9bbf8ba86 100644 --- a/docs/dataDigitaloceanSizes.typescript.md +++ b/docs/dataDigitaloceanSizes.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSizes resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanSizes.DataDigitaloceanSizes.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSizes } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSizes.DataDigitaloceanSizes.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSizes 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 DataDigitaloceanSizes to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSizes that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/sizes#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 DataDigitaloceanSizes to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucket.csharp.md b/docs/dataDigitaloceanSpacesBucket.csharp.md index 3094222d0..c7e2cc384 100644 --- a/docs/dataDigitaloceanSpacesBucket.csharp.md +++ b/docs/dataDigitaloceanSpacesBucket.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 DataDigitaloceanSpacesBucket resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanSpacesBucket.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSpacesBucket.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucket 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 DataDigitaloceanSpacesBucket to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket#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 DataDigitaloceanSpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucket.go.md b/docs/dataDigitaloceanSpacesBucket.go.md index 4f36d57c4..0aa2c68c1 100644 --- a/docs/dataDigitaloceanSpacesBucket.go.md +++ b/docs/dataDigitaloceanSpacesBucket.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 DataDigitaloceanSpacesBucket resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceanspacesbucket.DataDigitaloceanSpacesBucket_IsTerraformDataSource( --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanspacesbucket" + +datadigitaloceanspacesbucket.DataDigitaloceanSpacesBucket_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucket 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 DataDigitaloceanSpacesBucket to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket#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 DataDigitaloceanSpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucket.java.md b/docs/dataDigitaloceanSpacesBucket.java.md index 437132b00..301efc943 100644 --- a/docs/dataDigitaloceanSpacesBucket.java.md +++ b/docs/dataDigitaloceanSpacesBucket.java.md @@ -362,6 +362,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucket resource upon running "cdktf plan ". | --- @@ -425,6 +426,50 @@ DataDigitaloceanSpacesBucket.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_spaces_bucket.DataDigitaloceanSpacesBucket; + +DataDigitaloceanSpacesBucket.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSpacesBucket.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucket 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 DataDigitaloceanSpacesBucket to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket#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 DataDigitaloceanSpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucket.python.md b/docs/dataDigitaloceanSpacesBucket.python.md index 84efb01dd..ab6da2da0 100644 --- a/docs/dataDigitaloceanSpacesBucket.python.md +++ b/docs/dataDigitaloceanSpacesBucket.python.md @@ -385,6 +385,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 DataDigitaloceanSpacesBucket resource upon running "cdktf plan ". | --- @@ -454,6 +455,55 @@ dataDigitaloceanSpacesBucket.DataDigitaloceanSpacesBucket.is_terraform_data_sour --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_spaces_bucket + +dataDigitaloceanSpacesBucket.DataDigitaloceanSpacesBucket.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucket 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 DataDigitaloceanSpacesBucket to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket#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 DataDigitaloceanSpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucket.typescript.md b/docs/dataDigitaloceanSpacesBucket.typescript.md index e734fe285..a6b41d95a 100644 --- a/docs/dataDigitaloceanSpacesBucket.typescript.md +++ b/docs/dataDigitaloceanSpacesBucket.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 DataDigitaloceanSpacesBucket resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanSpacesBucket.DataDigitaloceanSpacesBucket.isTerraformDataSource( --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSpacesBucket } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSpacesBucket.DataDigitaloceanSpacesBucket.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucket 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 DataDigitaloceanSpacesBucket to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket#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 DataDigitaloceanSpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObject.csharp.md b/docs/dataDigitaloceanSpacesBucketObject.csharp.md index 70ade926b..333f8456c 100644 --- a/docs/dataDigitaloceanSpacesBucketObject.csharp.md +++ b/docs/dataDigitaloceanSpacesBucketObject.csharp.md @@ -285,6 +285,7 @@ private void ResetVersionId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ DataDigitaloceanSpacesBucketObject.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSpacesBucketObject.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject 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 DataDigitaloceanSpacesBucketObject to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_object#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 DataDigitaloceanSpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObject.go.md b/docs/dataDigitaloceanSpacesBucketObject.go.md index f051c42af..5525415d4 100644 --- a/docs/dataDigitaloceanSpacesBucketObject.go.md +++ b/docs/dataDigitaloceanSpacesBucketObject.go.md @@ -285,6 +285,7 @@ func ResetVersionId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ datadigitaloceanspacesbucketobject.DataDigitaloceanSpacesBucketObject_IsTerrafor --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanspacesbucketobject" + +datadigitaloceanspacesbucketobject.DataDigitaloceanSpacesBucketObject_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject 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 DataDigitaloceanSpacesBucketObject to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_object#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 DataDigitaloceanSpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObject.java.md b/docs/dataDigitaloceanSpacesBucketObject.java.md index 37e20f637..c97cbd2f5 100644 --- a/docs/dataDigitaloceanSpacesBucketObject.java.md +++ b/docs/dataDigitaloceanSpacesBucketObject.java.md @@ -402,6 +402,7 @@ public void resetVersionId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject resource upon running "cdktf plan ". | --- @@ -465,6 +466,50 @@ DataDigitaloceanSpacesBucketObject.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_spaces_bucket_object.DataDigitaloceanSpacesBucketObject; + +DataDigitaloceanSpacesBucketObject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSpacesBucketObject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject 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 DataDigitaloceanSpacesBucketObject to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_object#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 DataDigitaloceanSpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObject.python.md b/docs/dataDigitaloceanSpacesBucketObject.python.md index e96e03888..d7c54afa3 100644 --- a/docs/dataDigitaloceanSpacesBucketObject.python.md +++ b/docs/dataDigitaloceanSpacesBucketObject.python.md @@ -425,6 +425,7 @@ def reset_version_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 DataDigitaloceanSpacesBucketObject resource upon running "cdktf plan ". | --- @@ -494,6 +495,55 @@ dataDigitaloceanSpacesBucketObject.DataDigitaloceanSpacesBucketObject.is_terrafo --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_spaces_bucket_object + +dataDigitaloceanSpacesBucketObject.DataDigitaloceanSpacesBucketObject.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject 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 DataDigitaloceanSpacesBucketObject to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_object#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 DataDigitaloceanSpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObject.typescript.md b/docs/dataDigitaloceanSpacesBucketObject.typescript.md index 324871c9d..3cda24438 100644 --- a/docs/dataDigitaloceanSpacesBucketObject.typescript.md +++ b/docs/dataDigitaloceanSpacesBucketObject.typescript.md @@ -285,6 +285,7 @@ public resetVersionId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ dataDigitaloceanSpacesBucketObject.DataDigitaloceanSpacesBucketObject.isTerrafor --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSpacesBucketObject } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSpacesBucketObject.DataDigitaloceanSpacesBucketObject.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject 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 DataDigitaloceanSpacesBucketObject to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_object#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 DataDigitaloceanSpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObjects.csharp.md b/docs/dataDigitaloceanSpacesBucketObjects.csharp.md index 7daa71efc..16830942e 100644 --- a/docs/dataDigitaloceanSpacesBucketObjects.csharp.md +++ b/docs/dataDigitaloceanSpacesBucketObjects.csharp.md @@ -299,6 +299,7 @@ private void ResetPrefix() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ DataDigitaloceanSpacesBucketObjects.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSpacesBucketObjects.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects 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 DataDigitaloceanSpacesBucketObjects to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBucketObjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_objects#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 DataDigitaloceanSpacesBucketObjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObjects.go.md b/docs/dataDigitaloceanSpacesBucketObjects.go.md index 09824c5ec..bc32a649f 100644 --- a/docs/dataDigitaloceanSpacesBucketObjects.go.md +++ b/docs/dataDigitaloceanSpacesBucketObjects.go.md @@ -299,6 +299,7 @@ func ResetPrefix() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ datadigitaloceanspacesbucketobjects.DataDigitaloceanSpacesBucketObjects_IsTerraf --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanspacesbucketobjects" + +datadigitaloceanspacesbucketobjects.DataDigitaloceanSpacesBucketObjects_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects 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 DataDigitaloceanSpacesBucketObjects to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSpacesBucketObjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_objects#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 DataDigitaloceanSpacesBucketObjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObjects.java.md b/docs/dataDigitaloceanSpacesBucketObjects.java.md index cb18e17dc..bc9c1e72b 100644 --- a/docs/dataDigitaloceanSpacesBucketObjects.java.md +++ b/docs/dataDigitaloceanSpacesBucketObjects.java.md @@ -426,6 +426,7 @@ public void resetPrefix() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects resource upon running "cdktf plan ". | --- @@ -489,6 +490,50 @@ DataDigitaloceanSpacesBucketObjects.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_spaces_bucket_objects.DataDigitaloceanSpacesBucketObjects; + +DataDigitaloceanSpacesBucketObjects.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSpacesBucketObjects.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects 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 DataDigitaloceanSpacesBucketObjects to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSpacesBucketObjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_objects#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 DataDigitaloceanSpacesBucketObjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObjects.python.md b/docs/dataDigitaloceanSpacesBucketObjects.python.md index f9af0ae12..6bbff9a05 100644 --- a/docs/dataDigitaloceanSpacesBucketObjects.python.md +++ b/docs/dataDigitaloceanSpacesBucketObjects.python.md @@ -449,6 +449,7 @@ def reset_prefix() -> 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 DataDigitaloceanSpacesBucketObjects resource upon running "cdktf plan ". | --- @@ -518,6 +519,55 @@ dataDigitaloceanSpacesBucketObjects.DataDigitaloceanSpacesBucketObjects.is_terra --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_spaces_bucket_objects + +dataDigitaloceanSpacesBucketObjects.DataDigitaloceanSpacesBucketObjects.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects 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 DataDigitaloceanSpacesBucketObjects to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSpacesBucketObjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_objects#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 DataDigitaloceanSpacesBucketObjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBucketObjects.typescript.md b/docs/dataDigitaloceanSpacesBucketObjects.typescript.md index 4210b9e64..032e0df5b 100644 --- a/docs/dataDigitaloceanSpacesBucketObjects.typescript.md +++ b/docs/dataDigitaloceanSpacesBucketObjects.typescript.md @@ -299,6 +299,7 @@ public resetPrefix(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ dataDigitaloceanSpacesBucketObjects.DataDigitaloceanSpacesBucketObjects.isTerraf --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSpacesBucketObjects } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSpacesBucketObjects.DataDigitaloceanSpacesBucketObjects.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects 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 DataDigitaloceanSpacesBucketObjects to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBucketObjects that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_objects#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 DataDigitaloceanSpacesBucketObjects to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBuckets.csharp.md b/docs/dataDigitaloceanSpacesBuckets.csharp.md index 98aa1b8f2..7cd0ad5fb 100644 --- a/docs/dataDigitaloceanSpacesBuckets.csharp.md +++ b/docs/dataDigitaloceanSpacesBuckets.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanSpacesBuckets.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSpacesBuckets.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets 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 DataDigitaloceanSpacesBuckets to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBuckets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_buckets#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 DataDigitaloceanSpacesBuckets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBuckets.go.md b/docs/dataDigitaloceanSpacesBuckets.go.md index ce38de9d2..5fd23228b 100644 --- a/docs/dataDigitaloceanSpacesBuckets.go.md +++ b/docs/dataDigitaloceanSpacesBuckets.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceanspacesbuckets.DataDigitaloceanSpacesBuckets_IsTerraformDataSourc --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanspacesbuckets" + +datadigitaloceanspacesbuckets.DataDigitaloceanSpacesBuckets_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets 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 DataDigitaloceanSpacesBuckets to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSpacesBuckets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_buckets#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 DataDigitaloceanSpacesBuckets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBuckets.java.md b/docs/dataDigitaloceanSpacesBuckets.java.md index 20eaeb855..9f5ab493a 100644 --- a/docs/dataDigitaloceanSpacesBuckets.java.md +++ b/docs/dataDigitaloceanSpacesBuckets.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanSpacesBuckets.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_spaces_buckets.DataDigitaloceanSpacesBuckets; + +DataDigitaloceanSpacesBuckets.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSpacesBuckets.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets 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 DataDigitaloceanSpacesBuckets to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSpacesBuckets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_buckets#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 DataDigitaloceanSpacesBuckets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBuckets.python.md b/docs/dataDigitaloceanSpacesBuckets.python.md index 29b7449fa..74bdc7e98 100644 --- a/docs/dataDigitaloceanSpacesBuckets.python.md +++ b/docs/dataDigitaloceanSpacesBuckets.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanSpacesBuckets resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanSpacesBuckets.DataDigitaloceanSpacesBuckets.is_terraform_data_so --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_spaces_buckets + +dataDigitaloceanSpacesBuckets.DataDigitaloceanSpacesBuckets.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets 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 DataDigitaloceanSpacesBuckets to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSpacesBuckets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_buckets#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 DataDigitaloceanSpacesBuckets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSpacesBuckets.typescript.md b/docs/dataDigitaloceanSpacesBuckets.typescript.md index 2e0e5c217..057db9646 100644 --- a/docs/dataDigitaloceanSpacesBuckets.typescript.md +++ b/docs/dataDigitaloceanSpacesBuckets.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanSpacesBuckets.DataDigitaloceanSpacesBuckets.isTerraformDataSourc --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSpacesBuckets } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSpacesBuckets.DataDigitaloceanSpacesBuckets.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets 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 DataDigitaloceanSpacesBuckets to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSpacesBuckets that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_buckets#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 DataDigitaloceanSpacesBuckets to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKey.csharp.md b/docs/dataDigitaloceanSshKey.csharp.md index c9edf6190..142b51ed5 100644 --- a/docs/dataDigitaloceanSshKey.csharp.md +++ b/docs/dataDigitaloceanSshKey.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 DataDigitaloceanSshKey resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ DataDigitaloceanSshKey.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSshKey.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKey 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 DataDigitaloceanSshKey to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_key#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 DataDigitaloceanSshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKey.go.md b/docs/dataDigitaloceanSshKey.go.md index ab8ae9805..59d74ff68 100644 --- a/docs/dataDigitaloceanSshKey.go.md +++ b/docs/dataDigitaloceanSshKey.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 DataDigitaloceanSshKey resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ datadigitaloceansshkey.DataDigitaloceanSshKey_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceansshkey" + +datadigitaloceansshkey.DataDigitaloceanSshKey_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKey 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 DataDigitaloceanSshKey to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_key#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 DataDigitaloceanSshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKey.java.md b/docs/dataDigitaloceanSshKey.java.md index 0cc40c359..ffb37a9e0 100644 --- a/docs/dataDigitaloceanSshKey.java.md +++ b/docs/dataDigitaloceanSshKey.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 DataDigitaloceanSshKey resource upon running "cdktf plan ". | --- @@ -393,6 +394,50 @@ DataDigitaloceanSshKey.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_ssh_key.DataDigitaloceanSshKey; + +DataDigitaloceanSshKey.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSshKey.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKey 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 DataDigitaloceanSshKey to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_key#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 DataDigitaloceanSshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKey.python.md b/docs/dataDigitaloceanSshKey.python.md index fa51610ec..5b4c8af50 100644 --- a/docs/dataDigitaloceanSshKey.python.md +++ b/docs/dataDigitaloceanSshKey.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 DataDigitaloceanSshKey resource upon running "cdktf plan ". | --- @@ -422,6 +423,55 @@ dataDigitaloceanSshKey.DataDigitaloceanSshKey.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_ssh_key + +dataDigitaloceanSshKey.DataDigitaloceanSshKey.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKey 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 DataDigitaloceanSshKey to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_key#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 DataDigitaloceanSshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKey.typescript.md b/docs/dataDigitaloceanSshKey.typescript.md index 59c6b1fc3..9ac0805ae 100644 --- a/docs/dataDigitaloceanSshKey.typescript.md +++ b/docs/dataDigitaloceanSshKey.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 DataDigitaloceanSshKey resource upon running "cdktf plan ". | --- @@ -327,6 +328,50 @@ dataDigitaloceanSshKey.DataDigitaloceanSshKey.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSshKey } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSshKey.DataDigitaloceanSshKey.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKey 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 DataDigitaloceanSshKey to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_key#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 DataDigitaloceanSshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKeys.csharp.md b/docs/dataDigitaloceanSshKeys.csharp.md index 18ab9832a..c61a5a3ed 100644 --- a/docs/dataDigitaloceanSshKeys.csharp.md +++ b/docs/dataDigitaloceanSshKeys.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSshKeys resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanSshKeys.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanSshKeys.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKeys 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 DataDigitaloceanSshKeys to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSshKeys that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_keys#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 DataDigitaloceanSshKeys to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKeys.go.md b/docs/dataDigitaloceanSshKeys.go.md index d0d532a7f..badd0a310 100644 --- a/docs/dataDigitaloceanSshKeys.go.md +++ b/docs/dataDigitaloceanSshKeys.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSshKeys resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceansshkeys.DataDigitaloceanSshKeys_IsTerraformDataSource(x interfac --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceansshkeys" + +datadigitaloceansshkeys.DataDigitaloceanSshKeys_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKeys 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 DataDigitaloceanSshKeys to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanSshKeys that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_keys#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 DataDigitaloceanSshKeys to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKeys.java.md b/docs/dataDigitaloceanSshKeys.java.md index adf0324b5..ca4b52cef 100644 --- a/docs/dataDigitaloceanSshKeys.java.md +++ b/docs/dataDigitaloceanSshKeys.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSshKeys resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanSshKeys.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_ssh_keys.DataDigitaloceanSshKeys; + +DataDigitaloceanSshKeys.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanSshKeys.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKeys 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 DataDigitaloceanSshKeys to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanSshKeys that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_keys#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 DataDigitaloceanSshKeys to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKeys.python.md b/docs/dataDigitaloceanSshKeys.python.md index 3119a1e79..51f6dc3cb 100644 --- a/docs/dataDigitaloceanSshKeys.python.md +++ b/docs/dataDigitaloceanSshKeys.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanSshKeys resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanSshKeys.DataDigitaloceanSshKeys.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_ssh_keys + +dataDigitaloceanSshKeys.DataDigitaloceanSshKeys.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKeys 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 DataDigitaloceanSshKeys to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanSshKeys that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_keys#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 DataDigitaloceanSshKeys to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanSshKeys.typescript.md b/docs/dataDigitaloceanSshKeys.typescript.md index 3f434fc18..7d0176b16 100644 --- a/docs/dataDigitaloceanSshKeys.typescript.md +++ b/docs/dataDigitaloceanSshKeys.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanSshKeys resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanSshKeys.DataDigitaloceanSshKeys.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanSshKeys } from '@cdktf/provider-digitalocean' + +dataDigitaloceanSshKeys.DataDigitaloceanSshKeys.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanSshKeys 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 DataDigitaloceanSshKeys to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanSshKeys that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_keys#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 DataDigitaloceanSshKeys to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTag.csharp.md b/docs/dataDigitaloceanTag.csharp.md index 1c3eb236a..0c885f0b6 100644 --- a/docs/dataDigitaloceanTag.csharp.md +++ b/docs/dataDigitaloceanTag.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 DataDigitaloceanTag resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ DataDigitaloceanTag.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanTag.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanTag 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 DataDigitaloceanTag to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanTag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanTag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTag.go.md b/docs/dataDigitaloceanTag.go.md index 88d146a82..d40bdac28 100644 --- a/docs/dataDigitaloceanTag.go.md +++ b/docs/dataDigitaloceanTag.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 DataDigitaloceanTag resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ datadigitaloceantag.DataDigitaloceanTag_IsTerraformDataSource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceantag" + +datadigitaloceantag.DataDigitaloceanTag_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanTag 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 DataDigitaloceanTag to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanTag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanTag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTag.java.md b/docs/dataDigitaloceanTag.java.md index 4c890f724..b8187668e 100644 --- a/docs/dataDigitaloceanTag.java.md +++ b/docs/dataDigitaloceanTag.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 DataDigitaloceanTag resource upon running "cdktf plan ". | --- @@ -413,6 +414,50 @@ DataDigitaloceanTag.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_tag.DataDigitaloceanTag; + +DataDigitaloceanTag.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanTag.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanTag 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 DataDigitaloceanTag to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanTag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanTag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTag.python.md b/docs/dataDigitaloceanTag.python.md index 2c9b74518..d24621e3a 100644 --- a/docs/dataDigitaloceanTag.python.md +++ b/docs/dataDigitaloceanTag.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 DataDigitaloceanTag resource upon running "cdktf plan ". | --- @@ -442,6 +443,55 @@ dataDigitaloceanTag.DataDigitaloceanTag.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_tag + +dataDigitaloceanTag.DataDigitaloceanTag.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanTag 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 DataDigitaloceanTag to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanTag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanTag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTag.typescript.md b/docs/dataDigitaloceanTag.typescript.md index 93c9620e0..936d84adb 100644 --- a/docs/dataDigitaloceanTag.typescript.md +++ b/docs/dataDigitaloceanTag.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 DataDigitaloceanTag resource upon running "cdktf plan ". | --- @@ -334,6 +335,50 @@ dataDigitaloceanTag.DataDigitaloceanTag.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanTag } from '@cdktf/provider-digitalocean' + +dataDigitaloceanTag.DataDigitaloceanTag.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanTag 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 DataDigitaloceanTag to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanTag that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanTag to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTags.csharp.md b/docs/dataDigitaloceanTags.csharp.md index ed9730f0d..7025d0b09 100644 --- a/docs/dataDigitaloceanTags.csharp.md +++ b/docs/dataDigitaloceanTags.csharp.md @@ -311,6 +311,7 @@ private void ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanTags resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ DataDigitaloceanTags.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanTags.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanTags 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 DataDigitaloceanTags to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanTags that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tags#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 DataDigitaloceanTags to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTags.go.md b/docs/dataDigitaloceanTags.go.md index 783922b68..aa07c5974 100644 --- a/docs/dataDigitaloceanTags.go.md +++ b/docs/dataDigitaloceanTags.go.md @@ -311,6 +311,7 @@ func ResetSort() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanTags resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ datadigitaloceantags.DataDigitaloceanTags_IsTerraformDataSource(x interface{}) * --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceantags" + +datadigitaloceantags.DataDigitaloceanTags_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanTags 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 DataDigitaloceanTags to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanTags that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tags#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 DataDigitaloceanTags to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTags.java.md b/docs/dataDigitaloceanTags.java.md index 49f14812a..d854c6072 100644 --- a/docs/dataDigitaloceanTags.java.md +++ b/docs/dataDigitaloceanTags.java.md @@ -404,6 +404,7 @@ public void resetSort() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanTags resource upon running "cdktf plan ". | --- @@ -467,6 +468,50 @@ DataDigitaloceanTags.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_tags.DataDigitaloceanTags; + +DataDigitaloceanTags.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanTags.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanTags 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 DataDigitaloceanTags to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanTags that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tags#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 DataDigitaloceanTags to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTags.python.md b/docs/dataDigitaloceanTags.python.md index 38670cf14..41e54ac66 100644 --- a/docs/dataDigitaloceanTags.python.md +++ b/docs/dataDigitaloceanTags.python.md @@ -429,6 +429,7 @@ def reset_sort() -> 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 DataDigitaloceanTags resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanTags.DataDigitaloceanTags.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_tags + +dataDigitaloceanTags.DataDigitaloceanTags.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanTags 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 DataDigitaloceanTags to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanTags that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tags#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 DataDigitaloceanTags to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanTags.typescript.md b/docs/dataDigitaloceanTags.typescript.md index 95752ab50..8809b774c 100644 --- a/docs/dataDigitaloceanTags.typescript.md +++ b/docs/dataDigitaloceanTags.typescript.md @@ -311,6 +311,7 @@ public resetSort(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanTags resource upon running "cdktf plan ". | --- @@ -374,6 +375,50 @@ dataDigitaloceanTags.DataDigitaloceanTags.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanTags } from '@cdktf/provider-digitalocean' + +dataDigitaloceanTags.DataDigitaloceanTags.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanTags 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 DataDigitaloceanTags to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanTags that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tags#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 DataDigitaloceanTags to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolume.csharp.md b/docs/dataDigitaloceanVolume.csharp.md index d6205eba5..7ba6ab029 100644 --- a/docs/dataDigitaloceanVolume.csharp.md +++ b/docs/dataDigitaloceanVolume.csharp.md @@ -285,6 +285,7 @@ private void ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolume resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ DataDigitaloceanVolume.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanVolume.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanVolume 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 DataDigitaloceanVolume to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanVolume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanVolume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolume.go.md b/docs/dataDigitaloceanVolume.go.md index 72964307d..b9ce3bdc0 100644 --- a/docs/dataDigitaloceanVolume.go.md +++ b/docs/dataDigitaloceanVolume.go.md @@ -285,6 +285,7 @@ func ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolume resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ datadigitaloceanvolume.DataDigitaloceanVolume_IsTerraformDataSource(x interface{ --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanvolume" + +datadigitaloceanvolume.DataDigitaloceanVolume_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanVolume 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 DataDigitaloceanVolume to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanVolume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanVolume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolume.java.md b/docs/dataDigitaloceanVolume.java.md index 34ec24657..2b9b9d19a 100644 --- a/docs/dataDigitaloceanVolume.java.md +++ b/docs/dataDigitaloceanVolume.java.md @@ -388,6 +388,7 @@ public void resetRegion() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolume resource upon running "cdktf plan ". | --- @@ -451,6 +452,50 @@ DataDigitaloceanVolume.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_volume.DataDigitaloceanVolume; + +DataDigitaloceanVolume.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanVolume.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanVolume 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 DataDigitaloceanVolume to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanVolume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanVolume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolume.python.md b/docs/dataDigitaloceanVolume.python.md index d3edae026..4ba63c9d1 100644 --- a/docs/dataDigitaloceanVolume.python.md +++ b/docs/dataDigitaloceanVolume.python.md @@ -411,6 +411,7 @@ def reset_region() -> 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 DataDigitaloceanVolume resource upon running "cdktf plan ". | --- @@ -480,6 +481,55 @@ dataDigitaloceanVolume.DataDigitaloceanVolume.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_volume + +dataDigitaloceanVolume.DataDigitaloceanVolume.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanVolume 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 DataDigitaloceanVolume to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanVolume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanVolume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolume.typescript.md b/docs/dataDigitaloceanVolume.typescript.md index ac5901280..d87ace584 100644 --- a/docs/dataDigitaloceanVolume.typescript.md +++ b/docs/dataDigitaloceanVolume.typescript.md @@ -285,6 +285,7 @@ public resetRegion(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolume resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ dataDigitaloceanVolume.DataDigitaloceanVolume.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanVolume } from '@cdktf/provider-digitalocean' + +dataDigitaloceanVolume.DataDigitaloceanVolume.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanVolume 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 DataDigitaloceanVolume to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanVolume that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/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 DataDigitaloceanVolume to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolumeSnapshot.csharp.md b/docs/dataDigitaloceanVolumeSnapshot.csharp.md index 67316a80b..48ffd275f 100644 --- a/docs/dataDigitaloceanVolumeSnapshot.csharp.md +++ b/docs/dataDigitaloceanVolumeSnapshot.csharp.md @@ -299,6 +299,7 @@ private void ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ DataDigitaloceanVolumeSnapshot.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanVolumeSnapshot.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot 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 DataDigitaloceanVolumeSnapshot to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanVolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanVolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolumeSnapshot.go.md b/docs/dataDigitaloceanVolumeSnapshot.go.md index 961f4bfbc..3e2032984 100644 --- a/docs/dataDigitaloceanVolumeSnapshot.go.md +++ b/docs/dataDigitaloceanVolumeSnapshot.go.md @@ -299,6 +299,7 @@ func ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ datadigitaloceanvolumesnapshot.DataDigitaloceanVolumeSnapshot_IsTerraformDataSou --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanvolumesnapshot" + +datadigitaloceanvolumesnapshot.DataDigitaloceanVolumeSnapshot_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot 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 DataDigitaloceanVolumeSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanVolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanVolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolumeSnapshot.java.md b/docs/dataDigitaloceanVolumeSnapshot.java.md index b372d0391..f0d15d2ae 100644 --- a/docs/dataDigitaloceanVolumeSnapshot.java.md +++ b/docs/dataDigitaloceanVolumeSnapshot.java.md @@ -407,6 +407,7 @@ public void resetRegion() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot resource upon running "cdktf plan ". | --- @@ -470,6 +471,50 @@ DataDigitaloceanVolumeSnapshot.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_volume_snapshot.DataDigitaloceanVolumeSnapshot; + +DataDigitaloceanVolumeSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanVolumeSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot 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 DataDigitaloceanVolumeSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanVolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanVolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolumeSnapshot.python.md b/docs/dataDigitaloceanVolumeSnapshot.python.md index c07b8231a..f47f37900 100644 --- a/docs/dataDigitaloceanVolumeSnapshot.python.md +++ b/docs/dataDigitaloceanVolumeSnapshot.python.md @@ -429,6 +429,7 @@ def reset_region() -> 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 DataDigitaloceanVolumeSnapshot resource upon running "cdktf plan ". | --- @@ -498,6 +499,55 @@ dataDigitaloceanVolumeSnapshot.DataDigitaloceanVolumeSnapshot.is_terraform_data_ --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_volume_snapshot + +dataDigitaloceanVolumeSnapshot.DataDigitaloceanVolumeSnapshot.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot 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 DataDigitaloceanVolumeSnapshot to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanVolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanVolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVolumeSnapshot.typescript.md b/docs/dataDigitaloceanVolumeSnapshot.typescript.md index a2e902a4b..cdead7ce3 100644 --- a/docs/dataDigitaloceanVolumeSnapshot.typescript.md +++ b/docs/dataDigitaloceanVolumeSnapshot.typescript.md @@ -299,6 +299,7 @@ public resetRegion(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot resource upon running "cdktf plan ". | --- @@ -362,6 +363,50 @@ dataDigitaloceanVolumeSnapshot.DataDigitaloceanVolumeSnapshot.isTerraformDataSou --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanVolumeSnapshot } from '@cdktf/provider-digitalocean' + +dataDigitaloceanVolumeSnapshot.DataDigitaloceanVolumeSnapshot.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot 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 DataDigitaloceanVolumeSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanVolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DataDigitaloceanVolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVpc.csharp.md b/docs/dataDigitaloceanVpc.csharp.md index c1ed45e6c..d22b6f773 100644 --- a/docs/dataDigitaloceanVpc.csharp.md +++ b/docs/dataDigitaloceanVpc.csharp.md @@ -285,6 +285,7 @@ private void ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVpc resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ DataDigitaloceanVpc.IsTerraformDataSource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DataDigitaloceanVpc.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DataDigitaloceanVpc 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 DataDigitaloceanVpc to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanVpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/vpc#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 DataDigitaloceanVpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVpc.go.md b/docs/dataDigitaloceanVpc.go.md index 4f9b72c1b..1968419d7 100644 --- a/docs/dataDigitaloceanVpc.go.md +++ b/docs/dataDigitaloceanVpc.go.md @@ -285,6 +285,7 @@ func ResetRegion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformDataSource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVpc resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ datadigitaloceanvpc.DataDigitaloceanVpc_IsTerraformDataSource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/datadigitaloceanvpc" + +datadigitaloceanvpc.DataDigitaloceanVpc_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DataDigitaloceanVpc 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 DataDigitaloceanVpc to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DataDigitaloceanVpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/vpc#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 DataDigitaloceanVpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVpc.java.md b/docs/dataDigitaloceanVpc.java.md index 17b448c66..05f9befba 100644 --- a/docs/dataDigitaloceanVpc.java.md +++ b/docs/dataDigitaloceanVpc.java.md @@ -372,6 +372,7 @@ public void resetRegion() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVpc resource upon running "cdktf plan ". | --- @@ -435,6 +436,50 @@ DataDigitaloceanVpc.isTerraformDataSource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.data_digitalocean_vpc.DataDigitaloceanVpc; + +DataDigitaloceanVpc.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DataDigitaloceanVpc.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DataDigitaloceanVpc 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 DataDigitaloceanVpc to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DataDigitaloceanVpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/vpc#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 DataDigitaloceanVpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVpc.python.md b/docs/dataDigitaloceanVpc.python.md index 959c39bf8..894f736c7 100644 --- a/docs/dataDigitaloceanVpc.python.md +++ b/docs/dataDigitaloceanVpc.python.md @@ -395,6 +395,7 @@ def reset_region() -> 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 DataDigitaloceanVpc resource upon running "cdktf plan ". | --- @@ -464,6 +465,55 @@ dataDigitaloceanVpc.DataDigitaloceanVpc.is_terraform_data_source( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import data_digitalocean_vpc + +dataDigitaloceanVpc.DataDigitaloceanVpc.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DataDigitaloceanVpc 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 DataDigitaloceanVpc to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DataDigitaloceanVpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/vpc#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 DataDigitaloceanVpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dataDigitaloceanVpc.typescript.md b/docs/dataDigitaloceanVpc.typescript.md index 3d6face4a..1538d5960 100644 --- a/docs/dataDigitaloceanVpc.typescript.md +++ b/docs/dataDigitaloceanVpc.typescript.md @@ -285,6 +285,7 @@ public resetRegion(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformDataSource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DataDigitaloceanVpc resource upon running "cdktf plan ". | --- @@ -348,6 +349,50 @@ dataDigitaloceanVpc.DataDigitaloceanVpc.isTerraformDataSource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dataDigitaloceanVpc } from '@cdktf/provider-digitalocean' + +dataDigitaloceanVpc.DataDigitaloceanVpc.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DataDigitaloceanVpc 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 DataDigitaloceanVpc to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DataDigitaloceanVpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/vpc#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 DataDigitaloceanVpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseCluster.csharp.md b/docs/databaseCluster.csharp.md index 8731ff53b..b9e36c5b1 100644 --- a/docs/databaseCluster.csharp.md +++ b/docs/databaseCluster.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. | | PutBackupRestore | *No description.* | | PutMaintenanceWindow | *No description.* | | PutTimeouts | *No description.* | @@ -150,6 +153,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -258,6 +277,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -270,6 +307,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutBackupRestore` ```csharp @@ -373,6 +434,7 @@ private void ResetVersion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseCluster resource upon running "cdktf plan ". | --- @@ -436,6 +498,50 @@ DatabaseCluster.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DatabaseCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DatabaseCluster 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 DatabaseCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseCluster.go.md b/docs/databaseCluster.go.md index e18a46e36..b251074c6 100644 --- a/docs/databaseCluster.go.md +++ b/docs/databaseCluster.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. | | PutBackupRestore | *No description.* | | PutMaintenanceWindow | *No description.* | | PutTimeouts | *No description.* | @@ -150,6 +153,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -258,6 +277,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -270,6 +307,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutBackupRestore` ```go @@ -373,6 +434,7 @@ func ResetVersion() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseCluster resource upon running "cdktf plan ". | --- @@ -436,6 +498,50 @@ databasecluster.DatabaseCluster_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/databasecluster" + +databasecluster.DatabaseCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DatabaseCluster 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 DatabaseCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseCluster.java.md b/docs/databaseCluster.java.md index b81f6cbd0..33f8cf80a 100644 --- a/docs/databaseCluster.java.md +++ b/docs/databaseCluster.java.md @@ -274,6 +274,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -283,7 +284,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putBackupRestore | *No description.* | | putMaintenanceWindow | *No description.* | | putTimeouts | *No description.* | @@ -364,6 +367,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 @@ -472,6 +491,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 @@ -484,6 +522,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. + +--- + ##### `putBackupRestore` ```java @@ -587,6 +650,7 @@ public void resetVersion() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseCluster resource upon running "cdktf plan ". | --- @@ -650,6 +714,50 @@ DatabaseCluster.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.database_cluster.DatabaseCluster; + +DatabaseCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DatabaseCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DatabaseCluster 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 DatabaseCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseCluster.python.md b/docs/databaseCluster.python.md index cc027f9d5..e47491e89 100644 --- a/docs/databaseCluster.python.md +++ b/docs/databaseCluster.python.md @@ -271,6 +271,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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/digit | 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_backup_restore | *No description.* | | put_maintenance_window | *No description.* | | put_timeouts | *No description.* | @@ -366,6 +369,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 @@ -492,6 +513,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 @@ -506,6 +548,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_backup_restore` ```python @@ -628,6 +697,7 @@ def reset_version() -> 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 DatabaseCluster resource upon running "cdktf plan ". | --- @@ -697,6 +767,55 @@ databaseCluster.DatabaseCluster.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import database_cluster + +databaseCluster.DatabaseCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DatabaseCluster 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 DatabaseCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseCluster.typescript.md b/docs/databaseCluster.typescript.md index ecf45f84a..cbeb31c8b 100644 --- a/docs/databaseCluster.typescript.md +++ b/docs/databaseCluster.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. | | putBackupRestore | *No description.* | | putMaintenanceWindow | *No description.* | | putTimeouts | *No description.* | @@ -150,6 +153,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -258,6 +277,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -270,6 +307,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putBackupRestore` ```typescript @@ -373,6 +434,7 @@ public resetVersion(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseCluster resource upon running "cdktf plan ". | --- @@ -436,6 +498,50 @@ databaseCluster.DatabaseCluster.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { databaseCluster } from '@cdktf/provider-digitalocean' + +databaseCluster.DatabaseCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DatabaseCluster 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 DatabaseCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DatabaseCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DatabaseCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseConnectionPool.csharp.md b/docs/databaseConnectionPool.csharp.md index 8cfff59e7..bab24389c 100644 --- a/docs/databaseConnectionPool.csharp.md +++ b/docs/databaseConnectionPool.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.* | | ResetUser | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ private void ResetUser() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseConnectionPool resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ DatabaseConnectionPool.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DatabaseConnectionPool.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DatabaseConnectionPool 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 DatabaseConnectionPool to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DatabaseConnectionPool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_connection_pool#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 DatabaseConnectionPool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseConnectionPool.go.md b/docs/databaseConnectionPool.go.md index 03693b032..6394d9b87 100644 --- a/docs/databaseConnectionPool.go.md +++ b/docs/databaseConnectionPool.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.* | | ResetUser | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ func ResetUser() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseConnectionPool resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ databaseconnectionpool.DatabaseConnectionPool_IsTerraformResource(x interface{}) --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/databaseconnectionpool" + +databaseconnectionpool.DatabaseConnectionPool_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DatabaseConnectionPool 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 DatabaseConnectionPool to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DatabaseConnectionPool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_connection_pool#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 DatabaseConnectionPool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseConnectionPool.java.md b/docs/databaseConnectionPool.java.md index 48f9d85c0..a09569786 100644 --- a/docs/databaseConnectionPool.java.md +++ b/docs/databaseConnectionPool.java.md @@ -187,6 +187,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -196,7 +197,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | | resetUser | *No description.* | @@ -266,6 +269,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 @@ -374,6 +393,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 @@ -386,6 +424,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 @@ -405,6 +468,7 @@ public void resetUser() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseConnectionPool resource upon running "cdktf plan ". | --- @@ -468,6 +532,50 @@ DatabaseConnectionPool.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.database_connection_pool.DatabaseConnectionPool; + +DatabaseConnectionPool.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DatabaseConnectionPool.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DatabaseConnectionPool 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 DatabaseConnectionPool to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DatabaseConnectionPool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_connection_pool#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 DatabaseConnectionPool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseConnectionPool.python.md b/docs/databaseConnectionPool.python.md index 055cbe047..149b180b4 100644 --- a/docs/databaseConnectionPool.python.md +++ b/docs/databaseConnectionPool.python.md @@ -185,6 +185,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -194,7 +195,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_user | *No description.* | @@ -269,6 +272,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 @@ -395,6 +416,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 @@ -409,6 +451,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 @@ -428,6 +497,7 @@ def reset_user() -> 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 DatabaseConnectionPool resource upon running "cdktf plan ". | --- @@ -497,6 +567,55 @@ databaseConnectionPool.DatabaseConnectionPool.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import database_connection_pool + +databaseConnectionPool.DatabaseConnectionPool.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DatabaseConnectionPool 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 DatabaseConnectionPool to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DatabaseConnectionPool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_connection_pool#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 DatabaseConnectionPool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseConnectionPool.typescript.md b/docs/databaseConnectionPool.typescript.md index d283b21da..67da0c65e 100644 --- a/docs/databaseConnectionPool.typescript.md +++ b/docs/databaseConnectionPool.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.* | | resetUser | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ public resetUser(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseConnectionPool resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ databaseConnectionPool.DatabaseConnectionPool.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { databaseConnectionPool } from '@cdktf/provider-digitalocean' + +databaseConnectionPool.DatabaseConnectionPool.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DatabaseConnectionPool 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 DatabaseConnectionPool to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DatabaseConnectionPool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_connection_pool#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 DatabaseConnectionPool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseDb.csharp.md b/docs/databaseDb.csharp.md index a08ffdce5..747e7180d 100644 --- a/docs/databaseDb.csharp.md +++ b/docs/databaseDb.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 DatabaseDb resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ DatabaseDb.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DatabaseDb.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DatabaseDb 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 DatabaseDb to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DatabaseDb that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_db#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 DatabaseDb to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseDb.go.md b/docs/databaseDb.go.md index ca2fde40e..54b7188be 100644 --- a/docs/databaseDb.go.md +++ b/docs/databaseDb.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 DatabaseDb resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ databasedb.DatabaseDb_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/databasedb" + +databasedb.DatabaseDb_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DatabaseDb 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 DatabaseDb to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DatabaseDb that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_db#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 DatabaseDb to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseDb.java.md b/docs/databaseDb.java.md index c12479a19..ce4cb2aa0 100644 --- a/docs/databaseDb.java.md +++ b/docs/databaseDb.java.md @@ -147,6 +147,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.* | @@ -156,7 +157,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.* | --- @@ -225,6 +228,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 @@ -333,6 +352,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 @@ -345,6 +383,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 @@ -358,6 +421,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseDb resource upon running "cdktf plan ". | --- @@ -421,6 +485,50 @@ DatabaseDb.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.database_db.DatabaseDb; + +DatabaseDb.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DatabaseDb.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DatabaseDb 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 DatabaseDb to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DatabaseDb that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_db#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 DatabaseDb to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseDb.python.md b/docs/databaseDb.python.md index 862c268b0..bec78b48f 100644 --- a/docs/databaseDb.python.md +++ b/docs/databaseDb.python.md @@ -145,6 +145,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.* | @@ -154,7 +155,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.* | --- @@ -228,6 +231,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 @@ -354,6 +375,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 @@ -368,6 +410,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 @@ -381,6 +450,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 DatabaseDb resource upon running "cdktf plan ". | --- @@ -450,6 +520,55 @@ databaseDb.DatabaseDb.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import database_db + +databaseDb.DatabaseDb.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DatabaseDb 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 DatabaseDb to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DatabaseDb that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_db#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 DatabaseDb to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseDb.typescript.md b/docs/databaseDb.typescript.md index ed8594c8d..12bfa2bc0 100644 --- a/docs/databaseDb.typescript.md +++ b/docs/databaseDb.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 DatabaseDb resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ databaseDb.DatabaseDb.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { databaseDb } from '@cdktf/provider-digitalocean' + +databaseDb.DatabaseDb.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DatabaseDb 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 DatabaseDb to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DatabaseDb that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_db#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 DatabaseDb to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseFirewall.csharp.md b/docs/databaseFirewall.csharp.md index f934ff7e6..f299c4c66 100644 --- a/docs/databaseFirewall.csharp.md +++ b/docs/databaseFirewall.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. | | PutRule | *No description.* | | ResetId | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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. + +--- + ##### `PutRule` ```csharp @@ -284,6 +345,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseFirewall resource upon running "cdktf plan ". | --- @@ -347,6 +409,50 @@ DatabaseFirewall.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DatabaseFirewall.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DatabaseFirewall 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 DatabaseFirewall to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DatabaseFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_firewall#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 DatabaseFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseFirewall.go.md b/docs/databaseFirewall.go.md index 40934dbff..8bdbf8c52 100644 --- a/docs/databaseFirewall.go.md +++ b/docs/databaseFirewall.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. | | PutRule | *No description.* | | ResetId | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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. + +--- + ##### `PutRule` ```go @@ -284,6 +345,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseFirewall resource upon running "cdktf plan ". | --- @@ -347,6 +409,50 @@ databasefirewall.DatabaseFirewall_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/databasefirewall" + +databasefirewall.DatabaseFirewall_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DatabaseFirewall 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 DatabaseFirewall to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DatabaseFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_firewall#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 DatabaseFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseFirewall.java.md b/docs/databaseFirewall.java.md index 4a5f804bf..d01d6e9ca 100644 --- a/docs/databaseFirewall.java.md +++ b/docs/databaseFirewall.java.md @@ -150,6 +150,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.* | @@ -159,7 +160,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. | | putRule | *No description.* | | 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. + +--- + ##### `putRule` ```java @@ -374,6 +437,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseFirewall resource upon running "cdktf plan ". | --- @@ -437,6 +501,50 @@ DatabaseFirewall.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.database_firewall.DatabaseFirewall; + +DatabaseFirewall.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DatabaseFirewall.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DatabaseFirewall 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 DatabaseFirewall to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DatabaseFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_firewall#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 DatabaseFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseFirewall.python.md b/docs/databaseFirewall.python.md index 529b9e791..ea6bb3449 100644 --- a/docs/databaseFirewall.python.md +++ b/docs/databaseFirewall.python.md @@ -147,6 +147,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.* | @@ -156,7 +157,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_rule | *No description.* | | reset_id | *No description.* | @@ -231,6 +234,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 @@ -357,6 +378,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 @@ -371,6 +413,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_rule` ```python @@ -398,6 +467,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 DatabaseFirewall resource upon running "cdktf plan ". | --- @@ -467,6 +537,55 @@ databaseFirewall.DatabaseFirewall.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import database_firewall + +databaseFirewall.DatabaseFirewall.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DatabaseFirewall 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 DatabaseFirewall to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DatabaseFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_firewall#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 DatabaseFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseFirewall.typescript.md b/docs/databaseFirewall.typescript.md index c269ad4c7..10e01c9a8 100644 --- a/docs/databaseFirewall.typescript.md +++ b/docs/databaseFirewall.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. | | putRule | *No description.* | | resetId | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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. + +--- + ##### `putRule` ```typescript @@ -284,6 +345,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseFirewall resource upon running "cdktf plan ". | --- @@ -347,6 +409,50 @@ databaseFirewall.DatabaseFirewall.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { databaseFirewall } from '@cdktf/provider-digitalocean' + +databaseFirewall.DatabaseFirewall.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DatabaseFirewall 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 DatabaseFirewall to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DatabaseFirewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_firewall#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 DatabaseFirewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseReplica.csharp.md b/docs/databaseReplica.csharp.md index 9ef08306d..1636330d0 100644 --- a/docs/databaseReplica.csharp.md +++ b/docs/databaseReplica.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.* | | ResetPrivateNetworkUuid | *No description.* | | ResetRegion | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetId` ```csharp @@ -299,6 +360,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseReplica resource upon running "cdktf plan ". | --- @@ -362,6 +424,50 @@ DatabaseReplica.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DatabaseReplica.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DatabaseReplica 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 DatabaseReplica to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_replica#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 DatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseReplica.go.md b/docs/databaseReplica.go.md index db6888d14..653a12a54 100644 --- a/docs/databaseReplica.go.md +++ b/docs/databaseReplica.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.* | | ResetPrivateNetworkUuid | *No description.* | | ResetRegion | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `ResetId` ```go @@ -299,6 +360,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseReplica resource upon running "cdktf plan ". | --- @@ -362,6 +424,50 @@ databasereplica.DatabaseReplica_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/databasereplica" + +databasereplica.DatabaseReplica_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DatabaseReplica 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 DatabaseReplica to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_replica#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 DatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseReplica.java.md b/docs/databaseReplica.java.md index 56303ee15..096b8ac5f 100644 --- a/docs/databaseReplica.java.md +++ b/docs/databaseReplica.java.md @@ -187,6 +187,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -196,7 +197,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | | resetPrivateNetworkUuid | *No description.* | | resetRegion | *No description.* | @@ -269,6 +272,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 @@ -377,6 +396,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 @@ -389,6 +427,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 @@ -426,6 +489,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseReplica resource upon running "cdktf plan ". | --- @@ -489,6 +553,50 @@ DatabaseReplica.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.database_replica.DatabaseReplica; + +DatabaseReplica.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DatabaseReplica.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DatabaseReplica 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 DatabaseReplica to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_replica#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 DatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseReplica.python.md b/docs/databaseReplica.python.md index ab91828b3..0e6d9906b 100644 --- a/docs/databaseReplica.python.md +++ b/docs/databaseReplica.python.md @@ -185,6 +185,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -194,7 +195,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_private_network_uuid | *No description.* | | reset_region | *No description.* | @@ -272,6 +275,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 @@ -398,6 +419,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 @@ -412,6 +454,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 @@ -449,6 +518,7 @@ def reset_tags() -> 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 DatabaseReplica resource upon running "cdktf plan ". | --- @@ -518,6 +588,55 @@ databaseReplica.DatabaseReplica.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import database_replica + +databaseReplica.DatabaseReplica.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DatabaseReplica 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 DatabaseReplica to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_replica#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 DatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseReplica.typescript.md b/docs/databaseReplica.typescript.md index 91371e8b3..9aaff48a9 100644 --- a/docs/databaseReplica.typescript.md +++ b/docs/databaseReplica.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.* | | resetPrivateNetworkUuid | *No description.* | | resetRegion | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetId` ```typescript @@ -299,6 +360,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseReplica resource upon running "cdktf plan ". | --- @@ -362,6 +424,50 @@ databaseReplica.DatabaseReplica.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { databaseReplica } from '@cdktf/provider-digitalocean' + +databaseReplica.DatabaseReplica.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DatabaseReplica 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 DatabaseReplica to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DatabaseReplica that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_replica#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 DatabaseReplica to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseUser.csharp.md b/docs/databaseUser.csharp.md index 8290ac29b..b3d7f3fde 100644 --- a/docs/databaseUser.csharp.md +++ b/docs/databaseUser.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.* | | ResetMysqlAuthPlugin | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ private void ResetMysqlAuthPlugin() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseUser resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ DatabaseUser.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DatabaseUser.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DatabaseUser 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 DatabaseUser to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_user#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 DatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseUser.go.md b/docs/databaseUser.go.md index 3f1ae0033..7c3cd75a9 100644 --- a/docs/databaseUser.go.md +++ b/docs/databaseUser.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.* | | ResetMysqlAuthPlugin | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ func ResetMysqlAuthPlugin() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DatabaseUser resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ databaseuser.DatabaseUser_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/databaseuser" + +databaseuser.DatabaseUser_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DatabaseUser 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 DatabaseUser to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_user#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 DatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseUser.java.md b/docs/databaseUser.java.md index 977542397..4aef5124d 100644 --- a/docs/databaseUser.java.md +++ b/docs/databaseUser.java.md @@ -157,6 +157,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -166,7 +167,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | | resetMysqlAuthPlugin | *No description.* | @@ -236,6 +239,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 @@ -344,6 +363,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 @@ -356,6 +394,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 @@ -375,6 +438,7 @@ public void resetMysqlAuthPlugin() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseUser resource upon running "cdktf plan ". | --- @@ -438,6 +502,50 @@ DatabaseUser.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.database_user.DatabaseUser; + +DatabaseUser.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DatabaseUser.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DatabaseUser 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 DatabaseUser to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_user#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 DatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseUser.python.md b/docs/databaseUser.python.md index 4456f1ebb..d3c2a1d54 100644 --- a/docs/databaseUser.python.md +++ b/docs/databaseUser.python.md @@ -155,6 +155,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -164,7 +165,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_mysql_auth_plugin | *No description.* | @@ -239,6 +242,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 @@ -365,6 +386,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 @@ -379,6 +421,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 @@ -398,6 +467,7 @@ def reset_mysql_auth_plugin() -> 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 DatabaseUser resource upon running "cdktf plan ". | --- @@ -467,6 +537,55 @@ databaseUser.DatabaseUser.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import database_user + +databaseUser.DatabaseUser.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DatabaseUser 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 DatabaseUser to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_user#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 DatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/databaseUser.typescript.md b/docs/databaseUser.typescript.md index bc891a1ec..0b94c4868 100644 --- a/docs/databaseUser.typescript.md +++ b/docs/databaseUser.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.* | | resetMysqlAuthPlugin | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ public resetMysqlAuthPlugin(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DatabaseUser resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ databaseUser.DatabaseUser.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { databaseUser } from '@cdktf/provider-digitalocean' + +databaseUser.DatabaseUser.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DatabaseUser 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 DatabaseUser to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DatabaseUser that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_user#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 DatabaseUser to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/domain.csharp.md b/docs/domain.csharp.md index 66cc2141f..6396e0c4f 100644 --- a/docs/domain.csharp.md +++ b/docs/domain.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.* | | ResetIpAddress | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ private void ResetIpAddress() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Domain resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ Domain.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Domain.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Domain 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 Domain to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Domain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/domain#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 Domain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/domain.go.md b/docs/domain.go.md index c9d19cc04..fe19082ed 100644 --- a/docs/domain.go.md +++ b/docs/domain.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.* | | ResetIpAddress | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ func ResetIpAddress() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Domain resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ domain.Domain_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/domain" + +domain.Domain_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Domain 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 Domain to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Domain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/domain#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 Domain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/domain.java.md b/docs/domain.java.md index d1b0a4f38..c73b67da0 100644 --- a/docs/domain.java.md +++ b/docs/domain.java.md @@ -147,6 +147,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -156,7 +157,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | | resetIpAddress | *No description.* | @@ -226,6 +229,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 @@ -334,6 +353,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 @@ -346,6 +384,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 @@ -365,6 +428,7 @@ public void resetIpAddress() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Domain resource upon running "cdktf plan ". | --- @@ -428,6 +492,50 @@ Domain.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.domain.Domain; + +Domain.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Domain.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Domain 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 Domain to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Domain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/domain#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 Domain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/domain.python.md b/docs/domain.python.md index 576632c02..114a82d14 100644 --- a/docs/domain.python.md +++ b/docs/domain.python.md @@ -145,6 +145,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -154,7 +155,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_ip_address | *No description.* | @@ -229,6 +232,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 @@ -355,6 +376,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 @@ -369,6 +411,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 @@ -388,6 +457,7 @@ def reset_ip_address() -> 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 Domain resource upon running "cdktf plan ". | --- @@ -457,6 +527,55 @@ domain.Domain.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import domain + +domain.Domain.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Domain 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 Domain to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Domain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/domain#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 Domain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/domain.typescript.md b/docs/domain.typescript.md index e213c3a43..294c6bffa 100644 --- a/docs/domain.typescript.md +++ b/docs/domain.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.* | | resetIpAddress | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ public resetIpAddress(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Domain resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ domain.Domain.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { domain } from '@cdktf/provider-digitalocean' + +domain.Domain.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Domain 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 Domain to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Domain that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/domain#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 Domain to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/droplet.csharp.md b/docs/droplet.csharp.md index 7367f4900..c51f91598 100644 --- a/docs/droplet.csharp.md +++ b/docs/droplet.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetBackups | *No description.* | | ResetDropletAgent | *No description.* | @@ -154,6 +157,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 @@ -262,6 +281,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 @@ -274,6 +311,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -389,6 +450,7 @@ private void ResetVpcUuid() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Droplet resource upon running "cdktf plan ". | --- @@ -452,6 +514,50 @@ Droplet.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Droplet.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Droplet 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 Droplet to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Droplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet#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 Droplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/droplet.go.md b/docs/droplet.go.md index de66a9143..fc2b963f3 100644 --- a/docs/droplet.go.md +++ b/docs/droplet.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetBackups | *No description.* | | ResetDropletAgent | *No description.* | @@ -154,6 +157,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 @@ -262,6 +281,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 @@ -274,6 +311,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -389,6 +450,7 @@ func ResetVpcUuid() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Droplet resource upon running "cdktf plan ". | --- @@ -452,6 +514,50 @@ droplet.Droplet_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/droplet" + +droplet.Droplet_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Droplet 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 Droplet to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Droplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet#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 Droplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/droplet.java.md b/docs/droplet.java.md index 6e09716cd..6817197d1 100644 --- a/docs/droplet.java.md +++ b/docs/droplet.java.md @@ -316,6 +316,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -325,7 +326,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetBackups | *No description.* | | resetDropletAgent | *No description.* | @@ -410,6 +413,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 @@ -518,6 +537,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 @@ -530,6 +568,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -645,6 +708,7 @@ public void resetVpcUuid() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Droplet resource upon running "cdktf plan ". | --- @@ -708,6 +772,50 @@ Droplet.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.droplet.Droplet; + +Droplet.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Droplet.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Droplet 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 Droplet to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Droplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet#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 Droplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/droplet.python.md b/docs/droplet.python.md index 33c8894b0..4054866f3 100644 --- a/docs/droplet.python.md +++ b/docs/droplet.python.md @@ -307,6 +307,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -316,7 +317,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_backups | *No description.* | | reset_droplet_agent | *No description.* | @@ -406,6 +409,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 @@ -532,6 +553,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 @@ -546,6 +588,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -683,6 +752,7 @@ def reset_vpc_uuid() -> 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 Droplet resource upon running "cdktf plan ". | --- @@ -752,6 +822,55 @@ droplet.Droplet.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import droplet + +droplet.Droplet.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Droplet 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 Droplet to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Droplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet#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 Droplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/droplet.typescript.md b/docs/droplet.typescript.md index 5b7c1b094..b01d220e4 100644 --- a/docs/droplet.typescript.md +++ b/docs/droplet.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetBackups | *No description.* | | resetDropletAgent | *No description.* | @@ -154,6 +157,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 @@ -262,6 +281,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 @@ -274,6 +311,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -389,6 +450,7 @@ public resetVpcUuid(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Droplet resource upon running "cdktf plan ". | --- @@ -452,6 +514,50 @@ droplet.Droplet.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { droplet } from '@cdktf/provider-digitalocean' + +droplet.Droplet.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Droplet 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 Droplet to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Droplet that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet#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 Droplet to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dropletSnapshot.csharp.md b/docs/dropletSnapshot.csharp.md index f6c03ce47..145dddc8f 100644 --- a/docs/dropletSnapshot.csharp.md +++ b/docs/dropletSnapshot.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 DropletSnapshot resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ DropletSnapshot.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DropletSnapshot.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DropletSnapshot 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 DropletSnapshot to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dropletSnapshot.go.md b/docs/dropletSnapshot.go.md index b8f8a562f..aff86fa8c 100644 --- a/docs/dropletSnapshot.go.md +++ b/docs/dropletSnapshot.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 DropletSnapshot resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ dropletsnapshot.DropletSnapshot_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/dropletsnapshot" + +dropletsnapshot.DropletSnapshot_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DropletSnapshot 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 DropletSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dropletSnapshot.java.md b/docs/dropletSnapshot.java.md index d7633ac02..4467e23e8 100644 --- a/docs/dropletSnapshot.java.md +++ b/docs/dropletSnapshot.java.md @@ -147,6 +147,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.* | @@ -156,7 +157,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.* | --- @@ -225,6 +228,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 @@ -333,6 +352,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 @@ -345,6 +383,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 @@ -358,6 +421,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DropletSnapshot resource upon running "cdktf plan ". | --- @@ -421,6 +485,50 @@ DropletSnapshot.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.droplet_snapshot.DropletSnapshot; + +DropletSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DropletSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DropletSnapshot 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 DropletSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dropletSnapshot.python.md b/docs/dropletSnapshot.python.md index 7f4f07c31..11251995d 100644 --- a/docs/dropletSnapshot.python.md +++ b/docs/dropletSnapshot.python.md @@ -145,6 +145,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.* | @@ -154,7 +155,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.* | --- @@ -228,6 +231,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 @@ -354,6 +375,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 @@ -368,6 +410,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 @@ -381,6 +450,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 DropletSnapshot resource upon running "cdktf plan ". | --- @@ -450,6 +520,55 @@ dropletSnapshot.DropletSnapshot.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import droplet_snapshot + +dropletSnapshot.DropletSnapshot.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DropletSnapshot 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 DropletSnapshot to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/dropletSnapshot.typescript.md b/docs/dropletSnapshot.typescript.md index 129e66966..d6c8984dd 100644 --- a/docs/dropletSnapshot.typescript.md +++ b/docs/dropletSnapshot.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 DropletSnapshot resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ dropletSnapshot.DropletSnapshot.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { dropletSnapshot } from '@cdktf/provider-digitalocean' + +dropletSnapshot.DropletSnapshot.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DropletSnapshot 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 DropletSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DropletSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DropletSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/firewall.csharp.md b/docs/firewall.csharp.md index 4eda69a98..986201430 100644 --- a/docs/firewall.csharp.md +++ b/docs/firewall.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. | | PutInboundRule | *No description.* | | PutOutboundRule | *No description.* | | ResetDropletIds | *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. + +--- + ##### `PutInboundRule` ```csharp @@ -325,6 +386,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Firewall resource upon running "cdktf plan ". | --- @@ -388,6 +450,50 @@ Firewall.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Firewall.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Firewall 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 Firewall to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Firewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/firewall#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 Firewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/firewall.go.md b/docs/firewall.go.md index ec1b2e184..da349b0ae 100644 --- a/docs/firewall.go.md +++ b/docs/firewall.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. | | PutInboundRule | *No description.* | | PutOutboundRule | *No description.* | | ResetDropletIds | *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. + +--- + ##### `PutInboundRule` ```go @@ -325,6 +386,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Firewall resource upon running "cdktf plan ". | --- @@ -388,6 +450,50 @@ firewall.Firewall_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/firewall" + +firewall.Firewall_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Firewall 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 Firewall to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Firewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/firewall#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 Firewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/firewall.java.md b/docs/firewall.java.md index 998f1a71d..b8c612132 100644 --- a/docs/firewall.java.md +++ b/docs/firewall.java.md @@ -183,6 +183,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -192,7 +193,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putInboundRule | *No description.* | | putOutboundRule | *No description.* | | resetDropletIds | *No description.* | @@ -267,6 +270,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 @@ -375,6 +394,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 @@ -387,6 +425,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. + +--- + ##### `putInboundRule` ```java @@ -448,6 +511,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Firewall resource upon running "cdktf plan ". | --- @@ -511,6 +575,50 @@ Firewall.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.firewall.Firewall; + +Firewall.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Firewall.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Firewall 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 Firewall to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Firewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/firewall#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 Firewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/firewall.python.md b/docs/firewall.python.md index 8dae06158..0de1c14f7 100644 --- a/docs/firewall.python.md +++ b/docs/firewall.python.md @@ -179,6 +179,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -188,7 +189,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_inbound_rule | *No description.* | | put_outbound_rule | *No description.* | | reset_droplet_ids | *No description.* | @@ -268,6 +271,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 @@ -394,6 +415,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 @@ -408,6 +450,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_inbound_rule` ```python @@ -473,6 +542,7 @@ def reset_tags() -> 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 Firewall resource upon running "cdktf plan ". | --- @@ -542,6 +612,55 @@ firewall.Firewall.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import firewall + +firewall.Firewall.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Firewall 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 Firewall to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Firewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/firewall#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 Firewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/firewall.typescript.md b/docs/firewall.typescript.md index 843086f25..4c8f74759 100644 --- a/docs/firewall.typescript.md +++ b/docs/firewall.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. | | putInboundRule | *No description.* | | putOutboundRule | *No description.* | | resetDropletIds | *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. + +--- + ##### `putInboundRule` ```typescript @@ -325,6 +386,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Firewall resource upon running "cdktf plan ". | --- @@ -388,6 +450,50 @@ firewall.Firewall.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { firewall } from '@cdktf/provider-digitalocean' + +firewall.Firewall.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Firewall 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 Firewall to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Firewall that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/firewall#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 Firewall to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIp.csharp.md b/docs/floatingIp.csharp.md index ee67b47f8..25d00d860 100644 --- a/docs/floatingIp.csharp.md +++ b/docs/floatingIp.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. | | ResetDropletId | *No description.* | | ResetId | *No description.* | | ResetIpAddress | *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. + +--- + ##### `ResetDropletId` ```csharp @@ -285,6 +346,7 @@ private void ResetIpAddress() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a FloatingIp resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ FloatingIp.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +FloatingIp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a FloatingIp 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 FloatingIp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing FloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip#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 FloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIp.go.md b/docs/floatingIp.go.md index 50cb185bd..de4816b9b 100644 --- a/docs/floatingIp.go.md +++ b/docs/floatingIp.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. | | ResetDropletId | *No description.* | | ResetId | *No description.* | | ResetIpAddress | *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. + +--- + ##### `ResetDropletId` ```go @@ -285,6 +346,7 @@ func ResetIpAddress() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a FloatingIp resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ floatingip.FloatingIp_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/floatingip" + +floatingip.FloatingIp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a FloatingIp 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 FloatingIp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing FloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip#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 FloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIp.java.md b/docs/floatingIp.java.md index ed9c522e1..03d943768 100644 --- a/docs/floatingIp.java.md +++ b/docs/floatingIp.java.md @@ -157,6 +157,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -166,7 +167,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetDropletId | *No description.* | | resetId | *No description.* | | resetIpAddress | *No description.* | @@ -237,6 +240,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 @@ -345,6 +364,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 @@ -357,6 +395,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. + +--- + ##### `resetDropletId` ```java @@ -382,6 +445,7 @@ public void resetIpAddress() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a FloatingIp resource upon running "cdktf plan ". | --- @@ -445,6 +509,50 @@ FloatingIp.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.floating_ip.FloatingIp; + +FloatingIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),FloatingIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a FloatingIp 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 FloatingIp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing FloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip#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 FloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIp.python.md b/docs/floatingIp.python.md index cd0d93f3e..da2d09e65 100644 --- a/docs/floatingIp.python.md +++ b/docs/floatingIp.python.md @@ -155,6 +155,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -164,7 +165,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_droplet_id | *No description.* | | reset_id | *No description.* | | reset_ip_address | *No description.* | @@ -240,6 +243,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 @@ -366,6 +387,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 @@ -380,6 +422,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_droplet_id` ```python @@ -405,6 +474,7 @@ def reset_ip_address() -> 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 FloatingIp resource upon running "cdktf plan ". | --- @@ -474,6 +544,55 @@ floatingIp.FloatingIp.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import floating_ip + +floatingIp.FloatingIp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a FloatingIp 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 FloatingIp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing FloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip#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 FloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIp.typescript.md b/docs/floatingIp.typescript.md index bcdef83b3..d8469aa5b 100644 --- a/docs/floatingIp.typescript.md +++ b/docs/floatingIp.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. | | resetDropletId | *No description.* | | resetId | *No description.* | | resetIpAddress | *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. + +--- + ##### `resetDropletId` ```typescript @@ -285,6 +346,7 @@ public resetIpAddress(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a FloatingIp resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ floatingIp.FloatingIp.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { floatingIp } from '@cdktf/provider-digitalocean' + +floatingIp.FloatingIp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a FloatingIp 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 FloatingIp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing FloatingIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip#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 FloatingIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIpAssignment.csharp.md b/docs/floatingIpAssignment.csharp.md index 5d3363896..6880acb54 100644 --- a/docs/floatingIpAssignment.csharp.md +++ b/docs/floatingIpAssignment.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 FloatingIpAssignment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ FloatingIpAssignment.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +FloatingIpAssignment.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a FloatingIpAssignment 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 FloatingIpAssignment to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing FloatingIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the FloatingIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIpAssignment.go.md b/docs/floatingIpAssignment.go.md index 9ef69e60b..33407c849 100644 --- a/docs/floatingIpAssignment.go.md +++ b/docs/floatingIpAssignment.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 FloatingIpAssignment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ floatingipassignment.FloatingIpAssignment_IsTerraformResource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/floatingipassignment" + +floatingipassignment.FloatingIpAssignment_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a FloatingIpAssignment 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 FloatingIpAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing FloatingIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the FloatingIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIpAssignment.java.md b/docs/floatingIpAssignment.java.md index 2a8944724..e139cd9a7 100644 --- a/docs/floatingIpAssignment.java.md +++ b/docs/floatingIpAssignment.java.md @@ -147,6 +147,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.* | @@ -156,7 +157,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.* | --- @@ -225,6 +228,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 @@ -333,6 +352,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 @@ -345,6 +383,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 @@ -358,6 +421,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a FloatingIpAssignment resource upon running "cdktf plan ". | --- @@ -421,6 +485,50 @@ FloatingIpAssignment.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.floating_ip_assignment.FloatingIpAssignment; + +FloatingIpAssignment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),FloatingIpAssignment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a FloatingIpAssignment 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 FloatingIpAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing FloatingIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the FloatingIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIpAssignment.python.md b/docs/floatingIpAssignment.python.md index 8a2a045d4..fa3658bd6 100644 --- a/docs/floatingIpAssignment.python.md +++ b/docs/floatingIpAssignment.python.md @@ -145,6 +145,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.* | @@ -154,7 +155,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.* | --- @@ -228,6 +231,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 @@ -354,6 +375,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 @@ -368,6 +410,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 @@ -381,6 +450,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 FloatingIpAssignment resource upon running "cdktf plan ". | --- @@ -450,6 +520,55 @@ floatingIpAssignment.FloatingIpAssignment.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import floating_ip_assignment + +floatingIpAssignment.FloatingIpAssignment.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a FloatingIpAssignment 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 FloatingIpAssignment to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing FloatingIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the FloatingIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/floatingIpAssignment.typescript.md b/docs/floatingIpAssignment.typescript.md index 1b6a648d0..83d33f14e 100644 --- a/docs/floatingIpAssignment.typescript.md +++ b/docs/floatingIpAssignment.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 FloatingIpAssignment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ floatingIpAssignment.FloatingIpAssignment.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { floatingIpAssignment } from '@cdktf/provider-digitalocean' + +floatingIpAssignment.FloatingIpAssignment.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a FloatingIpAssignment 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 FloatingIpAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing FloatingIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the FloatingIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesCluster.csharp.md b/docs/kubernetesCluster.csharp.md index 17257d872..c220f5222 100644 --- a/docs/kubernetesCluster.csharp.md +++ b/docs/kubernetesCluster.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. | | PutMaintenancePolicy | *No description.* | | PutNodePool | *No description.* | | PutTimeouts | *No description.* | @@ -150,6 +153,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -258,6 +277,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -270,6 +307,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutMaintenancePolicy` ```csharp @@ -373,6 +434,7 @@ private void ResetVpcUuid() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a KubernetesCluster resource upon running "cdktf plan ". | --- @@ -436,6 +498,50 @@ KubernetesCluster.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +KubernetesCluster.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a KubernetesCluster 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 KubernetesCluster to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing KubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the KubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesCluster.go.md b/docs/kubernetesCluster.go.md index 4d6c26c83..d750ddc84 100644 --- a/docs/kubernetesCluster.go.md +++ b/docs/kubernetesCluster.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. | | PutMaintenancePolicy | *No description.* | | PutNodePool | *No description.* | | PutTimeouts | *No description.* | @@ -150,6 +153,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -258,6 +277,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -270,6 +307,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutMaintenancePolicy` ```go @@ -373,6 +434,7 @@ func ResetVpcUuid() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a KubernetesCluster resource upon running "cdktf plan ". | --- @@ -436,6 +498,50 @@ kubernetescluster.KubernetesCluster_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/kubernetescluster" + +kubernetescluster.KubernetesCluster_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a KubernetesCluster 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 KubernetesCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing KubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the KubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesCluster.java.md b/docs/kubernetesCluster.java.md index 9187cc5b9..bbfd40b39 100644 --- a/docs/kubernetesCluster.java.md +++ b/docs/kubernetesCluster.java.md @@ -268,6 +268,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -277,7 +278,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putMaintenancePolicy | *No description.* | | putNodePool | *No description.* | | putTimeouts | *No description.* | @@ -358,6 +361,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 @@ -466,6 +485,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 @@ -478,6 +516,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. + +--- + ##### `putMaintenancePolicy` ```java @@ -581,6 +644,7 @@ public void resetVpcUuid() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a KubernetesCluster resource upon running "cdktf plan ". | --- @@ -644,6 +708,50 @@ KubernetesCluster.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.kubernetes_cluster.KubernetesCluster; + +KubernetesCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),KubernetesCluster.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a KubernetesCluster 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 KubernetesCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing KubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the KubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesCluster.python.md b/docs/kubernetesCluster.python.md index dabd1f82a..04e7556f2 100644 --- a/docs/kubernetesCluster.python.md +++ b/docs/kubernetesCluster.python.md @@ -261,6 +261,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -270,7 +271,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_maintenance_policy | *No description.* | | put_node_pool | *No description.* | | put_timeouts | *No description.* | @@ -356,6 +359,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 @@ -482,6 +503,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 @@ -496,6 +538,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_maintenance_policy` ```python @@ -694,6 +763,7 @@ def reset_vpc_uuid() -> 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 KubernetesCluster resource upon running "cdktf plan ". | --- @@ -763,6 +833,55 @@ kubernetesCluster.KubernetesCluster.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import kubernetes_cluster + +kubernetesCluster.KubernetesCluster.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a KubernetesCluster 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 KubernetesCluster to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing KubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the KubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesCluster.typescript.md b/docs/kubernetesCluster.typescript.md index d19405c82..06a7dce1a 100644 --- a/docs/kubernetesCluster.typescript.md +++ b/docs/kubernetesCluster.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. | | putMaintenancePolicy | *No description.* | | putNodePool | *No description.* | | putTimeouts | *No description.* | @@ -150,6 +153,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -258,6 +277,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -270,6 +307,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putMaintenancePolicy` ```typescript @@ -373,6 +434,7 @@ public resetVpcUuid(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a KubernetesCluster resource upon running "cdktf plan ". | --- @@ -436,6 +498,50 @@ kubernetesCluster.KubernetesCluster.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { kubernetesCluster } from '@cdktf/provider-digitalocean' + +kubernetesCluster.KubernetesCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a KubernetesCluster 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 KubernetesCluster to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing KubernetesCluster that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the KubernetesCluster to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesNodePool.csharp.md b/docs/kubernetesNodePool.csharp.md index 40b66a477..15e3e6af0 100644 --- a/docs/kubernetesNodePool.csharp.md +++ b/docs/kubernetesNodePool.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. | | PutTaint | *No description.* | | PutTimeouts | *No description.* | | ResetAutoScale | *No description.* | @@ -148,6 +151,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 @@ -256,6 +275,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 @@ -268,6 +305,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. + +--- + ##### `PutTaint` ```csharp @@ -353,6 +414,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a KubernetesNodePool resource upon running "cdktf plan ". | --- @@ -416,6 +478,50 @@ KubernetesNodePool.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +KubernetesNodePool.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a KubernetesNodePool 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 KubernetesNodePool to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing KubernetesNodePool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_node_pool#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 KubernetesNodePool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesNodePool.go.md b/docs/kubernetesNodePool.go.md index 8837c6867..c99ed8509 100644 --- a/docs/kubernetesNodePool.go.md +++ b/docs/kubernetesNodePool.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. | | PutTaint | *No description.* | | PutTimeouts | *No description.* | | ResetAutoScale | *No description.* | @@ -148,6 +151,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 @@ -256,6 +275,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 @@ -268,6 +305,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. + +--- + ##### `PutTaint` ```go @@ -353,6 +414,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a KubernetesNodePool resource upon running "cdktf plan ". | --- @@ -416,6 +478,50 @@ kubernetesnodepool.KubernetesNodePool_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/kubernetesnodepool" + +kubernetesnodepool.KubernetesNodePool_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a KubernetesNodePool 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 KubernetesNodePool to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing KubernetesNodePool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_node_pool#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 KubernetesNodePool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesNodePool.java.md b/docs/kubernetesNodePool.java.md index 12859e47f..2716e592f 100644 --- a/docs/kubernetesNodePool.java.md +++ b/docs/kubernetesNodePool.java.md @@ -243,6 +243,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -252,7 +253,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putTaint | *No description.* | | putTimeouts | *No description.* | | resetAutoScale | *No description.* | @@ -331,6 +334,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 @@ -439,6 +458,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 @@ -451,6 +489,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. + +--- + ##### `putTaint` ```java @@ -536,6 +599,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a KubernetesNodePool resource upon running "cdktf plan ". | --- @@ -599,6 +663,50 @@ KubernetesNodePool.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.kubernetes_node_pool.KubernetesNodePool; + +KubernetesNodePool.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),KubernetesNodePool.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a KubernetesNodePool 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 KubernetesNodePool to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing KubernetesNodePool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_node_pool#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 KubernetesNodePool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesNodePool.python.md b/docs/kubernetesNodePool.python.md index 39d764f8b..2e8334e49 100644 --- a/docs/kubernetesNodePool.python.md +++ b/docs/kubernetesNodePool.python.md @@ -239,6 +239,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -248,7 +249,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_taint | *No description.* | | put_timeouts | *No description.* | | reset_auto_scale | *No description.* | @@ -332,6 +335,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 @@ -458,6 +479,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 @@ -472,6 +514,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_taint` ```python @@ -572,6 +641,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a KubernetesNodePool resource upon running "cdktf plan ". | --- @@ -641,6 +711,55 @@ kubernetesNodePool.KubernetesNodePool.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import kubernetes_node_pool + +kubernetesNodePool.KubernetesNodePool.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a KubernetesNodePool 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 KubernetesNodePool to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing KubernetesNodePool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_node_pool#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 KubernetesNodePool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/kubernetesNodePool.typescript.md b/docs/kubernetesNodePool.typescript.md index f07efce4e..c35a11bf5 100644 --- a/docs/kubernetesNodePool.typescript.md +++ b/docs/kubernetesNodePool.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. | | putTaint | *No description.* | | putTimeouts | *No description.* | | resetAutoScale | *No description.* | @@ -148,6 +151,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 @@ -256,6 +275,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 @@ -268,6 +305,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. + +--- + ##### `putTaint` ```typescript @@ -353,6 +414,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a KubernetesNodePool resource upon running "cdktf plan ". | --- @@ -416,6 +478,50 @@ kubernetesNodePool.KubernetesNodePool.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { kubernetesNodePool } from '@cdktf/provider-digitalocean' + +kubernetesNodePool.KubernetesNodePool.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a KubernetesNodePool 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 KubernetesNodePool to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing KubernetesNodePool that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_node_pool#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 KubernetesNodePool to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/loadbalancer.csharp.md b/docs/loadbalancer.csharp.md index 72a07bef5..5b5940b17 100644 --- a/docs/loadbalancer.csharp.md +++ b/docs/loadbalancer.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. | | PutFirewall | *No description.* | | PutForwardingRule | *No description.* | | PutHealthcheck | *No description.* | @@ -157,6 +160,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 @@ -265,6 +284,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 @@ -277,6 +314,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. + +--- + ##### `PutFirewall` ```csharp @@ -428,6 +489,7 @@ private void ResetVpcUuid() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Loadbalancer resource upon running "cdktf plan ". | --- @@ -491,6 +553,50 @@ Loadbalancer.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Loadbalancer.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Loadbalancer 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 Loadbalancer to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Loadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/loadbalancer#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 Loadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/loadbalancer.go.md b/docs/loadbalancer.go.md index 6b434e15c..b7ff8d7df 100644 --- a/docs/loadbalancer.go.md +++ b/docs/loadbalancer.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. | | PutFirewall | *No description.* | | PutForwardingRule | *No description.* | | PutHealthcheck | *No description.* | @@ -157,6 +160,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 @@ -265,6 +284,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 @@ -277,6 +314,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. + +--- + ##### `PutFirewall` ```go @@ -428,6 +489,7 @@ func ResetVpcUuid() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Loadbalancer resource upon running "cdktf plan ". | --- @@ -491,6 +553,50 @@ loadbalancer.Loadbalancer_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/loadbalancer" + +loadbalancer.Loadbalancer_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Loadbalancer 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 Loadbalancer to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Loadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/loadbalancer#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 Loadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/loadbalancer.java.md b/docs/loadbalancer.java.md index 84a4d30b6..b5c033010 100644 --- a/docs/loadbalancer.java.md +++ b/docs/loadbalancer.java.md @@ -320,6 +320,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -329,7 +330,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putFirewall | *No description.* | | putForwardingRule | *No description.* | | putHealthcheck | *No description.* | @@ -417,6 +420,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 @@ -525,6 +544,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 @@ -537,6 +575,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. + +--- + ##### `putFirewall` ```java @@ -688,6 +751,7 @@ public void resetVpcUuid() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Loadbalancer resource upon running "cdktf plan ". | --- @@ -751,6 +815,50 @@ Loadbalancer.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.loadbalancer.Loadbalancer; + +Loadbalancer.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Loadbalancer.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Loadbalancer 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 Loadbalancer to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Loadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/loadbalancer#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 Loadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/loadbalancer.python.md b/docs/loadbalancer.python.md index eb597c894..52a82ef3d 100644 --- a/docs/loadbalancer.python.md +++ b/docs/loadbalancer.python.md @@ -313,6 +313,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -322,7 +323,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_firewall | *No description.* | | put_forwarding_rule | *No description.* | | put_healthcheck | *No description.* | @@ -415,6 +418,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 @@ -541,6 +562,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 @@ -555,6 +597,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_firewall` ```python @@ -805,6 +874,7 @@ def reset_vpc_uuid() -> 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 Loadbalancer resource upon running "cdktf plan ". | --- @@ -874,6 +944,55 @@ loadbalancer.Loadbalancer.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import loadbalancer + +loadbalancer.Loadbalancer.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Loadbalancer 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 Loadbalancer to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Loadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/loadbalancer#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 Loadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/loadbalancer.typescript.md b/docs/loadbalancer.typescript.md index e3e1f6998..2e5f75dee 100644 --- a/docs/loadbalancer.typescript.md +++ b/docs/loadbalancer.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. | | putFirewall | *No description.* | | putForwardingRule | *No description.* | | putHealthcheck | *No description.* | @@ -157,6 +160,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 @@ -265,6 +284,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 @@ -277,6 +314,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. + +--- + ##### `putFirewall` ```typescript @@ -428,6 +489,7 @@ public resetVpcUuid(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Loadbalancer resource upon running "cdktf plan ". | --- @@ -491,6 +553,50 @@ loadbalancer.Loadbalancer.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { loadbalancer } from '@cdktf/provider-digitalocean' + +loadbalancer.Loadbalancer.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Loadbalancer 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 Loadbalancer to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Loadbalancer that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/loadbalancer#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 Loadbalancer to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/monitorAlert.csharp.md b/docs/monitorAlert.csharp.md index 5cd7f2997..cf85610d7 100644 --- a/docs/monitorAlert.csharp.md +++ b/docs/monitorAlert.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. | | PutAlerts | *No description.* | | ResetEnabled | *No description.* | | ResetEntities | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutAlerts` ```csharp @@ -305,6 +366,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a MonitorAlert resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ MonitorAlert.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +MonitorAlert.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a MonitorAlert 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 MonitorAlert to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing MonitorAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/monitor_alert#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 MonitorAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/monitorAlert.go.md b/docs/monitorAlert.go.md index d008ba00d..61e1e03ce 100644 --- a/docs/monitorAlert.go.md +++ b/docs/monitorAlert.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. | | PutAlerts | *No description.* | | ResetEnabled | *No description.* | | ResetEntities | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutAlerts` ```go @@ -305,6 +366,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a MonitorAlert resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ monitoralert.MonitorAlert_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/monitoralert" + +monitoralert.MonitorAlert_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a MonitorAlert 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 MonitorAlert to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing MonitorAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/monitor_alert#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 MonitorAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/monitorAlert.java.md b/docs/monitorAlert.java.md index e02ef9988..5bd467e7e 100644 --- a/docs/monitorAlert.java.md +++ b/docs/monitorAlert.java.md @@ -226,6 +226,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -235,7 +236,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putAlerts | *No description.* | | resetEnabled | *No description.* | | resetEntities | *No description.* | @@ -308,6 +311,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 @@ -416,6 +435,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 @@ -428,6 +466,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. + +--- + ##### `putAlerts` ```java @@ -471,6 +534,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a MonitorAlert resource upon running "cdktf plan ". | --- @@ -534,6 +598,50 @@ MonitorAlert.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.monitor_alert.MonitorAlert; + +MonitorAlert.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),MonitorAlert.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a MonitorAlert 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 MonitorAlert to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing MonitorAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/monitor_alert#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 MonitorAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/monitorAlert.python.md b/docs/monitorAlert.python.md index d3ffb9a33..370115a84 100644 --- a/docs/monitorAlert.python.md +++ b/docs/monitorAlert.python.md @@ -223,6 +223,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -232,7 +233,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_alerts | *No description.* | | reset_enabled | *No description.* | | reset_entities | *No description.* | @@ -310,6 +313,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 @@ -436,6 +457,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 @@ -450,6 +492,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_alerts` ```python @@ -510,6 +579,7 @@ def reset_tags() -> 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 MonitorAlert resource upon running "cdktf plan ". | --- @@ -579,6 +649,55 @@ monitorAlert.MonitorAlert.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import monitor_alert + +monitorAlert.MonitorAlert.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a MonitorAlert 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 MonitorAlert to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing MonitorAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/monitor_alert#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 MonitorAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/monitorAlert.typescript.md b/docs/monitorAlert.typescript.md index 2c2d14311..dea8f6bd9 100644 --- a/docs/monitorAlert.typescript.md +++ b/docs/monitorAlert.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. | | putAlerts | *No description.* | | resetEnabled | *No description.* | | resetEntities | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putAlerts` ```typescript @@ -305,6 +366,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a MonitorAlert resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ monitorAlert.MonitorAlert.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { monitorAlert } from '@cdktf/provider-digitalocean' + +monitorAlert.MonitorAlert.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a MonitorAlert 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 MonitorAlert to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing MonitorAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/monitor_alert#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 MonitorAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.csharp.md b/docs/project.csharp.md index 07199ffa5..ceb1ee50e 100644 --- a/docs/project.csharp.md +++ b/docs/project.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetDescription | *No description.* | | ResetEnvironment | *No description.* | @@ -145,6 +148,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 @@ -253,6 +272,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 @@ -265,6 +302,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -326,6 +387,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -389,6 +451,50 @@ Project.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Project.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `Scope`Required + +- *Type:* Constructs.Construct + +The scope in which to define this construct. + +--- + +###### `ImportToId`Required + +- *Type:* string + +The construct id used in the generated config for the Project to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.go.md b/docs/project.go.md index 0fb41784a..e01878c2b 100644 --- a/docs/project.go.md +++ b/docs/project.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetDescription | *No description.* | | ResetEnvironment | *No description.* | @@ -145,6 +148,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 @@ -253,6 +272,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 @@ -265,6 +302,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -326,6 +387,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -389,6 +451,50 @@ project.Project_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/project" + +project.Project_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* github.com/aws/constructs-go/constructs/v10.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* *string + +The construct id used in the generated config for the Project to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.java.md b/docs/project.java.md index 5c0216a7d..675fcc7d8 100644 --- a/docs/project.java.md +++ b/docs/project.java.md @@ -212,6 +212,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -221,7 +222,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetDescription | *No description.* | | resetEnvironment | *No description.* | @@ -297,6 +300,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 @@ -405,6 +424,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 @@ -417,6 +455,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -478,6 +541,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -541,6 +605,50 @@ Project.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.project.Project; + +Project.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Project.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* software.constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* java.lang.String + +The construct id used in the generated config for the Project to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.python.md b/docs/project.python.md index 62b273bf2..cb3996baf 100644 --- a/docs/project.python.md +++ b/docs/project.python.md @@ -209,6 +209,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -218,7 +219,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_description | *No description.* | | reset_environment | *No description.* | @@ -299,6 +302,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -425,6 +446,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -439,6 +481,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -504,6 +573,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -573,6 +643,55 @@ project.Project.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import project + +project.Project.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `import_to_id`Required + +- *Type:* str + +The construct id used in the generated config for the Project to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/project.typescript.md b/docs/project.typescript.md index ef4cb6a54..1fdb3d43c 100644 --- a/docs/project.typescript.md +++ b/docs/project.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetDescription | *No description.* | | resetEnvironment | *No description.* | @@ -145,6 +148,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 @@ -253,6 +272,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 @@ -265,6 +302,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -326,6 +387,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Project resource upon running "cdktf plan ". | --- @@ -389,6 +451,50 @@ project.Project.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { project } from '@cdktf/provider-digitalocean' + +project.Project.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Project resource upon running "cdktf plan ". + +###### `scope`Required + +- *Type:* constructs.Construct + +The scope in which to define this construct. + +--- + +###### `importToId`Required + +- *Type:* string + +The construct id used in the generated config for the Project to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Project that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the Project to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/projectResources.csharp.md b/docs/projectResources.csharp.md index 89144cf0e..a70eeb96a 100644 --- a/docs/projectResources.csharp.md +++ b/docs/projectResources.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 ProjectResources resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ ProjectResources.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +ProjectResources.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ProjectResources 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 ProjectResources to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ProjectResources that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project_resources#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 ProjectResources to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/projectResources.go.md b/docs/projectResources.go.md index 2e2241436..e4d8a729e 100644 --- a/docs/projectResources.go.md +++ b/docs/projectResources.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 ProjectResources resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ projectresources.ProjectResources_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/projectresources" + +projectresources.ProjectResources_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ProjectResources 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 ProjectResources to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ProjectResources that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project_resources#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 ProjectResources to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/projectResources.java.md b/docs/projectResources.java.md index 61858f17f..d76457cd3 100644 --- a/docs/projectResources.java.md +++ b/docs/projectResources.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 ProjectResources resource upon running "cdktf plan ". | --- @@ -425,6 +489,50 @@ ProjectResources.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.project_resources.ProjectResources; + +ProjectResources.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ProjectResources.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ProjectResources 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 ProjectResources to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ProjectResources that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project_resources#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 ProjectResources to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/projectResources.python.md b/docs/projectResources.python.md index 8d81c7604..4faab4781 100644 --- a/docs/projectResources.python.md +++ b/docs/projectResources.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 ProjectResources resource upon running "cdktf plan ". | --- @@ -454,6 +524,55 @@ projectResources.ProjectResources.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import project_resources + +projectResources.ProjectResources.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ProjectResources 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 ProjectResources to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ProjectResources that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project_resources#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 ProjectResources to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/projectResources.typescript.md b/docs/projectResources.typescript.md index 89bdcf9a5..255a9bc2e 100644 --- a/docs/projectResources.typescript.md +++ b/docs/projectResources.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 ProjectResources resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ projectResources.ProjectResources.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { projectResources } from '@cdktf/provider-digitalocean' + +projectResources.ProjectResources.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ProjectResources 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 ProjectResources to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ProjectResources that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project_resources#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 ProjectResources to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.csharp.md b/docs/provider.csharp.md index 8380691bb..783ab8af4 100644 --- a/docs/provider.csharp.md +++ b/docs/provider.csharp.md @@ -204,6 +204,7 @@ private void ResetToken() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformProvider | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DigitaloceanProvider resource upon running "cdktf plan ". | --- @@ -267,6 +268,50 @@ DigitaloceanProvider.IsTerraformProvider(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +DigitaloceanProvider.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing DigitaloceanProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the DigitaloceanProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.go.md b/docs/provider.go.md index 58a24c5ce..272af391f 100644 --- a/docs/provider.go.md +++ b/docs/provider.go.md @@ -204,6 +204,7 @@ func ResetToken() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformProvider | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a DigitaloceanProvider resource upon running "cdktf plan ". | --- @@ -267,6 +268,50 @@ provider.DigitaloceanProvider_IsTerraformProvider(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/provider" + +provider.DigitaloceanProvider_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing DigitaloceanProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the DigitaloceanProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.java.md b/docs/provider.java.md index 78b84f5fe..cf214d235 100644 --- a/docs/provider.java.md +++ b/docs/provider.java.md @@ -318,6 +318,7 @@ public void resetToken() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformProvider | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DigitaloceanProvider resource upon running "cdktf plan ". | --- @@ -381,6 +382,50 @@ DigitaloceanProvider.isTerraformProvider(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.provider.DigitaloceanProvider; + +DigitaloceanProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),DigitaloceanProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing DigitaloceanProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the DigitaloceanProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.python.md b/docs/provider.python.md index fa89cb6c9..57f69dfee 100644 --- a/docs/provider.python.md +++ b/docs/provider.python.md @@ -325,6 +325,7 @@ def reset_token() -> 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 DigitaloceanProvider resource upon running "cdktf plan ". | --- @@ -394,6 +395,55 @@ provider.DigitaloceanProvider.is_terraform_provider( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import provider + +provider.DigitaloceanProvider.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing DigitaloceanProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DigitaloceanProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/provider.typescript.md b/docs/provider.typescript.md index f409a1efe..5698625f9 100644 --- a/docs/provider.typescript.md +++ b/docs/provider.typescript.md @@ -204,6 +204,7 @@ public resetToken(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformProvider | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a DigitaloceanProvider resource upon running "cdktf plan ". | --- @@ -267,6 +268,50 @@ provider.DigitaloceanProvider.isTerraformProvider(x: any) --- +##### `generateConfigForImport` + +```typescript +import { provider } from '@cdktf/provider-digitalocean' + +provider.DigitaloceanProvider.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing DigitaloceanProvider that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the DigitaloceanProvider to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/record.csharp.md b/docs/record.csharp.md index bf547cd46..53669ac95 100644 --- a/docs/record.csharp.md +++ b/docs/record.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. | | ResetFlags | *No description.* | | ResetId | *No description.* | | ResetPort | *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. + +--- + ##### `ResetFlags` ```csharp @@ -313,6 +374,7 @@ private void ResetWeight() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Record resource upon running "cdktf plan ". | --- @@ -376,6 +438,50 @@ Record.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Record.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Record 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 Record to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Record that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/record#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 Record to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/record.go.md b/docs/record.go.md index 1c219f84f..8dba8a408 100644 --- a/docs/record.go.md +++ b/docs/record.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. | | ResetFlags | *No description.* | | ResetId | *No description.* | | ResetPort | *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. + +--- + ##### `ResetFlags` ```go @@ -313,6 +374,7 @@ func ResetWeight() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Record resource upon running "cdktf plan ". | --- @@ -376,6 +438,50 @@ record.Record_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/record" + +record.Record_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Record 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 Record to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Record that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/record#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 Record to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/record.java.md b/docs/record.java.md index 5fcce66a1..133242ff8 100644 --- a/docs/record.java.md +++ b/docs/record.java.md @@ -227,6 +227,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -236,7 +237,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetFlags | *No description.* | | resetId | *No description.* | | resetPort | *No description.* | @@ -311,6 +314,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 @@ -419,6 +438,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 @@ -431,6 +469,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. + +--- + ##### `resetFlags` ```java @@ -480,6 +543,7 @@ public void resetWeight() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Record resource upon running "cdktf plan ". | --- @@ -543,6 +607,50 @@ Record.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.record.Record; + +Record.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Record.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Record 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 Record to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Record that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/record#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 Record to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/record.python.md b/docs/record.python.md index 15b003b69..a7d0ac7e2 100644 --- a/docs/record.python.md +++ b/docs/record.python.md @@ -225,6 +225,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -234,7 +235,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_flags | *No description.* | | reset_id | *No description.* | | reset_port | *No description.* | @@ -314,6 +317,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 @@ -440,6 +461,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 @@ -454,6 +496,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_flags` ```python @@ -503,6 +572,7 @@ def reset_weight() -> 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 Record resource upon running "cdktf plan ". | --- @@ -572,6 +642,55 @@ record.Record.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import record + +record.Record.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Record 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 Record to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Record that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/record#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 Record to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/record.typescript.md b/docs/record.typescript.md index fe24c4411..a144a6968 100644 --- a/docs/record.typescript.md +++ b/docs/record.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. | | resetFlags | *No description.* | | resetId | *No description.* | | resetPort | *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. + +--- + ##### `resetFlags` ```typescript @@ -313,6 +374,7 @@ public resetWeight(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Record resource upon running "cdktf plan ". | --- @@ -376,6 +438,50 @@ record.Record.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { record } from '@cdktf/provider-digitalocean' + +record.Record.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Record 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 Record to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Record that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/record#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 Record to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIp.csharp.md b/docs/reservedIp.csharp.md index ec2d63fa0..bcbb8df9a 100644 --- a/docs/reservedIp.csharp.md +++ b/docs/reservedIp.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. | | ResetDropletId | *No description.* | | ResetId | *No description.* | | ResetIpAddress | *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. + +--- + ##### `ResetDropletId` ```csharp @@ -285,6 +346,7 @@ private void ResetIpAddress() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ReservedIp resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ ReservedIp.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +ReservedIp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ReservedIp 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 ReservedIp to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip#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 ReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIp.go.md b/docs/reservedIp.go.md index 81d477400..117aef5e4 100644 --- a/docs/reservedIp.go.md +++ b/docs/reservedIp.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. | | ResetDropletId | *No description.* | | ResetId | *No description.* | | ResetIpAddress | *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. + +--- + ##### `ResetDropletId` ```go @@ -285,6 +346,7 @@ func ResetIpAddress() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a ReservedIp resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ reservedip.ReservedIp_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/reservedip" + +reservedip.ReservedIp_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ReservedIp 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 ReservedIp to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip#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 ReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIp.java.md b/docs/reservedIp.java.md index fa74cdfd8..7455715eb 100644 --- a/docs/reservedIp.java.md +++ b/docs/reservedIp.java.md @@ -157,6 +157,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -166,7 +167,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetDropletId | *No description.* | | resetId | *No description.* | | resetIpAddress | *No description.* | @@ -237,6 +240,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 @@ -345,6 +364,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 @@ -357,6 +395,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. + +--- + ##### `resetDropletId` ```java @@ -382,6 +445,7 @@ public void resetIpAddress() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ReservedIp resource upon running "cdktf plan ". | --- @@ -445,6 +509,50 @@ ReservedIp.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.reserved_ip.ReservedIp; + +ReservedIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ReservedIp.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ReservedIp 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 ReservedIp to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip#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 ReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIp.python.md b/docs/reservedIp.python.md index effd39cfc..1832dcbb4 100644 --- a/docs/reservedIp.python.md +++ b/docs/reservedIp.python.md @@ -155,6 +155,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -164,7 +165,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_droplet_id | *No description.* | | reset_id | *No description.* | | reset_ip_address | *No description.* | @@ -240,6 +243,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 @@ -366,6 +387,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 @@ -380,6 +422,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_droplet_id` ```python @@ -405,6 +474,7 @@ def reset_ip_address() -> 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 ReservedIp resource upon running "cdktf plan ". | --- @@ -474,6 +544,55 @@ reservedIp.ReservedIp.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import reserved_ip + +reservedIp.ReservedIp.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ReservedIp 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 ReservedIp to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip#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 ReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIp.typescript.md b/docs/reservedIp.typescript.md index 4328d78da..957bc168a 100644 --- a/docs/reservedIp.typescript.md +++ b/docs/reservedIp.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. | | resetDropletId | *No description.* | | resetId | *No description.* | | resetIpAddress | *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. + +--- + ##### `resetDropletId` ```typescript @@ -285,6 +346,7 @@ public resetIpAddress(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ReservedIp resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ reservedIp.ReservedIp.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { reservedIp } from '@cdktf/provider-digitalocean' + +reservedIp.ReservedIp.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ReservedIp 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 ReservedIp to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ReservedIp that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip#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 ReservedIp to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIpAssignment.csharp.md b/docs/reservedIpAssignment.csharp.md index a6c2af180..1a366f3c8 100644 --- a/docs/reservedIpAssignment.csharp.md +++ b/docs/reservedIpAssignment.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 ReservedIpAssignment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ ReservedIpAssignment.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +ReservedIpAssignment.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a ReservedIpAssignment 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 ReservedIpAssignment to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing ReservedIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the ReservedIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIpAssignment.go.md b/docs/reservedIpAssignment.go.md index c10e6a026..d5c57afdf 100644 --- a/docs/reservedIpAssignment.go.md +++ b/docs/reservedIpAssignment.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 ReservedIpAssignment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ reservedipassignment.ReservedIpAssignment_IsTerraformResource(x interface{}) *bo --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/reservedipassignment" + +reservedipassignment.ReservedIpAssignment_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a ReservedIpAssignment 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 ReservedIpAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing ReservedIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the ReservedIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIpAssignment.java.md b/docs/reservedIpAssignment.java.md index beba7db03..a485a8527 100644 --- a/docs/reservedIpAssignment.java.md +++ b/docs/reservedIpAssignment.java.md @@ -147,6 +147,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.* | @@ -156,7 +157,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.* | --- @@ -225,6 +228,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 @@ -333,6 +352,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 @@ -345,6 +383,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 @@ -358,6 +421,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a ReservedIpAssignment resource upon running "cdktf plan ". | --- @@ -421,6 +485,50 @@ ReservedIpAssignment.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.reserved_ip_assignment.ReservedIpAssignment; + +ReservedIpAssignment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),ReservedIpAssignment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a ReservedIpAssignment 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 ReservedIpAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing ReservedIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the ReservedIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIpAssignment.python.md b/docs/reservedIpAssignment.python.md index 12451719e..c07e9b9b1 100644 --- a/docs/reservedIpAssignment.python.md +++ b/docs/reservedIpAssignment.python.md @@ -145,6 +145,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.* | @@ -154,7 +155,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.* | --- @@ -228,6 +231,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 @@ -354,6 +375,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 @@ -368,6 +410,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 @@ -381,6 +450,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 ReservedIpAssignment resource upon running "cdktf plan ". | --- @@ -450,6 +520,55 @@ reservedIpAssignment.ReservedIpAssignment.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import reserved_ip_assignment + +reservedIpAssignment.ReservedIpAssignment.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a ReservedIpAssignment 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 ReservedIpAssignment to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing ReservedIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ReservedIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/reservedIpAssignment.typescript.md b/docs/reservedIpAssignment.typescript.md index 946f1b421..0e6092ad2 100644 --- a/docs/reservedIpAssignment.typescript.md +++ b/docs/reservedIpAssignment.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 ReservedIpAssignment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ reservedIpAssignment.ReservedIpAssignment.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { reservedIpAssignment } from '@cdktf/provider-digitalocean' + +reservedIpAssignment.ReservedIpAssignment.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a ReservedIpAssignment 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 ReservedIpAssignment to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing ReservedIpAssignment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip_assignment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the ReservedIpAssignment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucket.csharp.md b/docs/spacesBucket.csharp.md index 1cba55dbf..e830844fe 100644 --- a/docs/spacesBucket.csharp.md +++ b/docs/spacesBucket.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. | | PutCorsRule | *No description.* | | PutLifecycleRule | *No description.* | | PutVersioning | *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. + +--- + ##### `PutCorsRule` ```csharp @@ -352,6 +413,7 @@ private void ResetVersioning() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a SpacesBucket resource upon running "cdktf plan ". | --- @@ -415,6 +477,50 @@ SpacesBucket.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +SpacesBucket.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a SpacesBucket 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 SpacesBucket to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing SpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket#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 SpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucket.go.md b/docs/spacesBucket.go.md index 8ba329e42..5acd266f8 100644 --- a/docs/spacesBucket.go.md +++ b/docs/spacesBucket.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. | | PutCorsRule | *No description.* | | PutLifecycleRule | *No description.* | | PutVersioning | *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. + +--- + ##### `PutCorsRule` ```go @@ -352,6 +413,7 @@ func ResetVersioning() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a SpacesBucket resource upon running "cdktf plan ". | --- @@ -415,6 +477,50 @@ spacesbucket.SpacesBucket_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/spacesbucket" + +spacesbucket.SpacesBucket_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a SpacesBucket 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 SpacesBucket to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing SpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket#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 SpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucket.java.md b/docs/spacesBucket.java.md index 6ae605497..f2f2e1000 100644 --- a/docs/spacesBucket.java.md +++ b/docs/spacesBucket.java.md @@ -214,6 +214,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -223,7 +224,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putCorsRule | *No description.* | | putLifecycleRule | *No description.* | | putVersioning | *No description.* | @@ -301,6 +304,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -409,6 +428,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -421,6 +459,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putCorsRule` ```java @@ -506,6 +569,7 @@ public void resetVersioning() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucket resource upon running "cdktf plan ". | --- @@ -569,6 +633,50 @@ SpacesBucket.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.spaces_bucket.SpacesBucket; + +SpacesBucket.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SpacesBucket.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a SpacesBucket 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 SpacesBucket to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing SpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket#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 SpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucket.python.md b/docs/spacesBucket.python.md index 01ae62753..0a50a59cc 100644 --- a/docs/spacesBucket.python.md +++ b/docs/spacesBucket.python.md @@ -209,6 +209,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -218,7 +219,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_cors_rule | *No description.* | | put_lifecycle_rule | *No description.* | | put_versioning | *No description.* | @@ -301,6 +304,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -427,6 +448,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -441,6 +483,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_cors_rule` ```python @@ -534,6 +603,7 @@ def reset_versioning() -> 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 SpacesBucket resource upon running "cdktf plan ". | --- @@ -603,6 +673,55 @@ spacesBucket.SpacesBucket.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import spaces_bucket + +spacesBucket.SpacesBucket.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a SpacesBucket 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 SpacesBucket to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing SpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket#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 SpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucket.typescript.md b/docs/spacesBucket.typescript.md index 89f03c3e0..0931b3cac 100644 --- a/docs/spacesBucket.typescript.md +++ b/docs/spacesBucket.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. | | putCorsRule | *No description.* | | putLifecycleRule | *No description.* | | putVersioning | *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. + +--- + ##### `putCorsRule` ```typescript @@ -352,6 +413,7 @@ public resetVersioning(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucket resource upon running "cdktf plan ". | --- @@ -415,6 +477,50 @@ spacesBucket.SpacesBucket.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { spacesBucket } from '@cdktf/provider-digitalocean' + +spacesBucket.SpacesBucket.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a SpacesBucket 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 SpacesBucket to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing SpacesBucket that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket#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 SpacesBucket to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketCorsConfiguration.csharp.md b/docs/spacesBucketCorsConfiguration.csharp.md index e2d0b6d85..08d09fb04 100644 --- a/docs/spacesBucketCorsConfiguration.csharp.md +++ b/docs/spacesBucketCorsConfiguration.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. | | PutCorsRule | *No description.* | | ResetId | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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. + +--- + ##### `PutCorsRule` ```csharp @@ -284,6 +345,7 @@ private void ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a SpacesBucketCorsConfiguration resource upon running "cdktf plan ". | --- @@ -347,6 +409,50 @@ SpacesBucketCorsConfiguration.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +SpacesBucketCorsConfiguration.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a SpacesBucketCorsConfiguration 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 SpacesBucketCorsConfiguration to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing SpacesBucketCorsConfiguration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_cors_configuration#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 SpacesBucketCorsConfiguration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketCorsConfiguration.go.md b/docs/spacesBucketCorsConfiguration.go.md index 043976e79..5f636f52c 100644 --- a/docs/spacesBucketCorsConfiguration.go.md +++ b/docs/spacesBucketCorsConfiguration.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. | | PutCorsRule | *No description.* | | ResetId | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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. + +--- + ##### `PutCorsRule` ```go @@ -284,6 +345,7 @@ func ResetId() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a SpacesBucketCorsConfiguration resource upon running "cdktf plan ". | --- @@ -347,6 +409,50 @@ spacesbucketcorsconfiguration.SpacesBucketCorsConfiguration_IsTerraformResource( --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/spacesbucketcorsconfiguration" + +spacesbucketcorsconfiguration.SpacesBucketCorsConfiguration_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a SpacesBucketCorsConfiguration 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 SpacesBucketCorsConfiguration to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing SpacesBucketCorsConfiguration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_cors_configuration#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 SpacesBucketCorsConfiguration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketCorsConfiguration.java.md b/docs/spacesBucketCorsConfiguration.java.md index 4301cc309..7a4ef18ac 100644 --- a/docs/spacesBucketCorsConfiguration.java.md +++ b/docs/spacesBucketCorsConfiguration.java.md @@ -162,6 +162,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.* | @@ -171,7 +172,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. | | putCorsRule | *No description.* | | resetId | *No description.* | @@ -241,6 +244,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 @@ -349,6 +368,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 @@ -361,6 +399,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. + +--- + ##### `putCorsRule` ```java @@ -386,6 +449,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucketCorsConfiguration resource upon running "cdktf plan ". | --- @@ -449,6 +513,50 @@ SpacesBucketCorsConfiguration.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.spaces_bucket_cors_configuration.SpacesBucketCorsConfiguration; + +SpacesBucketCorsConfiguration.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SpacesBucketCorsConfiguration.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a SpacesBucketCorsConfiguration 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 SpacesBucketCorsConfiguration to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing SpacesBucketCorsConfiguration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_cors_configuration#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 SpacesBucketCorsConfiguration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketCorsConfiguration.python.md b/docs/spacesBucketCorsConfiguration.python.md index cea442e74..1a9df096e 100644 --- a/docs/spacesBucketCorsConfiguration.python.md +++ b/docs/spacesBucketCorsConfiguration.python.md @@ -159,6 +159,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.* | @@ -168,7 +169,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_cors_rule | *No description.* | | reset_id | *No description.* | @@ -243,6 +246,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 @@ -369,6 +390,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 @@ -383,6 +425,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_cors_rule` ```python @@ -410,6 +479,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 SpacesBucketCorsConfiguration resource upon running "cdktf plan ". | --- @@ -479,6 +549,55 @@ spacesBucketCorsConfiguration.SpacesBucketCorsConfiguration.is_terraform_resourc --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import spaces_bucket_cors_configuration + +spacesBucketCorsConfiguration.SpacesBucketCorsConfiguration.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a SpacesBucketCorsConfiguration 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 SpacesBucketCorsConfiguration to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing SpacesBucketCorsConfiguration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_cors_configuration#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 SpacesBucketCorsConfiguration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketCorsConfiguration.typescript.md b/docs/spacesBucketCorsConfiguration.typescript.md index aad8075e5..7a3ccb26f 100644 --- a/docs/spacesBucketCorsConfiguration.typescript.md +++ b/docs/spacesBucketCorsConfiguration.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. | | putCorsRule | *No description.* | | resetId | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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. + +--- + ##### `putCorsRule` ```typescript @@ -284,6 +345,7 @@ public resetId(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucketCorsConfiguration resource upon running "cdktf plan ". | --- @@ -347,6 +409,50 @@ spacesBucketCorsConfiguration.SpacesBucketCorsConfiguration.isTerraformResource( --- +##### `generateConfigForImport` + +```typescript +import { spacesBucketCorsConfiguration } from '@cdktf/provider-digitalocean' + +spacesBucketCorsConfiguration.SpacesBucketCorsConfiguration.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a SpacesBucketCorsConfiguration 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 SpacesBucketCorsConfiguration to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing SpacesBucketCorsConfiguration that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_cors_configuration#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 SpacesBucketCorsConfiguration to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketObject.csharp.md b/docs/spacesBucketObject.csharp.md index 6f6119188..ccae3a626 100644 --- a/docs/spacesBucketObject.csharp.md +++ b/docs/spacesBucketObject.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. | | ResetAcl | *No description.* | | ResetCacheControl | *No description.* | | ResetContent | *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. + +--- + ##### `ResetAcl` ```csharp @@ -362,6 +423,7 @@ private void ResetWebsiteRedirect() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a SpacesBucketObject resource upon running "cdktf plan ". | --- @@ -425,6 +487,50 @@ SpacesBucketObject.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +SpacesBucketObject.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a SpacesBucketObject 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 SpacesBucketObject to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing SpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_object#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 SpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketObject.go.md b/docs/spacesBucketObject.go.md index a3a595d73..e0e05963e 100644 --- a/docs/spacesBucketObject.go.md +++ b/docs/spacesBucketObject.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. | | ResetAcl | *No description.* | | ResetCacheControl | *No description.* | | ResetContent | *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. + +--- + ##### `ResetAcl` ```go @@ -362,6 +423,7 @@ func ResetWebsiteRedirect() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a SpacesBucketObject resource upon running "cdktf plan ". | --- @@ -425,6 +487,50 @@ spacesbucketobject.SpacesBucketObject_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/spacesbucketobject" + +spacesbucketobject.SpacesBucketObject_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a SpacesBucketObject 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 SpacesBucketObject to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing SpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_object#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 SpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketObject.java.md b/docs/spacesBucketObject.java.md index ad560398b..a386dc022 100644 --- a/docs/spacesBucketObject.java.md +++ b/docs/spacesBucketObject.java.md @@ -288,6 +288,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -297,7 +298,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetAcl | *No description.* | | resetCacheControl | *No description.* | | resetContent | *No description.* | @@ -379,6 +382,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 @@ -487,6 +506,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 @@ -499,6 +537,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. + +--- + ##### `resetAcl` ```java @@ -590,6 +653,7 @@ public void resetWebsiteRedirect() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucketObject resource upon running "cdktf plan ". | --- @@ -653,6 +717,50 @@ SpacesBucketObject.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.spaces_bucket_object.SpacesBucketObject; + +SpacesBucketObject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SpacesBucketObject.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a SpacesBucketObject 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 SpacesBucketObject to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing SpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_object#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 SpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketObject.python.md b/docs/spacesBucketObject.python.md index 1efe49977..3e4295cb4 100644 --- a/docs/spacesBucketObject.python.md +++ b/docs/spacesBucketObject.python.md @@ -285,6 +285,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -294,7 +295,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_acl | *No description.* | | reset_cache_control | *No description.* | | reset_content | *No description.* | @@ -381,6 +384,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 @@ -507,6 +528,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 @@ -521,6 +563,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_acl` ```python @@ -612,6 +681,7 @@ def reset_website_redirect() -> 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 SpacesBucketObject resource upon running "cdktf plan ". | --- @@ -681,6 +751,55 @@ spacesBucketObject.SpacesBucketObject.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import spaces_bucket_object + +spacesBucketObject.SpacesBucketObject.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a SpacesBucketObject 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 SpacesBucketObject to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing SpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_object#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 SpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketObject.typescript.md b/docs/spacesBucketObject.typescript.md index dfd3d974c..c8c5db272 100644 --- a/docs/spacesBucketObject.typescript.md +++ b/docs/spacesBucketObject.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. | | resetAcl | *No description.* | | resetCacheControl | *No description.* | | resetContent | *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. + +--- + ##### `resetAcl` ```typescript @@ -362,6 +423,7 @@ public resetWebsiteRedirect(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucketObject resource upon running "cdktf plan ". | --- @@ -425,6 +487,50 @@ spacesBucketObject.SpacesBucketObject.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { spacesBucketObject } from '@cdktf/provider-digitalocean' + +spacesBucketObject.SpacesBucketObject.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a SpacesBucketObject 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 SpacesBucketObject to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing SpacesBucketObject that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_object#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 SpacesBucketObject to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketPolicy.csharp.md b/docs/spacesBucketPolicy.csharp.md index de4c59704..8d908dfaa 100644 --- a/docs/spacesBucketPolicy.csharp.md +++ b/docs/spacesBucketPolicy.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 SpacesBucketPolicy resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ SpacesBucketPolicy.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +SpacesBucketPolicy.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a SpacesBucketPolicy 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 SpacesBucketPolicy to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing SpacesBucketPolicy that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_policy#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 SpacesBucketPolicy to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketPolicy.go.md b/docs/spacesBucketPolicy.go.md index e6585ba58..c767fb887 100644 --- a/docs/spacesBucketPolicy.go.md +++ b/docs/spacesBucketPolicy.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 SpacesBucketPolicy resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ spacesbucketpolicy.SpacesBucketPolicy_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/spacesbucketpolicy" + +spacesbucketpolicy.SpacesBucketPolicy_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a SpacesBucketPolicy 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 SpacesBucketPolicy to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing SpacesBucketPolicy that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_policy#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 SpacesBucketPolicy to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketPolicy.java.md b/docs/spacesBucketPolicy.java.md index 1b1812f46..16355c0da 100644 --- a/docs/spacesBucketPolicy.java.md +++ b/docs/spacesBucketPolicy.java.md @@ -157,6 +157,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.* | @@ -166,7 +167,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.* | --- @@ -235,6 +238,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 @@ -343,6 +362,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 @@ -355,6 +393,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 @@ -368,6 +431,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SpacesBucketPolicy resource upon running "cdktf plan ". | --- @@ -431,6 +495,50 @@ SpacesBucketPolicy.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.spaces_bucket_policy.SpacesBucketPolicy; + +SpacesBucketPolicy.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SpacesBucketPolicy.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a SpacesBucketPolicy 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 SpacesBucketPolicy to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing SpacesBucketPolicy that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_policy#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 SpacesBucketPolicy to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketPolicy.python.md b/docs/spacesBucketPolicy.python.md index 110a5bfca..de05de974 100644 --- a/docs/spacesBucketPolicy.python.md +++ b/docs/spacesBucketPolicy.python.md @@ -155,6 +155,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.* | @@ -164,7 +165,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.* | --- @@ -238,6 +241,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 @@ -364,6 +385,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 @@ -378,6 +420,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 @@ -391,6 +460,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 SpacesBucketPolicy resource upon running "cdktf plan ". | --- @@ -460,6 +530,55 @@ spacesBucketPolicy.SpacesBucketPolicy.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import spaces_bucket_policy + +spacesBucketPolicy.SpacesBucketPolicy.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a SpacesBucketPolicy 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 SpacesBucketPolicy to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing SpacesBucketPolicy that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_policy#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 SpacesBucketPolicy to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/spacesBucketPolicy.typescript.md b/docs/spacesBucketPolicy.typescript.md index 593056bde..5d9ea51b8 100644 --- a/docs/spacesBucketPolicy.typescript.md +++ b/docs/spacesBucketPolicy.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 SpacesBucketPolicy resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ spacesBucketPolicy.SpacesBucketPolicy.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { spacesBucketPolicy } from '@cdktf/provider-digitalocean' + +spacesBucketPolicy.SpacesBucketPolicy.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a SpacesBucketPolicy 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 SpacesBucketPolicy to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing SpacesBucketPolicy that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_policy#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 SpacesBucketPolicy to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/sshKey.csharp.md b/docs/sshKey.csharp.md index a05104453..b111a5aaa 100644 --- a/docs/sshKey.csharp.md +++ b/docs/sshKey.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 SshKey resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ SshKey.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +SshKey.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a SshKey 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 SshKey to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing SshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/ssh_key#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 SshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/sshKey.go.md b/docs/sshKey.go.md index 75d8a7f51..00a506d5c 100644 --- a/docs/sshKey.go.md +++ b/docs/sshKey.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 SshKey resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ sshkey.SshKey_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/sshkey" + +sshkey.SshKey_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a SshKey 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 SshKey to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing SshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/ssh_key#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 SshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/sshKey.java.md b/docs/sshKey.java.md index 44d8ac278..aa51f99c6 100644 --- a/docs/sshKey.java.md +++ b/docs/sshKey.java.md @@ -147,6 +147,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.* | @@ -156,7 +157,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.* | --- @@ -225,6 +228,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 @@ -333,6 +352,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 @@ -345,6 +383,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 @@ -358,6 +421,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a SshKey resource upon running "cdktf plan ". | --- @@ -421,6 +485,50 @@ SshKey.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.ssh_key.SshKey; + +SshKey.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SshKey.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a SshKey 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 SshKey to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing SshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/ssh_key#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 SshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/sshKey.python.md b/docs/sshKey.python.md index d9532febf..095260f41 100644 --- a/docs/sshKey.python.md +++ b/docs/sshKey.python.md @@ -145,6 +145,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.* | @@ -154,7 +155,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.* | --- @@ -228,6 +231,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 @@ -354,6 +375,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 @@ -368,6 +410,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 @@ -381,6 +450,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 SshKey resource upon running "cdktf plan ". | --- @@ -450,6 +520,55 @@ sshKey.SshKey.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import ssh_key + +sshKey.SshKey.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a SshKey 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 SshKey to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing SshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/ssh_key#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 SshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/sshKey.typescript.md b/docs/sshKey.typescript.md index d9dfa7a53..ab0558947 100644 --- a/docs/sshKey.typescript.md +++ b/docs/sshKey.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 SshKey resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ sshKey.SshKey.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { sshKey } from '@cdktf/provider-digitalocean' + +sshKey.SshKey.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a SshKey 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 SshKey to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing SshKey that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/ssh_key#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 SshKey to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/tag.csharp.md b/docs/tag.csharp.md index 8109a39cb..134f5dee9 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.Digitalocean; + +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/digitalocean/digitalocean/2.30.0/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 45ee27301..0d53aec92 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-digitalocean-go/digitalocean/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/digitalocean/digitalocean/2.30.0/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 fa983d4b0..f8eb0f9b3 100644 --- a/docs/tag.java.md +++ b/docs/tag.java.md @@ -137,6 +137,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.* | @@ -146,7 +147,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.* | --- @@ -215,6 +218,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 @@ -323,6 +342,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 @@ -335,6 +373,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 @@ -348,6 +411,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 ". | --- @@ -411,6 +475,50 @@ Tag.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.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/digitalocean/digitalocean/2.30.0/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 274ad4f37..c54f36ba3 100644 --- a/docs/tag.python.md +++ b/docs/tag.python.md @@ -135,6 +135,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.* | @@ -144,7 +145,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.* | --- @@ -218,6 +221,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 @@ -344,6 +365,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 @@ -358,6 +400,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 @@ -371,6 +440,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 ". | --- @@ -440,6 +510,55 @@ tag.Tag.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean 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/digitalocean/digitalocean/2.30.0/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 e799560bb..0027e9b5f 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-digitalocean' + +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/digitalocean/digitalocean/2.30.0/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/uptimeAlert.csharp.md b/docs/uptimeAlert.csharp.md index 86e8adbd6..fc6bc349f 100644 --- a/docs/uptimeAlert.csharp.md +++ b/docs/uptimeAlert.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. | | PutNotifications | *No description.* | | ResetComparison | *No description.* | | ResetPeriod | *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. + +--- + ##### `PutNotifications` ```csharp @@ -298,6 +359,7 @@ private void ResetThreshold() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a UptimeAlert resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ UptimeAlert.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +UptimeAlert.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a UptimeAlert 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 UptimeAlert to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing UptimeAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_alert#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 UptimeAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeAlert.go.md b/docs/uptimeAlert.go.md index d0b42382f..4610c42f2 100644 --- a/docs/uptimeAlert.go.md +++ b/docs/uptimeAlert.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. | | PutNotifications | *No description.* | | ResetComparison | *No description.* | | ResetPeriod | *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. + +--- + ##### `PutNotifications` ```go @@ -298,6 +359,7 @@ func ResetThreshold() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a UptimeAlert resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ uptimealert.UptimeAlert_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/uptimealert" + +uptimealert.UptimeAlert_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a UptimeAlert 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 UptimeAlert to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing UptimeAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_alert#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 UptimeAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeAlert.java.md b/docs/uptimeAlert.java.md index 28ab99867..39b637730 100644 --- a/docs/uptimeAlert.java.md +++ b/docs/uptimeAlert.java.md @@ -203,6 +203,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -212,7 +213,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | putNotifications | *No description.* | | resetComparison | *No description.* | | resetPeriod | *No description.* | @@ -284,6 +287,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -392,6 +411,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -404,6 +442,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putNotifications` ```java @@ -441,6 +504,7 @@ public void resetThreshold() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a UptimeAlert resource upon running "cdktf plan ". | --- @@ -504,6 +568,50 @@ UptimeAlert.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.uptime_alert.UptimeAlert; + +UptimeAlert.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),UptimeAlert.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a UptimeAlert 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 UptimeAlert to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing UptimeAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_alert#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 UptimeAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeAlert.python.md b/docs/uptimeAlert.python.md index 15b8b71ce..26c65c15b 100644 --- a/docs/uptimeAlert.python.md +++ b/docs/uptimeAlert.python.md @@ -200,6 +200,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | reset_override_logical_id | Resets a previously passed logical Id to use the auto-generated logical id again. | | to_metadata | *No description.* | | to_terraform | Adds this resource to the terraform JSON output. | +| add_move_target | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | get_any_map_attribute | *No description.* | | get_boolean_attribute | *No description.* | | get_boolean_map_attribute | *No description.* | @@ -209,7 +210,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_notifications | *No description.* | | reset_comparison | *No description.* | | reset_period | *No description.* | @@ -286,6 +289,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 @@ -412,6 +433,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 @@ -426,6 +468,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_notifications` ```python @@ -465,6 +534,7 @@ def reset_threshold() -> 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 UptimeAlert resource upon running "cdktf plan ". | --- @@ -534,6 +604,55 @@ uptimeAlert.UptimeAlert.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import uptime_alert + +uptimeAlert.UptimeAlert.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a UptimeAlert 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 UptimeAlert to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing UptimeAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_alert#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 UptimeAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeAlert.typescript.md b/docs/uptimeAlert.typescript.md index ff2f23b50..6c117810f 100644 --- a/docs/uptimeAlert.typescript.md +++ b/docs/uptimeAlert.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. | | putNotifications | *No description.* | | resetComparison | *No description.* | | resetPeriod | *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. + +--- + ##### `putNotifications` ```typescript @@ -298,6 +359,7 @@ public resetThreshold(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a UptimeAlert resource upon running "cdktf plan ". | --- @@ -361,6 +423,50 @@ uptimeAlert.UptimeAlert.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { uptimeAlert } from '@cdktf/provider-digitalocean' + +uptimeAlert.UptimeAlert.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a UptimeAlert 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 UptimeAlert to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing UptimeAlert that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_alert#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 UptimeAlert to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeCheck.csharp.md b/docs/uptimeCheck.csharp.md index 71d194ff4..dd9f680bd 100644 --- a/docs/uptimeCheck.csharp.md +++ b/docs/uptimeCheck.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. | | ResetEnabled | *No description.* | | ResetRegions | *No description.* | | ResetType | *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. + +--- + ##### `ResetEnabled` ```csharp @@ -285,6 +346,7 @@ private void ResetType() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a UptimeCheck resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ UptimeCheck.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +UptimeCheck.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a UptimeCheck 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 UptimeCheck to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing UptimeCheck that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_check#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 UptimeCheck to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeCheck.go.md b/docs/uptimeCheck.go.md index c82d5ac0b..df5102b39 100644 --- a/docs/uptimeCheck.go.md +++ b/docs/uptimeCheck.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. | | ResetEnabled | *No description.* | | ResetRegions | *No description.* | | ResetType | *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. + +--- + ##### `ResetEnabled` ```go @@ -285,6 +346,7 @@ func ResetType() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a UptimeCheck resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ uptimecheck.UptimeCheck_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/uptimecheck" + +uptimecheck.UptimeCheck_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a UptimeCheck 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 UptimeCheck to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing UptimeCheck that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_check#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 UptimeCheck to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeCheck.java.md b/docs/uptimeCheck.java.md index 7f5fcc8ce..ac8635d75 100644 --- a/docs/uptimeCheck.java.md +++ b/docs/uptimeCheck.java.md @@ -175,6 +175,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -184,7 +185,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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. | | resetEnabled | *No description.* | | resetRegions | *No description.* | | resetType | *No description.* | @@ -255,6 +258,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 @@ -363,6 +382,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 @@ -375,6 +413,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. + +--- + ##### `resetEnabled` ```java @@ -400,6 +463,7 @@ public void resetType() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a UptimeCheck resource upon running "cdktf plan ". | --- @@ -463,6 +527,50 @@ UptimeCheck.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.uptime_check.UptimeCheck; + +UptimeCheck.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),UptimeCheck.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a UptimeCheck 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 UptimeCheck to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing UptimeCheck that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_check#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 UptimeCheck to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeCheck.python.md b/docs/uptimeCheck.python.md index 267aa6343..89f2cf953 100644 --- a/docs/uptimeCheck.python.md +++ b/docs/uptimeCheck.python.md @@ -172,6 +172,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -181,7 +182,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_enabled | *No description.* | | reset_regions | *No description.* | | reset_type | *No description.* | @@ -257,6 +260,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 @@ -383,6 +404,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 @@ -397,6 +439,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_enabled` ```python @@ -422,6 +491,7 @@ def reset_type() -> 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 UptimeCheck resource upon running "cdktf plan ". | --- @@ -491,6 +561,55 @@ uptimeCheck.UptimeCheck.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import uptime_check + +uptimeCheck.UptimeCheck.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a UptimeCheck 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 UptimeCheck to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing UptimeCheck that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_check#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 UptimeCheck to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/uptimeCheck.typescript.md b/docs/uptimeCheck.typescript.md index 94ab4ae9a..55b219c10 100644 --- a/docs/uptimeCheck.typescript.md +++ b/docs/uptimeCheck.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. | | resetEnabled | *No description.* | | resetRegions | *No description.* | | resetType | *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. + +--- + ##### `resetEnabled` ```typescript @@ -285,6 +346,7 @@ public resetType(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a UptimeCheck resource upon running "cdktf plan ". | --- @@ -348,6 +410,50 @@ uptimeCheck.UptimeCheck.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { uptimeCheck } from '@cdktf/provider-digitalocean' + +uptimeCheck.UptimeCheck.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a UptimeCheck 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 UptimeCheck to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing UptimeCheck that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_check#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 UptimeCheck to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volume.csharp.md b/docs/volume.csharp.md index c4225f0b7..ea8c1a8cb 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. | | ResetDescription | *No description.* | | ResetFilesystemType | *No description.* | | ResetId | *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. + +--- + ##### `ResetDescription` ```csharp @@ -313,6 +374,7 @@ private void ResetTags() | 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 ". | --- @@ -376,6 +438,50 @@ Volume.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +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/digitalocean/digitalocean/2.30.0/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 91445e346..a61dcb284 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. | | ResetDescription | *No description.* | | ResetFilesystemType | *No description.* | | ResetId | *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. + +--- + ##### `ResetDescription` ```go @@ -313,6 +374,7 @@ func ResetTags() | 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 ". | --- @@ -376,6 +438,50 @@ volume.Volume_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/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/digitalocean/digitalocean/2.30.0/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 3aff74799..d168895da 100644 --- a/docs/volume.java.md +++ b/docs/volume.java.md @@ -217,6 +217,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -226,7 +227,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | resetDescription | *No description.* | | resetFilesystemType | *No description.* | | resetId | *No description.* | @@ -301,6 +304,22 @@ public java.lang.Object toTerraform() Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```java +public void addMoveTarget(java.lang.String moveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```java @@ -409,6 +428,25 @@ public java.util.Map getStringMapAttribute(j --- +##### `importFrom` + +```java +public void importFrom(java.lang.String id) +public void importFrom(java.lang.String id, TerraformProvider provider) +``` + +###### `id`Required + +- *Type:* java.lang.String + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```java @@ -421,6 +459,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `resetDescription` ```java @@ -470,6 +533,7 @@ public void resetTags() | 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 ". | --- @@ -533,6 +597,50 @@ Volume.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.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/digitalocean/digitalocean/2.30.0/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 f18d696f0..4d1f5d9d0 100644 --- a/docs/volume.python.md +++ b/docs/volume.python.md @@ -215,6 +215,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -224,7 +225,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | reset_description | *No description.* | | reset_filesystem_type | *No description.* | | reset_id | *No description.* | @@ -304,6 +307,24 @@ def to_terraform() -> typing.Any Adds this resource to the terraform JSON output. +##### `add_move_target` + +```python +def add_move_target( + move_target: str +) -> None +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `move_target`Required + +- *Type:* str + +The string move target that will correspond to this resource. + +--- + ##### `get_any_map_attribute` ```python @@ -430,6 +451,27 @@ def get_string_map_attribute( --- +##### `import_from` + +```python +def import_from( + id: str, + provider: TerraformProvider = None +) -> None +``` + +###### `id`Required + +- *Type:* str + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolation_for_attribute` ```python @@ -444,6 +486,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `reset_description` ```python @@ -493,6 +562,7 @@ def reset_tags() -> 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 ". | --- @@ -562,6 +632,55 @@ volume.Volume.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean 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/digitalocean/digitalocean/2.30.0/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 a25f783b0..39917bc94 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. | | resetDescription | *No description.* | | resetFilesystemType | *No description.* | | resetId | *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. + +--- + ##### `resetDescription` ```typescript @@ -313,6 +374,7 @@ public resetTags(): 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 ". | --- @@ -376,6 +438,50 @@ volume.Volume.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { volume } from '@cdktf/provider-digitalocean' + +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/digitalocean/digitalocean/2.30.0/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/volumeAttachment.csharp.md b/docs/volumeAttachment.csharp.md index e276ab8c2..2e9c7989e 100644 --- a/docs/volumeAttachment.csharp.md +++ b/docs/volumeAttachment.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 VolumeAttachment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ VolumeAttachment.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +VolumeAttachment.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VolumeAttachment 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 VolumeAttachment to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VolumeAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeAttachment.go.md b/docs/volumeAttachment.go.md index 746113607..1b9e97f86 100644 --- a/docs/volumeAttachment.go.md +++ b/docs/volumeAttachment.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 VolumeAttachment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ volumeattachment.VolumeAttachment_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/volumeattachment" + +volumeattachment.VolumeAttachment_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VolumeAttachment 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 VolumeAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VolumeAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeAttachment.java.md b/docs/volumeAttachment.java.md index 85bc5e4ce..2624dad72 100644 --- a/docs/volumeAttachment.java.md +++ b/docs/volumeAttachment.java.md @@ -147,6 +147,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.* | @@ -156,7 +157,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.* | --- @@ -225,6 +228,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 @@ -333,6 +352,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 @@ -345,6 +383,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 @@ -358,6 +421,7 @@ public void resetId() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VolumeAttachment resource upon running "cdktf plan ". | --- @@ -421,6 +485,50 @@ VolumeAttachment.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.volume_attachment.VolumeAttachment; + +VolumeAttachment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VolumeAttachment.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VolumeAttachment 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 VolumeAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VolumeAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeAttachment.python.md b/docs/volumeAttachment.python.md index 11ed2177d..3cc337d1a 100644 --- a/docs/volumeAttachment.python.md +++ b/docs/volumeAttachment.python.md @@ -145,6 +145,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.* | @@ -154,7 +155,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.* | --- @@ -228,6 +231,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 @@ -354,6 +375,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 @@ -368,6 +410,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 @@ -381,6 +450,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 VolumeAttachment resource upon running "cdktf plan ". | --- @@ -450,6 +520,55 @@ volumeAttachment.VolumeAttachment.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import volume_attachment + +volumeAttachment.VolumeAttachment.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VolumeAttachment 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 VolumeAttachment to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VolumeAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeAttachment.typescript.md b/docs/volumeAttachment.typescript.md index 01801210b..84ae52ac8 100644 --- a/docs/volumeAttachment.typescript.md +++ b/docs/volumeAttachment.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 VolumeAttachment resource upon running "cdktf plan ". | --- @@ -334,6 +396,50 @@ volumeAttachment.VolumeAttachment.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { volumeAttachment } from '@cdktf/provider-digitalocean' + +volumeAttachment.VolumeAttachment.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VolumeAttachment 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 VolumeAttachment to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VolumeAttachment that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_attachment#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeAttachment to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeSnapshot.csharp.md b/docs/volumeSnapshot.csharp.md index 547287ffb..21856be99 100644 --- a/docs/volumeSnapshot.csharp.md +++ b/docs/volumeSnapshot.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.* | | ResetTags | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ private void ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VolumeSnapshot resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ VolumeSnapshot.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +VolumeSnapshot.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a VolumeSnapshot 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 VolumeSnapshot to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing VolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeSnapshot.go.md b/docs/volumeSnapshot.go.md index 5b487a088..112a7d7ea 100644 --- a/docs/volumeSnapshot.go.md +++ b/docs/volumeSnapshot.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.* | | ResetTags | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ func ResetTags() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a VolumeSnapshot resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ volumesnapshot.VolumeSnapshot_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/volumesnapshot" + +volumesnapshot.VolumeSnapshot_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a VolumeSnapshot 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 VolumeSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing VolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeSnapshot.java.md b/docs/volumeSnapshot.java.md index c88085c47..67001ae75 100644 --- a/docs/volumeSnapshot.java.md +++ b/docs/volumeSnapshot.java.md @@ -157,6 +157,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -166,7 +167,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | | resetTags | *No description.* | @@ -236,6 +239,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 @@ -344,6 +363,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 @@ -356,6 +394,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 @@ -375,6 +438,7 @@ public void resetTags() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VolumeSnapshot resource upon running "cdktf plan ". | --- @@ -438,6 +502,50 @@ VolumeSnapshot.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.volume_snapshot.VolumeSnapshot; + +VolumeSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),VolumeSnapshot.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a VolumeSnapshot 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 VolumeSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing VolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* com.hashicorp.cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeSnapshot.python.md b/docs/volumeSnapshot.python.md index f6fc29813..0db40ee96 100644 --- a/docs/volumeSnapshot.python.md +++ b/docs/volumeSnapshot.python.md @@ -155,6 +155,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -164,7 +165,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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_tags | *No description.* | @@ -239,6 +242,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 @@ -365,6 +386,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 @@ -379,6 +421,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 @@ -398,6 +467,7 @@ def reset_tags() -> 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 VolumeSnapshot resource upon running "cdktf plan ". | --- @@ -467,6 +537,55 @@ volumeSnapshot.VolumeSnapshot.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import volume_snapshot + +volumeSnapshot.VolumeSnapshot.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a VolumeSnapshot 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 VolumeSnapshot to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing VolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/volumeSnapshot.typescript.md b/docs/volumeSnapshot.typescript.md index 34eb7382b..59b1070c8 100644 --- a/docs/volumeSnapshot.typescript.md +++ b/docs/volumeSnapshot.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.* | | resetTags | *No description.* | @@ -139,6 +142,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 @@ -247,6 +266,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 @@ -259,6 +296,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 @@ -278,6 +339,7 @@ public resetTags(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a VolumeSnapshot resource upon running "cdktf plan ". | --- @@ -341,6 +403,50 @@ volumeSnapshot.VolumeSnapshot.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { volumeSnapshot } from '@cdktf/provider-digitalocean' + +volumeSnapshot.VolumeSnapshot.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a VolumeSnapshot 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 VolumeSnapshot to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing VolumeSnapshot that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_snapshot#import import section} in the documentation of this resource for the id to use + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +? Optional instance of the provider where the VolumeSnapshot to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vpc.csharp.md b/docs/vpc.csharp.md index 1a96d42b2..d1269d720 100644 --- a/docs/vpc.csharp.md +++ b/docs/vpc.csharp.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetDescription | *No description.* | | ResetId | *No description.* | @@ -142,6 +145,22 @@ private object ToTerraform() Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```csharp +private void AddMoveTarget(string MoveTarget) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `MoveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```csharp @@ -250,6 +269,24 @@ private System.Collections.Generic.IDictionary GetStringMapAttri --- +##### `ImportFrom` + +```csharp +private void ImportFrom(string Id, TerraformProvider Provider = null) +``` + +###### `Id`Required + +- *Type:* string + +--- + +###### `Provider`Optional + +- *Type:* HashiCorp.Cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```csharp @@ -262,6 +299,30 @@ private IResolvable InterpolationForAttribute(string TerraformAttribute) --- +##### `MoveTo` + +```csharp +private void MoveTo(string MoveTarget, object Index = null) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `MoveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `Index`Optional + +- *Type:* object + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```csharp @@ -305,6 +366,7 @@ private void ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Vpc resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ Vpc.IsTerraformResource(object X); --- +##### `GenerateConfigForImport` + +```csharp +using HashiCorp.Cdktf.Providers.Digitalocean; + +Vpc.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null); +``` + +Generates CDKTF code for importing a Vpc 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 Vpc to import. + +--- + +###### `ImportFromId`Required + +- *Type:* string + +The id of the existing Vpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/vpc#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 Vpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vpc.go.md b/docs/vpc.go.md index b68210e93..138c0dfc8 100644 --- a/docs/vpc.go.md +++ b/docs/vpc.go.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | ResetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | ToMetadata | *No description.* | | ToTerraform | Adds this resource to the terraform JSON output. | +| AddMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | GetAnyMapAttribute | *No description.* | | GetBooleanAttribute | *No description.* | | GetBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | GetNumberMapAttribute | *No description.* | | GetStringAttribute | *No description.* | | GetStringMapAttribute | *No description.* | +| ImportFrom | *No description.* | | InterpolationForAttribute | *No description.* | +| MoveTo | Moves this resource to the target resource given by moveTarget. | | PutTimeouts | *No description.* | | ResetDescription | *No description.* | | ResetId | *No description.* | @@ -142,6 +145,22 @@ func ToTerraform() interface{} Adds this resource to the terraform JSON output. +##### `AddMoveTarget` + +```go +func AddMoveTarget(moveTarget *string) +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* *string + +The string move target that will correspond to this resource. + +--- + ##### `GetAnyMapAttribute` ```go @@ -250,6 +269,24 @@ func GetStringMapAttribute(terraformAttribute *string) *map[string]*string --- +##### `ImportFrom` + +```go +func ImportFrom(id *string, provider TerraformProvider) +``` + +###### `id`Required + +- *Type:* *string + +--- + +###### `provider`Optional + +- *Type:* github.com/hashicorp/terraform-cdk-go/cdktf.TerraformProvider + +--- + ##### `InterpolationForAttribute` ```go @@ -262,6 +299,30 @@ func InterpolationForAttribute(terraformAttribute *string) IResolvable --- +##### `MoveTo` + +```go +func MoveTo(moveTarget *string, index interface{}) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* *string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* interface{} + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `PutTimeouts` ```go @@ -305,6 +366,7 @@ func ResetTimeouts() | IsConstruct | Checks if `x` is a construct. | | IsTerraformElement | *No description.* | | IsTerraformResource | *No description.* | +| GenerateConfigForImport | Generates CDKTF code for importing a Vpc resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ vpc.Vpc_IsTerraformResource(x interface{}) *bool --- +##### `GenerateConfigForImport` + +```go +import "github.com/cdktf/cdktf-provider-digitalocean-go/digitalocean/v10/vpc" + +vpc.Vpc_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResource +``` + +Generates CDKTF code for importing a Vpc 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 Vpc to import. + +--- + +###### `importFromId`Required + +- *Type:* *string + +The id of the existing Vpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/vpc#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 Vpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vpc.java.md b/docs/vpc.java.md index b2fa74ded..7e40163af 100644 --- a/docs/vpc.java.md +++ b/docs/vpc.java.md @@ -187,6 +187,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -196,7 +197,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetDescription | *No description.* | | resetId | *No description.* | @@ -269,6 +272,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 @@ -377,6 +396,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 @@ -389,6 +427,31 @@ public IResolvable interpolationForAttribute(java.lang.String terraformAttribute --- +##### `moveTo` + +```java +public void moveTo(java.lang.String moveTarget) +public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index) +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* java.lang.String + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* java.lang.String OR java.lang.Number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```java @@ -432,6 +495,7 @@ public void resetTimeouts() | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Vpc resource upon running "cdktf plan ". | --- @@ -495,6 +559,50 @@ Vpc.isTerraformResource(java.lang.Object x) --- +##### `generateConfigForImport` + +```java +import com.hashicorp.cdktf.providers.digitalocean.vpc.Vpc; + +Vpc.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),Vpc.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider) +``` + +Generates CDKTF code for importing a Vpc 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 Vpc to import. + +--- + +###### `importFromId`Required + +- *Type:* java.lang.String + +The id of the existing Vpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/vpc#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 Vpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vpc.python.md b/docs/vpc.python.md index d0264ff78..66315affb 100644 --- a/docs/vpc.python.md +++ b/docs/vpc.python.md @@ -185,6 +185,7 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | 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.* | @@ -194,7 +195,9 @@ Docs at Terraform Registry: {@link https://registry.terraform.io/providers/digit | get_number_map_attribute | *No description.* | | get_string_attribute | *No description.* | | get_string_map_attribute | *No description.* | +| import_from | *No description.* | | interpolation_for_attribute | *No description.* | +| move_to | Moves this resource to the target resource given by moveTarget. | | put_timeouts | *No description.* | | reset_description | *No description.* | | reset_id | *No description.* | @@ -272,6 +275,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 @@ -398,6 +419,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 @@ -412,6 +454,33 @@ def interpolation_for_attribute( --- +##### `move_to` + +```python +def move_to( + move_target: str, + index: typing.Union[str, typing.Union[int, float]] = None +) -> None +``` + +Moves this resource to the target resource given by moveTarget. + +###### `move_target`Required + +- *Type:* str + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* typing.Union[str, typing.Union[int, float]] + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `put_timeouts` ```python @@ -459,6 +528,7 @@ def reset_timeouts() -> None | is_construct | Checks if `x` is a construct. | | is_terraform_element | *No description.* | | is_terraform_resource | *No description.* | +| generate_config_for_import | Generates CDKTF code for importing a Vpc resource upon running "cdktf plan ". | --- @@ -528,6 +598,55 @@ vpc.Vpc.is_terraform_resource( --- +##### `generate_config_for_import` + +```python +from cdktf_cdktf_provider_digitalocean import vpc + +vpc.Vpc.generate_config_for_import( + scope: Construct, + import_to_id: str, + import_from_id: str, + provider: TerraformProvider = None +) +``` + +Generates CDKTF code for importing a Vpc 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 Vpc to import. + +--- + +###### `import_from_id`Required + +- *Type:* str + +The id of the existing Vpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/vpc#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 Vpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/docs/vpc.typescript.md b/docs/vpc.typescript.md index df42bf2d5..5eea23c8c 100644 --- a/docs/vpc.typescript.md +++ b/docs/vpc.typescript.md @@ -60,6 +60,7 @@ Must be unique amongst siblings in the same scope | resetOverrideLogicalId | Resets a previously passed logical Id to use the auto-generated logical id again. | | toMetadata | *No description.* | | toTerraform | Adds this resource to the terraform JSON output. | +| addMoveTarget | Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. | | getAnyMapAttribute | *No description.* | | getBooleanAttribute | *No description.* | | getBooleanMapAttribute | *No description.* | @@ -69,7 +70,9 @@ Must be unique amongst siblings in the same scope | getNumberMapAttribute | *No description.* | | getStringAttribute | *No description.* | | getStringMapAttribute | *No description.* | +| importFrom | *No description.* | | interpolationForAttribute | *No description.* | +| moveTo | Moves this resource to the target resource given by moveTarget. | | putTimeouts | *No description.* | | resetDescription | *No description.* | | resetId | *No description.* | @@ -142,6 +145,22 @@ public toTerraform(): any Adds this resource to the terraform JSON output. +##### `addMoveTarget` + +```typescript +public addMoveTarget(moveTarget: string): void +``` + +Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. + +###### `moveTarget`Required + +- *Type:* string + +The string move target that will correspond to this resource. + +--- + ##### `getAnyMapAttribute` ```typescript @@ -250,6 +269,24 @@ public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: stri --- +##### `importFrom` + +```typescript +public importFrom(id: string, provider?: TerraformProvider): void +``` + +###### `id`Required + +- *Type:* string + +--- + +###### `provider`Optional + +- *Type:* cdktf.TerraformProvider + +--- + ##### `interpolationForAttribute` ```typescript @@ -262,6 +299,30 @@ public interpolationForAttribute(terraformAttribute: string): IResolvable --- +##### `moveTo` + +```typescript +public moveTo(moveTarget: string, index?: string | number): void +``` + +Moves this resource to the target resource given by moveTarget. + +###### `moveTarget`Required + +- *Type:* string + +The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to. + +--- + +###### `index`Optional + +- *Type:* string | number + +Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to. + +--- + ##### `putTimeouts` ```typescript @@ -305,6 +366,7 @@ public resetTimeouts(): void | isConstruct | Checks if `x` is a construct. | | isTerraformElement | *No description.* | | isTerraformResource | *No description.* | +| generateConfigForImport | Generates CDKTF code for importing a Vpc resource upon running "cdktf plan ". | --- @@ -368,6 +430,50 @@ vpc.Vpc.isTerraformResource(x: any) --- +##### `generateConfigForImport` + +```typescript +import { vpc } from '@cdktf/provider-digitalocean' + +vpc.Vpc.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider) +``` + +Generates CDKTF code for importing a Vpc 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 Vpc to import. + +--- + +###### `importFromId`Required + +- *Type:* string + +The id of the existing Vpc that should be imported. + +Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/vpc#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 Vpc to import is found. + +--- + #### Properties | **Name** | **Type** | **Description** | diff --git a/package.json b/package.json index 7dbb5a8fb..b9ebe1a84 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "@actions/core": "^1.1.0", "@cdktf/provider-project": "^0.2.95", "@types/node": "^18", - "cdktf": "^0.18.0", - "cdktf-cli": "^0.18.0", + "cdktf": "^0.19.0", + "cdktf-cli": "^0.19.0", "constructs": "^10.0.0", "dot-prop": "^5.2.0", "jsii": "^5.0.1", @@ -58,12 +58,12 @@ "jsii-rosetta": "~5.1.2", "node-fetch": "cjs", "npm-check-updates": "^16", - "projen": "^0.74.18", + "projen": "^0.75.0", "standard-version": "^9", "typescript": "^4.9.5" }, "peerDependencies": { - "cdktf": "^0.18.0", + "cdktf": "^0.19.0", "constructs": "^10.0.0" }, "resolutions": { diff --git a/src/app/index.ts b/src/app/index.ts index 7ba6929ef..64c19a678 100644 --- a/src/app/index.ts +++ b/src/app/index.ts @@ -11282,6 +11282,20 @@ export class App extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_app"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a App 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 App to import + * @param importFromId The id of the existing App that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/app#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the App to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_app", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/cdn/index.ts b/src/cdn/index.ts index 1346697dd..300758455 100644 --- a/src/cdn/index.ts +++ b/src/cdn/index.ts @@ -59,6 +59,20 @@ export class Cdn extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_cdn"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Cdn 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 Cdn to import + * @param importFromId The id of the existing Cdn that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/cdn#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Cdn to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_cdn", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/certificate/index.ts b/src/certificate/index.ts index 4629a88df..ef3e89c3f 100644 --- a/src/certificate/index.ts +++ b/src/certificate/index.ts @@ -55,6 +55,20 @@ export class Certificate extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_certificate"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Certificate 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 Certificate to import + * @param importFromId The id of the existing Certificate that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/certificate#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Certificate to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_certificate", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/container-registry-docker-credentials/index.ts b/src/container-registry-docker-credentials/index.ts index 4cccca2ca..55f5fc041 100644 --- a/src/container-registry-docker-credentials/index.ts +++ b/src/container-registry-docker-credentials/index.ts @@ -43,6 +43,20 @@ export class ContainerRegistryDockerCredentials extends cdktf.TerraformResource // ================= public static readonly tfResourceType = "digitalocean_container_registry_docker_credentials"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ContainerRegistryDockerCredentials 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 ContainerRegistryDockerCredentials to import + * @param importFromId The id of the existing ContainerRegistryDockerCredentials that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry_docker_credentials#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ContainerRegistryDockerCredentials to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_container_registry_docker_credentials", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/container-registry/index.ts b/src/container-registry/index.ts index 3b98705c3..c51a3b399 100644 --- a/src/container-registry/index.ts +++ b/src/container-registry/index.ts @@ -43,6 +43,20 @@ export class ContainerRegistry extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_container_registry"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ContainerRegistry 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 ContainerRegistry to import + * @param importFromId The id of the existing ContainerRegistry that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/container_registry#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ContainerRegistry to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_container_registry", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/custom-image/index.ts b/src/custom-image/index.ts index 49ce0e30a..52d1e4afd 100644 --- a/src/custom-image/index.ts +++ b/src/custom-image/index.ts @@ -136,6 +136,20 @@ export class CustomImage extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_custom_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a CustomImage 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 CustomImage to import + * @param importFromId The id of the existing CustomImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/custom_image#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the CustomImage to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_custom_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-account/index.ts b/src/data-digitalocean-account/index.ts index ddbc3d550..b838a41cb 100644 --- a/src/data-digitalocean-account/index.ts +++ b/src/data-digitalocean-account/index.ts @@ -31,6 +31,20 @@ export class DataDigitaloceanAccount extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_account"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanAccount 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 DataDigitaloceanAccount to import + * @param importFromId The id of the existing DataDigitaloceanAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/account#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanAccount to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_account", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-app/index.ts b/src/data-digitalocean-app/index.ts index f31c2f6b5..3a351fa94 100644 --- a/src/data-digitalocean-app/index.ts +++ b/src/data-digitalocean-app/index.ts @@ -5364,6 +5364,20 @@ export class DataDigitaloceanApp extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_app"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanApp 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 DataDigitaloceanApp to import + * @param importFromId The id of the existing DataDigitaloceanApp that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/app#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanApp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_app", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-certificate/index.ts b/src/data-digitalocean-certificate/index.ts index 1b9daf1e2..86d2744de 100644 --- a/src/data-digitalocean-certificate/index.ts +++ b/src/data-digitalocean-certificate/index.ts @@ -37,6 +37,20 @@ export class DataDigitaloceanCertificate extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_certificate"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanCertificate 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 DataDigitaloceanCertificate to import + * @param importFromId The id of the existing DataDigitaloceanCertificate that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/certificate#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanCertificate to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_certificate", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-container-registry/index.ts b/src/data-digitalocean-container-registry/index.ts index dee7589dd..def94cb14 100644 --- a/src/data-digitalocean-container-registry/index.ts +++ b/src/data-digitalocean-container-registry/index.ts @@ -37,6 +37,20 @@ export class DataDigitaloceanContainerRegistry extends cdktf.TerraformDataSource // ================= public static readonly tfResourceType = "digitalocean_container_registry"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanContainerRegistry 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 DataDigitaloceanContainerRegistry to import + * @param importFromId The id of the existing DataDigitaloceanContainerRegistry that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/container_registry#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanContainerRegistry to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_container_registry", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-database-ca/index.ts b/src/data-digitalocean-database-ca/index.ts index ca592c712..052ebc279 100644 --- a/src/data-digitalocean-database-ca/index.ts +++ b/src/data-digitalocean-database-ca/index.ts @@ -35,6 +35,20 @@ export class DataDigitaloceanDatabaseCa extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_database_ca"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDatabaseCa 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 DataDigitaloceanDatabaseCa to import + * @param importFromId The id of the existing DataDigitaloceanDatabaseCa that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_ca#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDatabaseCa to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_ca", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-database-cluster/index.ts b/src/data-digitalocean-database-cluster/index.ts index 9ca6c38aa..58685e9b1 100644 --- a/src/data-digitalocean-database-cluster/index.ts +++ b/src/data-digitalocean-database-cluster/index.ts @@ -108,6 +108,20 @@ export class DataDigitaloceanDatabaseCluster extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_database_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDatabaseCluster 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 DataDigitaloceanDatabaseCluster to import + * @param importFromId The id of the existing DataDigitaloceanDatabaseCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDatabaseCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-database-replica/index.ts b/src/data-digitalocean-database-replica/index.ts index cc1f7d8c9..e597701a1 100644 --- a/src/data-digitalocean-database-replica/index.ts +++ b/src/data-digitalocean-database-replica/index.ts @@ -43,6 +43,20 @@ export class DataDigitaloceanDatabaseReplica extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_database_replica"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDatabaseReplica 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 DataDigitaloceanDatabaseReplica to import + * @param importFromId The id of the existing DataDigitaloceanDatabaseReplica that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_replica#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDatabaseReplica to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_replica", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-database-user/index.ts b/src/data-digitalocean-database-user/index.ts index 0da05016a..b9c559abd 100644 --- a/src/data-digitalocean-database-user/index.ts +++ b/src/data-digitalocean-database-user/index.ts @@ -39,6 +39,20 @@ export class DataDigitaloceanDatabaseUser extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_database_user"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDatabaseUser 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 DataDigitaloceanDatabaseUser to import + * @param importFromId The id of the existing DataDigitaloceanDatabaseUser that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/database_user#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDatabaseUser to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_user", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-domain/index.ts b/src/data-digitalocean-domain/index.ts index 76b205b06..7e2171cc9 100644 --- a/src/data-digitalocean-domain/index.ts +++ b/src/data-digitalocean-domain/index.ts @@ -37,6 +37,20 @@ export class DataDigitaloceanDomain extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_domain"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDomain 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 DataDigitaloceanDomain to import + * @param importFromId The id of the existing DataDigitaloceanDomain that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domain#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDomain to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_domain", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-domains/index.ts b/src/data-digitalocean-domains/index.ts index 99429a23c..aec613f7e 100644 --- a/src/data-digitalocean-domains/index.ts +++ b/src/data-digitalocean-domains/index.ts @@ -410,6 +410,20 @@ export class DataDigitaloceanDomains extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_domains"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDomains 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 DataDigitaloceanDomains to import + * @param importFromId The id of the existing DataDigitaloceanDomains that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/domains#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDomains to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_domains", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-droplet-snapshot/index.ts b/src/data-digitalocean-droplet-snapshot/index.ts index 87dd57319..ab4ebe23d 100644 --- a/src/data-digitalocean-droplet-snapshot/index.ts +++ b/src/data-digitalocean-droplet-snapshot/index.ts @@ -47,6 +47,20 @@ export class DataDigitaloceanDropletSnapshot extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_droplet_snapshot"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDropletSnapshot 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 DataDigitaloceanDropletSnapshot to import + * @param importFromId The id of the existing DataDigitaloceanDropletSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDropletSnapshot to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_droplet_snapshot", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-droplet/index.ts b/src/data-digitalocean-droplet/index.ts index a7ac1d213..72647e42b 100644 --- a/src/data-digitalocean-droplet/index.ts +++ b/src/data-digitalocean-droplet/index.ts @@ -45,6 +45,20 @@ export class DataDigitaloceanDroplet extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_droplet"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDroplet 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 DataDigitaloceanDroplet to import + * @param importFromId The id of the existing DataDigitaloceanDroplet that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplet#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDroplet to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_droplet", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-droplets/index.ts b/src/data-digitalocean-droplets/index.ts index 193ee4968..956899c32 100644 --- a/src/data-digitalocean-droplets/index.ts +++ b/src/data-digitalocean-droplets/index.ts @@ -520,6 +520,20 @@ export class DataDigitaloceanDroplets extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_droplets"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanDroplets 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 DataDigitaloceanDroplets to import + * @param importFromId The id of the existing DataDigitaloceanDroplets that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/droplets#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanDroplets to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_droplets", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-firewall/index.ts b/src/data-digitalocean-firewall/index.ts index 811b636bd..70c18bbd3 100644 --- a/src/data-digitalocean-firewall/index.ts +++ b/src/data-digitalocean-firewall/index.ts @@ -641,6 +641,20 @@ export class DataDigitaloceanFirewall extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_firewall"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanFirewall 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 DataDigitaloceanFirewall to import + * @param importFromId The id of the existing DataDigitaloceanFirewall that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/firewall#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanFirewall to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_firewall", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-floating-ip/index.ts b/src/data-digitalocean-floating-ip/index.ts index c6c8e46fb..054bcb756 100644 --- a/src/data-digitalocean-floating-ip/index.ts +++ b/src/data-digitalocean-floating-ip/index.ts @@ -37,6 +37,20 @@ export class DataDigitaloceanFloatingIp extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_floating_ip"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanFloatingIp 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 DataDigitaloceanFloatingIp to import + * @param importFromId The id of the existing DataDigitaloceanFloatingIp that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/floating_ip#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanFloatingIp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_floating_ip", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-image/index.ts b/src/data-digitalocean-image/index.ts index 8cd3947ac..6ec5d6412 100644 --- a/src/data-digitalocean-image/index.ts +++ b/src/data-digitalocean-image/index.ts @@ -49,6 +49,20 @@ export class DataDigitaloceanImage extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_image"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanImage 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 DataDigitaloceanImage to import + * @param importFromId The id of the existing DataDigitaloceanImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/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 DataDigitaloceanImage to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_image", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-images/index.ts b/src/data-digitalocean-images/index.ts index 7341da199..9d5093f1e 100644 --- a/src/data-digitalocean-images/index.ts +++ b/src/data-digitalocean-images/index.ts @@ -470,6 +470,20 @@ export class DataDigitaloceanImages extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_images"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanImages 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 DataDigitaloceanImages to import + * @param importFromId The id of the existing DataDigitaloceanImages that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/images#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanImages to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_images", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-kubernetes-cluster/index.ts b/src/data-digitalocean-kubernetes-cluster/index.ts index 531177b7e..c7e66e034 100644 --- a/src/data-digitalocean-kubernetes-cluster/index.ts +++ b/src/data-digitalocean-kubernetes-cluster/index.ts @@ -492,6 +492,20 @@ export class DataDigitaloceanKubernetesCluster extends cdktf.TerraformDataSource // ================= public static readonly tfResourceType = "digitalocean_kubernetes_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanKubernetesCluster 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 DataDigitaloceanKubernetesCluster to import + * @param importFromId The id of the existing DataDigitaloceanKubernetesCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanKubernetesCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_kubernetes_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-kubernetes-versions/index.ts b/src/data-digitalocean-kubernetes-versions/index.ts index f4dd858b4..1d1e81c78 100644 --- a/src/data-digitalocean-kubernetes-versions/index.ts +++ b/src/data-digitalocean-kubernetes-versions/index.ts @@ -35,6 +35,20 @@ export class DataDigitaloceanKubernetesVersions extends cdktf.TerraformDataSourc // ================= public static readonly tfResourceType = "digitalocean_kubernetes_versions"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanKubernetesVersions 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 DataDigitaloceanKubernetesVersions to import + * @param importFromId The id of the existing DataDigitaloceanKubernetesVersions that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/kubernetes_versions#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanKubernetesVersions to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_kubernetes_versions", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-loadbalancer/index.ts b/src/data-digitalocean-loadbalancer/index.ts index 695f9204e..a4179f046 100644 --- a/src/data-digitalocean-loadbalancer/index.ts +++ b/src/data-digitalocean-loadbalancer/index.ts @@ -370,6 +370,20 @@ export class DataDigitaloceanLoadbalancer extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_loadbalancer"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanLoadbalancer 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 DataDigitaloceanLoadbalancer to import + * @param importFromId The id of the existing DataDigitaloceanLoadbalancer that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/loadbalancer#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanLoadbalancer to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_loadbalancer", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-project/index.ts b/src/data-digitalocean-project/index.ts index b389cd17b..25f8d945d 100644 --- a/src/data-digitalocean-project/index.ts +++ b/src/data-digitalocean-project/index.ts @@ -35,6 +35,20 @@ export class DataDigitaloceanProject extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_project"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanProject 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 DataDigitaloceanProject to import + * @param importFromId The id of the existing DataDigitaloceanProject that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/project#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanProject to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_project", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-projects/index.ts b/src/data-digitalocean-projects/index.ts index e35d6defb..ec9d34d3d 100644 --- a/src/data-digitalocean-projects/index.ts +++ b/src/data-digitalocean-projects/index.ts @@ -450,6 +450,20 @@ export class DataDigitaloceanProjects extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_projects"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanProjects 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 DataDigitaloceanProjects to import + * @param importFromId The id of the existing DataDigitaloceanProjects that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/projects#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanProjects to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_projects", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-record/index.ts b/src/data-digitalocean-record/index.ts index e5f5193a5..23b71121f 100644 --- a/src/data-digitalocean-record/index.ts +++ b/src/data-digitalocean-record/index.ts @@ -43,6 +43,20 @@ export class DataDigitaloceanRecord extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_record"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanRecord 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 DataDigitaloceanRecord to import + * @param importFromId The id of the existing DataDigitaloceanRecord that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/record#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanRecord to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_record", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-records/index.ts b/src/data-digitalocean-records/index.ts index 07ce3e37a..cf2678c43 100644 --- a/src/data-digitalocean-records/index.ts +++ b/src/data-digitalocean-records/index.ts @@ -454,6 +454,20 @@ export class DataDigitaloceanRecords extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_records"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanRecords 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 DataDigitaloceanRecords to import + * @param importFromId The id of the existing DataDigitaloceanRecords that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/records#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanRecords to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_records", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-region/index.ts b/src/data-digitalocean-region/index.ts index 41306e6ae..b4b08f0f7 100644 --- a/src/data-digitalocean-region/index.ts +++ b/src/data-digitalocean-region/index.ts @@ -35,6 +35,20 @@ export class DataDigitaloceanRegion extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_region"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanRegion 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 DataDigitaloceanRegion to import + * @param importFromId The id of the existing DataDigitaloceanRegion that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/region#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanRegion to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_region", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-regions/index.ts b/src/data-digitalocean-regions/index.ts index 6c1aed56f..2a16add74 100644 --- a/src/data-digitalocean-regions/index.ts +++ b/src/data-digitalocean-regions/index.ts @@ -420,6 +420,20 @@ export class DataDigitaloceanRegions extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_regions"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanRegions 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 DataDigitaloceanRegions to import + * @param importFromId The id of the existing DataDigitaloceanRegions that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/regions#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanRegions to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_regions", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-reserved-ip/index.ts b/src/data-digitalocean-reserved-ip/index.ts index 6b43d6b7b..420b9547f 100644 --- a/src/data-digitalocean-reserved-ip/index.ts +++ b/src/data-digitalocean-reserved-ip/index.ts @@ -37,6 +37,20 @@ export class DataDigitaloceanReservedIp extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_reserved_ip"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanReservedIp 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 DataDigitaloceanReservedIp to import + * @param importFromId The id of the existing DataDigitaloceanReservedIp that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/reserved_ip#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanReservedIp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_reserved_ip", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-sizes/index.ts b/src/data-digitalocean-sizes/index.ts index 15d5634a5..d47a81cfb 100644 --- a/src/data-digitalocean-sizes/index.ts +++ b/src/data-digitalocean-sizes/index.ts @@ -440,6 +440,20 @@ export class DataDigitaloceanSizes extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_sizes"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSizes 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 DataDigitaloceanSizes to import + * @param importFromId The id of the existing DataDigitaloceanSizes that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/sizes#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSizes to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_sizes", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-spaces-bucket-object/index.ts b/src/data-digitalocean-spaces-bucket-object/index.ts index 5c461fd1e..395d0722f 100644 --- a/src/data-digitalocean-spaces-bucket-object/index.ts +++ b/src/data-digitalocean-spaces-bucket-object/index.ts @@ -51,6 +51,20 @@ export class DataDigitaloceanSpacesBucketObject extends cdktf.TerraformDataSourc // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket_object"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObject 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 DataDigitaloceanSpacesBucketObject to import + * @param importFromId The id of the existing DataDigitaloceanSpacesBucketObject that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_object#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSpacesBucketObject to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket_object", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-spaces-bucket-objects/index.ts b/src/data-digitalocean-spaces-bucket-objects/index.ts index 171fdc2ee..c7d9ae89e 100644 --- a/src/data-digitalocean-spaces-bucket-objects/index.ts +++ b/src/data-digitalocean-spaces-bucket-objects/index.ts @@ -55,6 +55,20 @@ export class DataDigitaloceanSpacesBucketObjects extends cdktf.TerraformDataSour // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket_objects"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSpacesBucketObjects 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 DataDigitaloceanSpacesBucketObjects to import + * @param importFromId The id of the existing DataDigitaloceanSpacesBucketObjects that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket_objects#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSpacesBucketObjects to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket_objects", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-spaces-bucket/index.ts b/src/data-digitalocean-spaces-bucket/index.ts index e2d96ee99..2eb93a628 100644 --- a/src/data-digitalocean-spaces-bucket/index.ts +++ b/src/data-digitalocean-spaces-bucket/index.ts @@ -43,6 +43,20 @@ export class DataDigitaloceanSpacesBucket extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSpacesBucket 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 DataDigitaloceanSpacesBucket to import + * @param importFromId The id of the existing DataDigitaloceanSpacesBucket that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_bucket#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSpacesBucket to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-spaces-buckets/index.ts b/src/data-digitalocean-spaces-buckets/index.ts index ca716f823..b3f01faca 100644 --- a/src/data-digitalocean-spaces-buckets/index.ts +++ b/src/data-digitalocean-spaces-buckets/index.ts @@ -420,6 +420,20 @@ export class DataDigitaloceanSpacesBuckets extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_spaces_buckets"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSpacesBuckets 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 DataDigitaloceanSpacesBuckets to import + * @param importFromId The id of the existing DataDigitaloceanSpacesBuckets that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/spaces_buckets#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSpacesBuckets to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_buckets", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-ssh-key/index.ts b/src/data-digitalocean-ssh-key/index.ts index 9b1fbbed6..094696704 100644 --- a/src/data-digitalocean-ssh-key/index.ts +++ b/src/data-digitalocean-ssh-key/index.ts @@ -30,6 +30,20 @@ export class DataDigitaloceanSshKey extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_ssh_key"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSshKey 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 DataDigitaloceanSshKey to import + * @param importFromId The id of the existing DataDigitaloceanSshKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_key#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSshKey to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_ssh_key", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-ssh-keys/index.ts b/src/data-digitalocean-ssh-keys/index.ts index 68a368a43..723a015f4 100644 --- a/src/data-digitalocean-ssh-keys/index.ts +++ b/src/data-digitalocean-ssh-keys/index.ts @@ -415,6 +415,20 @@ export class DataDigitaloceanSshKeys extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_ssh_keys"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanSshKeys 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 DataDigitaloceanSshKeys to import + * @param importFromId The id of the existing DataDigitaloceanSshKeys that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/ssh_keys#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanSshKeys to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_ssh_keys", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-tag/index.ts b/src/data-digitalocean-tag/index.ts index cec27605f..97be0989c 100644 --- a/src/data-digitalocean-tag/index.ts +++ b/src/data-digitalocean-tag/index.ts @@ -37,6 +37,20 @@ export class DataDigitaloceanTag extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_tag"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanTag 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 DataDigitaloceanTag to import + * @param importFromId The id of the existing DataDigitaloceanTag that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tag#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanTag to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_tag", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-tags/index.ts b/src/data-digitalocean-tags/index.ts index 9ae6a0ae6..b9e069bf4 100644 --- a/src/data-digitalocean-tags/index.ts +++ b/src/data-digitalocean-tags/index.ts @@ -430,6 +430,20 @@ export class DataDigitaloceanTags extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_tags"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanTags 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 DataDigitaloceanTags to import + * @param importFromId The id of the existing DataDigitaloceanTags that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/tags#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanTags to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_tags", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-volume-snapshot/index.ts b/src/data-digitalocean-volume-snapshot/index.ts index 139ba37ca..8bbb39d32 100644 --- a/src/data-digitalocean-volume-snapshot/index.ts +++ b/src/data-digitalocean-volume-snapshot/index.ts @@ -47,6 +47,20 @@ export class DataDigitaloceanVolumeSnapshot extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_volume_snapshot"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanVolumeSnapshot 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 DataDigitaloceanVolumeSnapshot to import + * @param importFromId The id of the existing DataDigitaloceanVolumeSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume_snapshot#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanVolumeSnapshot to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_volume_snapshot", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-volume/index.ts b/src/data-digitalocean-volume/index.ts index ce3251f9c..1a90bfb73 100644 --- a/src/data-digitalocean-volume/index.ts +++ b/src/data-digitalocean-volume/index.ts @@ -49,6 +49,20 @@ export class DataDigitaloceanVolume extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_volume"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanVolume 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 DataDigitaloceanVolume to import + * @param importFromId The id of the existing DataDigitaloceanVolume that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/volume#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanVolume to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_volume", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/data-digitalocean-vpc/index.ts b/src/data-digitalocean-vpc/index.ts index b0f6c9356..67a1dd3a7 100644 --- a/src/data-digitalocean-vpc/index.ts +++ b/src/data-digitalocean-vpc/index.ts @@ -39,6 +39,20 @@ export class DataDigitaloceanVpc extends cdktf.TerraformDataSource { // ================= public static readonly tfResourceType = "digitalocean_vpc"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DataDigitaloceanVpc 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 DataDigitaloceanVpc to import + * @param importFromId The id of the existing DataDigitaloceanVpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/data-sources/vpc#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DataDigitaloceanVpc to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_vpc", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/database-cluster/index.ts b/src/database-cluster/index.ts index 549166ca7..6a1005bd8 100644 --- a/src/database-cluster/index.ts +++ b/src/database-cluster/index.ts @@ -375,6 +375,20 @@ export class DatabaseCluster extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_database_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DatabaseCluster 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 DatabaseCluster to import + * @param importFromId The id of the existing DatabaseCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DatabaseCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/database-connection-pool/index.ts b/src/database-connection-pool/index.ts index d55e73969..d9bf070ad 100644 --- a/src/database-connection-pool/index.ts +++ b/src/database-connection-pool/index.ts @@ -55,6 +55,20 @@ export class DatabaseConnectionPool extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_database_connection_pool"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DatabaseConnectionPool 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 DatabaseConnectionPool to import + * @param importFromId The id of the existing DatabaseConnectionPool that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_connection_pool#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DatabaseConnectionPool to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_connection_pool", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/database-db/index.ts b/src/database-db/index.ts index e9b4b5ec2..8ac92fddd 100644 --- a/src/database-db/index.ts +++ b/src/database-db/index.ts @@ -39,6 +39,20 @@ export class DatabaseDb extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_database_db"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DatabaseDb 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 DatabaseDb to import + * @param importFromId The id of the existing DatabaseDb that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_db#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DatabaseDb to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_db", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/database-firewall/index.ts b/src/database-firewall/index.ts index ad94ca7e2..9778c0e4c 100644 --- a/src/database-firewall/index.ts +++ b/src/database-firewall/index.ts @@ -169,6 +169,20 @@ export class DatabaseFirewall extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_database_firewall"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DatabaseFirewall 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 DatabaseFirewall to import + * @param importFromId The id of the existing DatabaseFirewall that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_firewall#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DatabaseFirewall to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_firewall", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/database-replica/index.ts b/src/database-replica/index.ts index 5206d0835..144f39d82 100644 --- a/src/database-replica/index.ts +++ b/src/database-replica/index.ts @@ -55,6 +55,20 @@ export class DatabaseReplica extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_database_replica"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DatabaseReplica 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 DatabaseReplica to import + * @param importFromId The id of the existing DatabaseReplica that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_replica#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DatabaseReplica to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_replica", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/database-user/index.ts b/src/database-user/index.ts index 77ea608ac..50b527a03 100644 --- a/src/database-user/index.ts +++ b/src/database-user/index.ts @@ -43,6 +43,20 @@ export class DatabaseUser extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_database_user"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DatabaseUser 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 DatabaseUser to import + * @param importFromId The id of the existing DatabaseUser that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/database_user#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DatabaseUser to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_database_user", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/domain/index.ts b/src/domain/index.ts index 29187eb83..0872c7cdb 100644 --- a/src/domain/index.ts +++ b/src/domain/index.ts @@ -39,6 +39,20 @@ export class Domain extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_domain"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Domain 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 Domain to import + * @param importFromId The id of the existing Domain that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/domain#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Domain to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_domain", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/droplet-snapshot/index.ts b/src/droplet-snapshot/index.ts index b61620472..75f519fa6 100644 --- a/src/droplet-snapshot/index.ts +++ b/src/droplet-snapshot/index.ts @@ -39,6 +39,20 @@ export class DropletSnapshot extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_droplet_snapshot"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DropletSnapshot 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 DropletSnapshot to import + * @param importFromId The id of the existing DropletSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet_snapshot#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DropletSnapshot to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_droplet_snapshot", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/droplet/index.ts b/src/droplet/index.ts index f4d27539c..c00d93f72 100644 --- a/src/droplet/index.ts +++ b/src/droplet/index.ts @@ -234,6 +234,20 @@ export class Droplet extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_droplet"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Droplet 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 Droplet to import + * @param importFromId The id of the existing Droplet that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/droplet#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Droplet to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_droplet", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/firewall/index.ts b/src/firewall/index.ts index 618a44c9a..939a37c0e 100644 --- a/src/firewall/index.ts +++ b/src/firewall/index.ts @@ -641,6 +641,20 @@ export class Firewall extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_firewall"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Firewall 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 Firewall to import + * @param importFromId The id of the existing Firewall that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/firewall#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Firewall to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_firewall", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/floating-ip-assignment/index.ts b/src/floating-ip-assignment/index.ts index f42e44d1b..66d2a197c 100644 --- a/src/floating-ip-assignment/index.ts +++ b/src/floating-ip-assignment/index.ts @@ -39,6 +39,20 @@ export class FloatingIpAssignment extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_floating_ip_assignment"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a FloatingIpAssignment 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 FloatingIpAssignment to import + * @param importFromId The id of the existing FloatingIpAssignment that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip_assignment#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the FloatingIpAssignment to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_floating_ip_assignment", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/floating-ip/index.ts b/src/floating-ip/index.ts index 1ab766ad2..482683857 100644 --- a/src/floating-ip/index.ts +++ b/src/floating-ip/index.ts @@ -43,6 +43,20 @@ export class FloatingIp extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_floating_ip"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a FloatingIp 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 FloatingIp to import + * @param importFromId The id of the existing FloatingIp that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/floating_ip#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the FloatingIp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_floating_ip", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/kubernetes-cluster/index.ts b/src/kubernetes-cluster/index.ts index 55fc07423..9343d12bf 100644 --- a/src/kubernetes-cluster/index.ts +++ b/src/kubernetes-cluster/index.ts @@ -879,6 +879,20 @@ export class KubernetesCluster extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_kubernetes_cluster"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a KubernetesCluster 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 KubernetesCluster to import + * @param importFromId The id of the existing KubernetesCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_cluster#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the KubernetesCluster to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_kubernetes_cluster", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/kubernetes-node-pool/index.ts b/src/kubernetes-node-pool/index.ts index 0302b10e2..0beb8fc04 100644 --- a/src/kubernetes-node-pool/index.ts +++ b/src/kubernetes-node-pool/index.ts @@ -412,6 +412,20 @@ export class KubernetesNodePool extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_kubernetes_node_pool"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a KubernetesNodePool 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 KubernetesNodePool to import + * @param importFromId The id of the existing KubernetesNodePool that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/kubernetes_node_pool#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the KubernetesNodePool to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_kubernetes_node_pool", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/loadbalancer/index.ts b/src/loadbalancer/index.ts index 24d69b3bb..c651d7d62 100644 --- a/src/loadbalancer/index.ts +++ b/src/loadbalancer/index.ts @@ -794,6 +794,20 @@ export class Loadbalancer extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_loadbalancer"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Loadbalancer 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 Loadbalancer to import + * @param importFromId The id of the existing Loadbalancer that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/loadbalancer#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Loadbalancer to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_loadbalancer", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/monitor-alert/index.ts b/src/monitor-alert/index.ts index 8caa8f385..8673c6740 100644 --- a/src/monitor-alert/index.ts +++ b/src/monitor-alert/index.ts @@ -293,6 +293,20 @@ export class MonitorAlert extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_monitor_alert"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a MonitorAlert 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 MonitorAlert to import + * @param importFromId The id of the existing MonitorAlert that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/monitor_alert#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the MonitorAlert to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_monitor_alert", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/project-resources/index.ts b/src/project-resources/index.ts index 9c3707d2f..4c5445099 100644 --- a/src/project-resources/index.ts +++ b/src/project-resources/index.ts @@ -43,6 +43,20 @@ export class ProjectResources extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_project_resources"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ProjectResources 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 ProjectResources to import + * @param importFromId The id of the existing ProjectResources that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project_resources#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ProjectResources to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_project_resources", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/project/index.ts b/src/project/index.ts index 6c150b1f6..3e0ea2d1c 100644 --- a/src/project/index.ts +++ b/src/project/index.ts @@ -148,6 +148,20 @@ export class Project extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_project"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Project resource upon running "cdktf plan " + * @param scope The scope in which to define this construct + * @param importToId The construct id used in the generated config for the Project to import + * @param importFromId The id of the existing Project that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/project#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Project to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_project", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/provider/index.ts b/src/provider/index.ts index 5b97debcf..69174b09d 100644 --- a/src/provider/index.ts +++ b/src/provider/index.ts @@ -84,6 +84,20 @@ export class DigitaloceanProvider extends cdktf.TerraformProvider { // ================= public static readonly tfResourceType = "digitalocean"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a DigitaloceanProvider 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 DigitaloceanProvider to import + * @param importFromId The id of the existing DigitaloceanProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the DigitaloceanProvider to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/record/index.ts b/src/record/index.ts index 5afda3af8..759addc1f 100644 --- a/src/record/index.ts +++ b/src/record/index.ts @@ -71,6 +71,20 @@ export class Record extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_record"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Record 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 Record to import + * @param importFromId The id of the existing Record that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/record#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Record to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_record", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/reserved-ip-assignment/index.ts b/src/reserved-ip-assignment/index.ts index bfa034acd..573100c50 100644 --- a/src/reserved-ip-assignment/index.ts +++ b/src/reserved-ip-assignment/index.ts @@ -39,6 +39,20 @@ export class ReservedIpAssignment extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_reserved_ip_assignment"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ReservedIpAssignment 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 ReservedIpAssignment to import + * @param importFromId The id of the existing ReservedIpAssignment that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip_assignment#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ReservedIpAssignment to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_reserved_ip_assignment", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/reserved-ip/index.ts b/src/reserved-ip/index.ts index 0d385d307..03ab4b2f1 100644 --- a/src/reserved-ip/index.ts +++ b/src/reserved-ip/index.ts @@ -43,6 +43,20 @@ export class ReservedIp extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_reserved_ip"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a ReservedIp 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 ReservedIp to import + * @param importFromId The id of the existing ReservedIp that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/reserved_ip#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the ReservedIp to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_reserved_ip", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/spaces-bucket-cors-configuration/index.ts b/src/spaces-bucket-cors-configuration/index.ts index deb160f41..416eb68be 100644 --- a/src/spaces-bucket-cors-configuration/index.ts +++ b/src/spaces-bucket-cors-configuration/index.ts @@ -276,6 +276,20 @@ export class SpacesBucketCorsConfiguration extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket_cors_configuration"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a SpacesBucketCorsConfiguration 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 SpacesBucketCorsConfiguration to import + * @param importFromId The id of the existing SpacesBucketCorsConfiguration that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_cors_configuration#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the SpacesBucketCorsConfiguration to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket_cors_configuration", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/spaces-bucket-object/index.ts b/src/spaces-bucket-object/index.ts index f4b2c8b3e..844e744a3 100644 --- a/src/spaces-bucket-object/index.ts +++ b/src/spaces-bucket-object/index.ts @@ -95,6 +95,20 @@ export class SpacesBucketObject extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket_object"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a SpacesBucketObject 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 SpacesBucketObject to import + * @param importFromId The id of the existing SpacesBucketObject that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_object#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the SpacesBucketObject to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket_object", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/spaces-bucket-policy/index.ts b/src/spaces-bucket-policy/index.ts index e1f8ce0f1..a3adb67af 100644 --- a/src/spaces-bucket-policy/index.ts +++ b/src/spaces-bucket-policy/index.ts @@ -43,6 +43,20 @@ export class SpacesBucketPolicy extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket_policy"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a SpacesBucketPolicy 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 SpacesBucketPolicy to import + * @param importFromId The id of the existing SpacesBucketPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket_policy#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the SpacesBucketPolicy to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket_policy", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/spaces-bucket/index.ts b/src/spaces-bucket/index.ts index b8cbfb8b6..53823c97d 100644 --- a/src/spaces-bucket/index.ts +++ b/src/spaces-bucket/index.ts @@ -736,6 +736,20 @@ export class SpacesBucket extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_spaces_bucket"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a SpacesBucket 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 SpacesBucket to import + * @param importFromId The id of the existing SpacesBucket that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/spaces_bucket#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the SpacesBucket to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_spaces_bucket", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/ssh-key/index.ts b/src/ssh-key/index.ts index 09b8185a0..c8d69cf4b 100644 --- a/src/ssh-key/index.ts +++ b/src/ssh-key/index.ts @@ -39,6 +39,20 @@ export class SshKey extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_ssh_key"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a SshKey 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 SshKey to import + * @param importFromId The id of the existing SshKey that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/ssh_key#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the SshKey to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_ssh_key", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/tag/index.ts b/src/tag/index.ts index 195aec0d3..0916b2267 100644 --- a/src/tag/index.ts +++ b/src/tag/index.ts @@ -35,6 +35,20 @@ export class Tag extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_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/digitalocean/digitalocean/2.30.0/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: "digitalocean_tag", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/uptime-alert/index.ts b/src/uptime-alert/index.ts index f902b8631..3189e7bc6 100644 --- a/src/uptime-alert/index.ts +++ b/src/uptime-alert/index.ts @@ -316,6 +316,20 @@ export class UptimeAlert extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_uptime_alert"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a UptimeAlert 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 UptimeAlert to import + * @param importFromId The id of the existing UptimeAlert that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_alert#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the UptimeAlert to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_uptime_alert", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/uptime-check/index.ts b/src/uptime-check/index.ts index 48a0dee29..e48812dc5 100644 --- a/src/uptime-check/index.ts +++ b/src/uptime-check/index.ts @@ -54,6 +54,20 @@ export class UptimeCheck extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_uptime_check"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a UptimeCheck 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 UptimeCheck to import + * @param importFromId The id of the existing UptimeCheck that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/uptime_check#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the UptimeCheck to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_uptime_check", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/volume-attachment/index.ts b/src/volume-attachment/index.ts index 5951d3984..0008ffc84 100644 --- a/src/volume-attachment/index.ts +++ b/src/volume-attachment/index.ts @@ -39,6 +39,20 @@ export class VolumeAttachment extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_volume_attachment"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VolumeAttachment 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 VolumeAttachment to import + * @param importFromId The id of the existing VolumeAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_attachment#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VolumeAttachment to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_volume_attachment", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/volume-snapshot/index.ts b/src/volume-snapshot/index.ts index d14744283..e5a30fb87 100644 --- a/src/volume-snapshot/index.ts +++ b/src/volume-snapshot/index.ts @@ -43,6 +43,20 @@ export class VolumeSnapshot extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_volume_snapshot"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a VolumeSnapshot 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 VolumeSnapshot to import + * @param importFromId The id of the existing VolumeSnapshot that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/volume_snapshot#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the VolumeSnapshot to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_volume_snapshot", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/volume/index.ts b/src/volume/index.ts index 81bfb1600..3999492e0 100644 --- a/src/volume/index.ts +++ b/src/volume/index.ts @@ -67,6 +67,20 @@ export class Volume extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_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/digitalocean/digitalocean/2.30.0/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: "digitalocean_volume", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/src/vpc/index.ts b/src/vpc/index.ts index 68c3af244..74af01913 100644 --- a/src/vpc/index.ts +++ b/src/vpc/index.ts @@ -136,6 +136,20 @@ export class Vpc extends cdktf.TerraformResource { // ================= public static readonly tfResourceType = "digitalocean_vpc"; + // ============== + // STATIC Methods + // ============== + /** + * Generates CDKTF code for importing a Vpc 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 Vpc to import + * @param importFromId The id of the existing Vpc that should be imported. Refer to the {@link https://registry.terraform.io/providers/digitalocean/digitalocean/2.30.0/docs/resources/vpc#import import section} in the documentation of this resource for the id to use + * @param provider? Optional instance of the provider where the Vpc to import is found + */ + public static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider) { + return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "digitalocean_vpc", importId: importFromId, provider }); + } + // =========== // INITIALIZER // =========== diff --git a/yarn.lock b/yarn.lock index b68674407..1c1f0f481 100644 --- a/yarn.lock +++ b/yarn.lock @@ -78,19 +78,19 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" -"@cdktf/cli-core@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/cli-core/-/cli-core-0.18.2.tgz#32ebaca2c79ed3b2341bf46e3bdf4db6991b0f5e" - integrity sha512-deJzuZIJ829tzx0X1t1E1n6jeSCal2SoR1v9r9F6EFTlfAhU3uccj6z6e8RalnLKh4SMJWRtN8PsWzuGaBEN2Q== - dependencies: - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2cdk" "0.18.2" - "@cdktf/hcl2json" "0.18.2" - "@cdktf/node-pty-prebuilt-multiarch" "0.10.1-pre.10" - "@cdktf/provider-schema" "0.18.2" +"@cdktf/cli-core@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/cli-core/-/cli-core-0.19.0.tgz#ed2bccb413332f8cfb685662d60bcbb17c4d5fdb" + integrity sha512-iSkhxuSHEPkPCPwvcM81ytniS3v/3YT+zY/MzeKWVkaMj1hZDF3e2C5gnjOdrb0ZCFIH1+znF+aJK9LiqBoV+Q== + dependencies: + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2cdk" "0.19.0" + "@cdktf/hcl2json" "0.19.0" + "@cdktf/node-pty-prebuilt-multiarch" "0.10.1-pre.11" + "@cdktf/provider-schema" "0.19.0" "@sentry/node" "^7.64.0" archiver "^5.3.1" - cdktf "0.18.2" + cdktf "0.19.0" chalk "^4.1.2" chokidar "^3.5.3" cli-spinners "2.7.0" @@ -132,13 +132,13 @@ yoga-layout-prebuilt "^1.10.0" zod "^1.11.17" -"@cdktf/commons@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/commons/-/commons-0.18.2.tgz#3c14a69681510e4b3a4a989cc0fd31a523232cd0" - integrity sha512-9jLT7K6bkGWdy8wRbpZfmAnzDPczV9NBpGIS3vsKJCZwoipccmG2LD12DlbM3610IHISksya2AQLlLmJMsTnmA== +"@cdktf/commons@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/commons/-/commons-0.19.0.tgz#e0bc7e428b4689550ac9c652e366116114d09875" + integrity sha512-zhqGhx7PWa1lCa1B7RUH1qoln2emrGbGJ3kjRKMOxJxbTKdQBwFUbsaEOiOAVBm0ukTt2DX+VWQc8YPpMgSbgA== dependencies: "@sentry/node" "^7.64.0" - cdktf "0.18.2" + cdktf "0.19.0" ci-info "^3.8.0" codemaker "^1.87.0" constructs "^10.0.25" @@ -149,18 +149,18 @@ log4js "^6.9.1" uuid "^9.0.1" -"@cdktf/hcl2cdk@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/hcl2cdk/-/hcl2cdk-0.18.2.tgz#1ec46d43a3e7ef5a17f123aa3cd683df621b956b" - integrity sha512-/AdUWmg1EC++HrS2I/C8H3JV1m/JfK3ONGBY1efNlc3LO7TBKJssKWVBMtYp45IJD86m7rNBOeL1TD0AZ1KjrQ== +"@cdktf/hcl2cdk@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/hcl2cdk/-/hcl2cdk-0.19.0.tgz#1077eb093f56424c60315dda350648f1f608fb0d" + integrity sha512-43XWR/ZLZVc8amOC6GmyGFkK9doiP9DKMjEDpYEnXCl1UhdFGHHipcSK6fnc30RCIq3KFF9FTuztvUyruToRyA== dependencies: "@babel/generator" "^7.21.4" "@babel/template" "^7.20.7" "@babel/types" "^7.21.4" - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2json" "0.18.2" - "@cdktf/provider-generator" "0.18.2" - "@cdktf/provider-schema" "0.18.2" + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2json" "0.19.0" + "@cdktf/provider-generator" "0.19.0" + "@cdktf/provider-schema" "0.19.0" camelcase "^6.3.0" deep-equal "^2.2.0" glob "^10.3.3" @@ -171,49 +171,49 @@ reserved-words "^0.1.2" zod "^3.21.4" -"@cdktf/hcl2json@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/hcl2json/-/hcl2json-0.18.2.tgz#fd23555d9b2620ed561a9f18843c9d8ee28eb20a" - integrity sha512-TSuIMet9RSuXUWPz40ed/W4WMu92aHVnJ44lB5nap9E1PE8brr7FhnW32dFOy9m2H8WU4GAfSQ0k3GW6JitSig== +"@cdktf/hcl2json@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/hcl2json/-/hcl2json-0.19.0.tgz#39fb184421b44b35cb69207dd17c7713ac246563" + integrity sha512-wo68qo74dTxcZWJkwlhTV+YoVopUUUTpRC8W73HWkaL/lw6GDozh4GHwphagIHYJy07Ecxdx/WTp0sGDBaFBuQ== dependencies: fs-extra "^11.1.1" -"@cdktf/node-pty-prebuilt-multiarch@0.10.1-pre.10": - version "0.10.1-pre.10" - resolved "https://registry.yarnpkg.com/@cdktf/node-pty-prebuilt-multiarch/-/node-pty-prebuilt-multiarch-0.10.1-pre.10.tgz#b404351940c595bd96405aaeec7ceffe8b0fc83b" - integrity sha512-5ysQrHJvqYLYg407KvaDNu+xx68ZGaqeF0SohXe5e4yNqJhPFPUQ536rkReQcPc2yZiF5PDmmvf5T9MOacHpSQ== +"@cdktf/node-pty-prebuilt-multiarch@0.10.1-pre.11": + version "0.10.1-pre.11" + resolved "https://registry.yarnpkg.com/@cdktf/node-pty-prebuilt-multiarch/-/node-pty-prebuilt-multiarch-0.10.1-pre.11.tgz#07ab168845047e5879e737ac5ab0919a49ba89a8" + integrity sha512-qvga/nzEtdCJMu/6jJfDqpzbRejvXtNhWFnbubfuYyN5nMNORNXX+POT4j+mQSDQar5bIQ1a812szw/zr47cfw== dependencies: nan "^2.14.2" prebuild-install "^7.1.1" -"@cdktf/provider-generator@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/provider-generator/-/provider-generator-0.18.2.tgz#e4210bb8cb2d9e48271a2a2fba4f5ec65d77b3b1" - integrity sha512-Qqfmwlz1t9Ie84CLkefxDR8a2bsacxbaEncO6NqzwYWaCu/K5TDDOqHjLKl1kv3mKjdZtJ0YLMJsMP0C49hKPg== +"@cdktf/provider-generator@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/provider-generator/-/provider-generator-0.19.0.tgz#348e8e2744e61a7a40340f634b7bb9e12a7fafc3" + integrity sha512-+1qKfvSA4YH+i6PBbuDwj8xP5NNCsyeF5KR6S/2NqBxz/4w4xptB+h/IehiVGSHtwI2/XmL4bF3gLpNB9Q2dGg== dependencies: - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2json" "0.18.2" - "@cdktf/provider-schema" "0.18.2" - "@types/node" "16.18.23" + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2json" "0.19.0" + "@cdktf/provider-schema" "0.19.0" + "@types/node" "18.11.19" codemaker "^1.87.0" deepmerge "^4.2.2" fs-extra "^8.1.0" jsii-srcmak "^0.1.951" "@cdktf/provider-project@^0.2.95": - version "0.2.131" - resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.131.tgz#713f5895fd00ce11adc394434b0efda914413010" - integrity sha512-jryd50w5YfZWavPtIosvWaVuKPLxiYCXYGc7tRo/buMppwnhHe0ytM/ObRzVCBj5MYU1yIe+aXfLgstSq030BQ== + version "0.2.134" + resolved "https://registry.yarnpkg.com/@cdktf/provider-project/-/provider-project-0.2.134.tgz#1f1d90c19e0e0a121c157f881586a8ec8eadace6" + integrity sha512-bqU1i0iBg8ky1FRwV6qLdP4Au+XxIhHC7tAIu8Jx++SYhQRnz8hh5fKs3o6UCOtnoUZOTgi4DDNZ1ltnBN/dFA== dependencies: change-case "^4.1.2" fs-extra "^10.1.0" -"@cdktf/provider-schema@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@cdktf/provider-schema/-/provider-schema-0.18.2.tgz#b0094e4124d91d75e44701a79262b8d3159ecd91" - integrity sha512-UB3oxmh0GJ/NeubDKjF+gT8bsh7kcT+lCbG0OZwXPlTKBuaDRuS2InkvcUAlvhC7ML1+DqpTl5PsAaowuW46uA== +"@cdktf/provider-schema@0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@cdktf/provider-schema/-/provider-schema-0.19.0.tgz#3377e69ae7150056eb59f2b542e5fa5b83493f51" + integrity sha512-tfl6EqzBGL+qRBc+lgtb4qZvj8J4R+htF+N6BmrFnz9NiplRJmy1xzRMZ1fsrboeH0QExlyFYdIaZ97Q3CtD7A== dependencies: - "@cdktf/commons" "0.18.2" + "@cdktf/commons" "0.19.0" fs-extra "^11.1.1" "@colors/colors@1.5.0": @@ -749,10 +749,10 @@ dependencies: undici-types "~5.25.1" -"@types/node@16.18.23": - version "16.18.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.23.tgz#b6e934fe427eb7081d0015aad070acb3373c3c90" - integrity sha512-XAMpaw1s1+6zM+jn2tmw8MyaRDIJfXxqmIQIS0HfoGYPuf7dUWeiUKopwq13KFX9lEp1+THGtlaaYx39Nxr58g== +"@types/node@18.11.19": + version "18.11.19" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.19.tgz#35e26df9ec441ab99d73e99e9aca82935eea216d" + integrity sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw== "@types/node@^18": version "18.18.5" @@ -1220,18 +1220,18 @@ case@^1.6.3: resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== -cdktf-cli@^0.18.0: - version "0.18.2" - resolved "https://registry.yarnpkg.com/cdktf-cli/-/cdktf-cli-0.18.2.tgz#c9864fb5b4869cb820cfd55a8682dbdb7d9af7f6" - integrity sha512-Href8hApBsCuvLz1bOiV5t13gkTbl4O457CeiBQmEjfFLg5myluA2nSMBSgCo0JGd/89sCbQXt1MdQU577qM2Q== +cdktf-cli@^0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/cdktf-cli/-/cdktf-cli-0.19.0.tgz#d0278749beed81a8b450c4b1c41de6046967187e" + integrity sha512-WGLs0IOgig8WDO2E6RYWtG5lCDL+ICX+plFipWT8JhuJpemxBhk8pO8uhDSWvBF85ZpVecQv+szfQVmXq8mdUg== dependencies: - "@cdktf/cli-core" "0.18.2" - "@cdktf/commons" "0.18.2" - "@cdktf/hcl2cdk" "0.18.2" - "@cdktf/hcl2json" "0.18.2" + "@cdktf/cli-core" "0.19.0" + "@cdktf/commons" "0.19.0" + "@cdktf/hcl2cdk" "0.19.0" + "@cdktf/hcl2json" "0.19.0" "@inquirer/prompts" "^2.3.0" "@sentry/node" "^7.64.0" - cdktf "0.18.2" + cdktf "0.19.0" ci-info "^3.8.0" codemaker "^1.87.0" constructs "^10.0.25" @@ -1251,10 +1251,10 @@ cdktf-cli@^0.18.0: yoga-layout-prebuilt "^1.10.0" zod "^1.11.17" -cdktf@0.18.2, cdktf@^0.18.0: - version "0.18.2" - resolved "https://registry.yarnpkg.com/cdktf/-/cdktf-0.18.2.tgz#21b02a4114812b0a696e70d9f7cfc59caa2c0af9" - integrity sha512-ohCsfFwEjXbF4bGbzkx/YB/aq6spceAPtKBXfdF/kNjUx1hVH28lQDS5ykJbnxAAnvrUA8FWz034buun7uPrdQ== +cdktf@0.19.0, cdktf@^0.19.0: + version "0.19.0" + resolved "https://registry.yarnpkg.com/cdktf/-/cdktf-0.19.0.tgz#097a3241b95e77eeab8ae1f7a714bf45dc6ca55b" + integrity sha512-5tcNhvrvsE9WawC5cPwV7B9ATQ5lWNjyCJN7EnMofxTtkBEdnnGx0esC+vpNO4Fs0LhmV37qCUlm+K6anZaPYw== dependencies: archiver "5.3.1" json-stable-stringify "^1.0.2" @@ -4385,10 +4385,10 @@ progress@^2.0.3: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -projen@^0.74.18: - version "0.74.18" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.74.18.tgz#626e8fbd1591fc0fadecd5d56ad5c83146ab44f0" - integrity sha512-VGpz4AIBxYX9sTn0piRa5WFH9/bB1HM452C5+qFvWraT7PPCcoENdH6iegdzSYe5h2RIZXSyHs9beokypzc7zw== +projen@^0.75.0: + version "0.75.0" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.75.0.tgz#f7e317cdfd5a009e7670e3779d60aeef7b9d5f5a" + integrity sha512-Xc3fDcdawK0WoVECl2tzFmf3a4BmM5bPUBzOHyZMSCOc5hmHkgFxbKquE/Er5WMV4+BHMRXA8QeZAIuZZ9ryeQ== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"