Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpcProvider_Override ¶
func NewOpcProvider_Override(o OpcProvider, scope constructs.Construct, id *string, config *OpcProviderConfig)
Create a new {@link https://www.terraform.io/docs/providers/opc opc} Resource.
func OpcProvider_IsConstruct ¶
func OpcProvider_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 OpcProvider_TfResourceType ¶
func OpcProvider_TfResourceType() *string
Types ¶
type OpcProvider ¶
type OpcProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} Endpoint() *string SetEndpoint(val *string) EndpointInput() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string IdentityDomain() *string SetIdentityDomain(val *string) IdentityDomainInput() *string Insecure() interface{} SetInsecure(val interface{}) InsecureInput() interface{} LbaasEndpoint() *string SetLbaasEndpoint(val *string) LbaasEndpointInput() *string MaxRetries() *float64 SetMaxRetries(val *float64) MaxRetriesInput() *float64 // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node Password() *string SetPassword(val *string) PasswordInput() *string // Experimental. RawOverrides() interface{} StorageEndpoint() *string SetStorageEndpoint(val *string) StorageEndpointInput() *string StorageServiceId() *string SetStorageServiceId(val *string) StorageServiceIdInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string User() *string SetUser(val *string) UserInput() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetEndpoint() ResetInsecure() ResetLbaasEndpoint() ResetMaxRetries() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetStorageEndpoint() ResetStorageServiceId() SynthesizeAttributes() *map[string]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://www.terraform.io/docs/providers/opc opc}.
func NewOpcProvider ¶
func NewOpcProvider(scope constructs.Construct, id *string, config *OpcProviderConfig) OpcProvider
Create a new {@link https://www.terraform.io/docs/providers/opc opc} Resource.
type OpcProviderConfig ¶
type OpcProviderConfig struct { // The OPC identity domain for API operations. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#identity_domain OpcProvider#identity_domain} IdentityDomain *string `field:"required" json:"identityDomain" yaml:"identityDomain"` // The user password for OPC API operations. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#password OpcProvider#password} Password *string `field:"required" json:"password" yaml:"password"` // The user name for OPC API operations. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#user OpcProvider#user} User *string `field:"required" json:"user" yaml:"user"` // Alias name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#alias OpcProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // The HTTP endpoint for OPC API operations. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#endpoint OpcProvider#endpoint} Endpoint *string `field:"optional" json:"endpoint" yaml:"endpoint"` // Skip TLS Verification for self-signed certificates. Should only be used if absolutely required. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#insecure OpcProvider#insecure} Insecure interface{} `field:"optional" json:"insecure" yaml:"insecure"` // The HTTP endpoint for the Load Balancer Classic service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#lbaas_endpoint OpcProvider#lbaas_endpoint} LbaasEndpoint *string `field:"optional" json:"lbaasEndpoint" yaml:"lbaasEndpoint"` // Maximum number retries to wait for a successful response when operating on resources within OPC (defaults to 1). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#max_retries OpcProvider#max_retries} MaxRetries *float64 `field:"optional" json:"maxRetries" yaml:"maxRetries"` // The HTTP endpoint for Oracle Storage operations. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#storage_endpoint OpcProvider#storage_endpoint} StorageEndpoint *string `field:"optional" json:"storageEndpoint" yaml:"storageEndpoint"` // The Storage Service ID. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/opc#storage_service_id OpcProvider#storage_service_id} StorageServiceId *string `field:"optional" json:"storageServiceId" yaml:"storageServiceId"` }