Documentation ¶
Index ¶
- func NewOpentelekomcloudProvider_Override(o OpentelekomcloudProvider, scope constructs.Construct, id *string, ...)
- func OpentelekomcloudProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func OpentelekomcloudProvider_IsConstruct(x interface{}) *bool
- func OpentelekomcloudProvider_IsTerraformElement(x interface{}) *bool
- func OpentelekomcloudProvider_IsTerraformProvider(x interface{}) *bool
- func OpentelekomcloudProvider_TfResourceType() *string
- type OpentelekomcloudProvider
- type OpentelekomcloudProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpentelekomcloudProvider_Override ¶
func NewOpentelekomcloudProvider_Override(o OpentelekomcloudProvider, scope constructs.Construct, id *string, config *OpentelekomcloudProviderConfig)
Create a new {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs opentelekomcloud} Resource.
func OpentelekomcloudProvider_GenerateConfigForImport ¶
func OpentelekomcloudProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a OpentelekomcloudProvider resource upon running "cdktf plan <stack-name>".
func OpentelekomcloudProvider_IsConstruct ¶
func OpentelekomcloudProvider_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func OpentelekomcloudProvider_IsTerraformElement ¶
func OpentelekomcloudProvider_IsTerraformElement(x interface{}) *bool
Experimental.
func OpentelekomcloudProvider_IsTerraformProvider ¶
func OpentelekomcloudProvider_IsTerraformProvider(x interface{}) *bool
Experimental.
func OpentelekomcloudProvider_TfResourceType ¶
func OpentelekomcloudProvider_TfResourceType() *string
Types ¶
type OpentelekomcloudProvider ¶
type OpentelekomcloudProvider interface { cdktf.TerraformProvider AccessKey() *string SetAccessKey(val *string) AccessKeyInput() *string AgencyDomainName() *string SetAgencyDomainName(val *string) AgencyDomainNameInput() *string AgencyName() *string SetAgencyName(val *string) AgencyNameInput() *string Alias() *string SetAlias(val *string) AliasInput() *string AllowReauth() interface{} SetAllowReauth(val interface{}) AllowReauthInput() interface{} AuthUrl() *string SetAuthUrl(val *string) AuthUrlInput() *string BackoffRetryTimeout() *float64 SetBackoffRetryTimeout(val *float64) BackoffRetryTimeoutInput() *float64 CacertFile() *string SetCacertFile(val *string) CacertFileInput() *string // Experimental. CdktfStack() cdktf.TerraformStack Cert() *string SetCert(val *string) CertInput() *string Cloud() *string SetCloud(val *string) CloudInput() *string // Experimental. ConstructNodeMetadata() *map[string]interface{} DelegatedProject() *string SetDelegatedProject(val *string) DelegatedProjectInput() *string DomainId() *string SetDomainId(val *string) DomainIdInput() *string DomainName() *string SetDomainName(val *string) DomainNameInput() *string EndpointType() *string SetEndpointType(val *string) EndpointTypeInput() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Insecure() interface{} SetInsecure(val interface{}) InsecureInput() interface{} Key() *string SetKey(val *string) KeyInput() *string MaxBackoffRetries() *float64 SetMaxBackoffRetries(val *float64) MaxBackoffRetriesInput() *float64 MaxRetries() *float64 SetMaxRetries(val *float64) MaxRetriesInput() *float64 // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node Passcode() *string SetPasscode(val *string) PasscodeInput() *string Password() *string SetPassword(val *string) PasswordInput() *string // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string SecretKey() *string SetSecretKey(val *string) SecretKeyInput() *string SecurityToken() *string SetSecurityToken(val *string) SecurityTokenInput() *string Swauth() interface{} SetSwauth(val interface{}) SwauthInput() interface{} TenantId() *string SetTenantId(val *string) TenantIdInput() *string TenantName() *string SetTenantName(val *string) TenantNameInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string Token() *string SetToken(val *string) TokenInput() *string UserId() *string SetUserId(val *string) UserIdInput() *string UserName() *string SetUserName(val *string) UserNameInput() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAccessKey() ResetAgencyDomainName() ResetAgencyName() ResetAlias() ResetAllowReauth() ResetAuthUrl() ResetBackoffRetryTimeout() ResetCacertFile() ResetCert() ResetCloud() ResetDelegatedProject() ResetDomainId() ResetDomainName() ResetEndpointType() ResetInsecure() ResetKey() ResetMaxBackoffRetries() ResetMaxRetries() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPasscode() ResetPassword() ResetRegion() ResetSecretKey() ResetSecurityToken() ResetSwauth() ResetTenantId() ResetTenantName() ResetToken() ResetUserId() ResetUserName() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs opentelekomcloud}.
func NewOpentelekomcloudProvider ¶
func NewOpentelekomcloudProvider(scope constructs.Construct, id *string, config *OpentelekomcloudProviderConfig) OpentelekomcloudProvider
Create a new {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs opentelekomcloud} Resource.
type OpentelekomcloudProviderConfig ¶
type OpentelekomcloudProviderConfig struct { // The access key for API operations. You can retrieve this from the 'My Credential' section of the console. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#access_key OpentelekomcloudProvider#access_key} AccessKey *string `field:"optional" json:"accessKey" yaml:"accessKey"` // The name of domain who created the agency (Identity v3). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#agency_domain_name OpentelekomcloudProvider#agency_domain_name} AgencyDomainName *string `field:"optional" json:"agencyDomainName" yaml:"agencyDomainName"` // The name of agency. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#agency_name OpentelekomcloudProvider#agency_name} AgencyName *string `field:"optional" json:"agencyName" yaml:"agencyName"` // Alias name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#alias OpentelekomcloudProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#allow_reauth OpentelekomcloudProvider#allow_reauth}. AllowReauth interface{} `field:"optional" json:"allowReauth" yaml:"allowReauth"` // The Identity authentication URL. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#auth_url OpentelekomcloudProvider#auth_url} AuthUrl *string `field:"optional" json:"authUrl" yaml:"authUrl"` // Timeout in seconds for backoff retry. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#backoff_retry_timeout OpentelekomcloudProvider#backoff_retry_timeout} BackoffRetryTimeout *float64 `field:"optional" json:"backoffRetryTimeout" yaml:"backoffRetryTimeout"` // A Custom CA certificate. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#cacert_file OpentelekomcloudProvider#cacert_file} CacertFile *string `field:"optional" json:"cacertFile" yaml:"cacertFile"` // A client certificate to authenticate with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#cert OpentelekomcloudProvider#cert} Cert *string `field:"optional" json:"cert" yaml:"cert"` // An entry in a `clouds.yaml` file to use. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#cloud OpentelekomcloudProvider#cloud} Cloud *string `field:"optional" json:"cloud" yaml:"cloud"` // The name of delegated project (Identity v3). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#delegated_project OpentelekomcloudProvider#delegated_project} DelegatedProject *string `field:"optional" json:"delegatedProject" yaml:"delegatedProject"` // The ID of the Domain to scope to (Identity v3). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#domain_id OpentelekomcloudProvider#domain_id} DomainId *string `field:"optional" json:"domainId" yaml:"domainId"` // The name of the Domain to scope to (Identity v3). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#domain_name OpentelekomcloudProvider#domain_name} DomainName *string `field:"optional" json:"domainName" yaml:"domainName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#endpoint_type OpentelekomcloudProvider#endpoint_type}. EndpointType *string `field:"optional" json:"endpointType" yaml:"endpointType"` // Trust self-signed certificates. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#insecure OpentelekomcloudProvider#insecure} Insecure interface{} `field:"optional" json:"insecure" yaml:"insecure"` // A client private key to authenticate with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#key OpentelekomcloudProvider#key} Key *string `field:"optional" json:"key" yaml:"key"` // How many times HTTP request should be retried when rate limit reached. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#max_backoff_retries OpentelekomcloudProvider#max_backoff_retries} MaxBackoffRetries *float64 `field:"optional" json:"maxBackoffRetries" yaml:"maxBackoffRetries"` // How many times HTTP connection should be retried until giving up. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#max_retries OpentelekomcloudProvider#max_retries} MaxRetries *float64 `field:"optional" json:"maxRetries" yaml:"maxRetries"` // One-time MFA passcode. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#passcode OpentelekomcloudProvider#passcode} Passcode *string `field:"optional" json:"passcode" yaml:"passcode"` // Password to login with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#password OpentelekomcloudProvider#password} Password *string `field:"optional" json:"password" yaml:"password"` // The OpenTelekomCloud region to connect to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#region OpentelekomcloudProvider#region} Region *string `field:"optional" json:"region" yaml:"region"` // The secret key for API operations. You can retrieve this from the 'My Credential' section of the console. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#secret_key OpentelekomcloudProvider#secret_key} SecretKey *string `field:"optional" json:"secretKey" yaml:"secretKey"` // Security token to use for OBS federated authentication. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#security_token OpentelekomcloudProvider#security_token} SecurityToken *string `field:"optional" json:"securityToken" yaml:"securityToken"` // Use Swift's authentication system instead of Keystone. Only used for interaction with Swift. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#swauth OpentelekomcloudProvider#swauth} Swauth interface{} `field:"optional" json:"swauth" yaml:"swauth"` // The ID of the Tenant (Identity v2) or Project (Identity v3) to login with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#tenant_id OpentelekomcloudProvider#tenant_id} TenantId *string `field:"optional" json:"tenantId" yaml:"tenantId"` // The name of the Tenant (Identity v2) or Project (Identity v3) to login with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#tenant_name OpentelekomcloudProvider#tenant_name} TenantName *string `field:"optional" json:"tenantName" yaml:"tenantName"` // Authentication token to use as an alternative to username/password. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#token OpentelekomcloudProvider#token} Token *string `field:"optional" json:"token" yaml:"token"` // User ID to login with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#user_id OpentelekomcloudProvider#user_id} UserId *string `field:"optional" json:"userId" yaml:"userId"` // Username to login with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/1.36.19/docs#user_name OpentelekomcloudProvider#user_name} UserName *string `field:"optional" json:"userName" yaml:"userName"` }