Documentation ¶
Index ¶
- func NewSubnetDelegationList_Override(s SubnetDelegationList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSubnetDelegationOutputReference_Override(s SubnetDelegationOutputReference, ...)
- func NewSubnetDelegationServiceDelegationOutputReference_Override(s SubnetDelegationServiceDelegationOutputReference, ...)
- func NewSubnetTimeoutsOutputReference_Override(s SubnetTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSubnet_Override(s Subnet, scope constructs.Construct, id *string, config *SubnetConfig)
- func Subnet_IsConstruct(x interface{}) *bool
- func Subnet_TfResourceType() *string
- type Subnet
- type SubnetConfig
- type SubnetDelegation
- type SubnetDelegationList
- type SubnetDelegationOutputReference
- type SubnetDelegationServiceDelegation
- type SubnetDelegationServiceDelegationOutputReference
- type SubnetTimeouts
- type SubnetTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSubnetDelegationList_Override ¶
func NewSubnetDelegationList_Override(s SubnetDelegationList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSubnetDelegationOutputReference_Override ¶
func NewSubnetDelegationOutputReference_Override(s SubnetDelegationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSubnetDelegationServiceDelegationOutputReference_Override ¶
func NewSubnetDelegationServiceDelegationOutputReference_Override(s SubnetDelegationServiceDelegationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewSubnetTimeoutsOutputReference_Override ¶
func NewSubnetTimeoutsOutputReference_Override(s SubnetTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewSubnet_Override ¶
func NewSubnet_Override(s Subnet, scope constructs.Construct, id *string, config *SubnetConfig)
Create a new {@link https://www.terraform.io/docs/providers/azurerm/r/subnet azurerm_subnet} Resource.
func Subnet_IsConstruct ¶
func Subnet_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 Subnet_TfResourceType ¶
func Subnet_TfResourceType() *string
Types ¶
type Subnet ¶
type Subnet interface { cdktf.TerraformResource AddressPrefixes() *[]*string SetAddressPrefixes(val *[]*string) AddressPrefixesInput() *[]*string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Delegation() SubnetDelegationList DelegationInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) EnforcePrivateLinkEndpointNetworkPolicies() interface{} SetEnforcePrivateLinkEndpointNetworkPolicies(val interface{}) EnforcePrivateLinkEndpointNetworkPoliciesInput() interface{} EnforcePrivateLinkServiceNetworkPolicies() interface{} SetEnforcePrivateLinkServiceNetworkPolicies(val interface{}) EnforcePrivateLinkServiceNetworkPoliciesInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PrivateEndpointNetworkPoliciesEnabled() interface{} SetPrivateEndpointNetworkPoliciesEnabled(val interface{}) PrivateEndpointNetworkPoliciesEnabledInput() interface{} PrivateLinkServiceNetworkPoliciesEnabled() interface{} SetPrivateLinkServiceNetworkPoliciesEnabled(val interface{}) PrivateLinkServiceNetworkPoliciesEnabledInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} ResourceGroupName() *string SetResourceGroupName(val *string) ResourceGroupNameInput() *string ServiceEndpointPolicyIds() *[]*string SetServiceEndpointPolicyIds(val *[]*string) ServiceEndpointPolicyIdsInput() *[]*string ServiceEndpoints() *[]*string SetServiceEndpoints(val *[]*string) ServiceEndpointsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() SubnetTimeoutsOutputReference TimeoutsInput() interface{} VirtualNetworkName() *string SetVirtualNetworkName(val *string) VirtualNetworkNameInput() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutDelegation(value interface{}) PutTimeouts(value *SubnetTimeouts) ResetDelegation() ResetEnforcePrivateLinkEndpointNetworkPolicies() ResetEnforcePrivateLinkServiceNetworkPolicies() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrivateEndpointNetworkPoliciesEnabled() ResetPrivateLinkServiceNetworkPoliciesEnabled() ResetServiceEndpointPolicyIds() ResetServiceEndpoints() ResetTimeouts() 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/azurerm/r/subnet azurerm_subnet}.
func NewSubnet ¶
func NewSubnet(scope constructs.Construct, id *string, config *SubnetConfig) Subnet
Create a new {@link https://www.terraform.io/docs/providers/azurerm/r/subnet azurerm_subnet} Resource.
type SubnetConfig ¶
type SubnetConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#address_prefixes Subnet#address_prefixes}. AddressPrefixes *[]*string `field:"required" json:"addressPrefixes" yaml:"addressPrefixes"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#name Subnet#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#resource_group_name Subnet#resource_group_name}. ResourceGroupName *string `field:"required" json:"resourceGroupName" yaml:"resourceGroupName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#virtual_network_name Subnet#virtual_network_name}. VirtualNetworkName *string `field:"required" json:"virtualNetworkName" yaml:"virtualNetworkName"` // delegation block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#delegation Subnet#delegation} Delegation interface{} `field:"optional" json:"delegation" yaml:"delegation"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#enforce_private_link_endpoint_network_policies Subnet#enforce_private_link_endpoint_network_policies}. EnforcePrivateLinkEndpointNetworkPolicies interface{} `field:"optional" json:"enforcePrivateLinkEndpointNetworkPolicies" yaml:"enforcePrivateLinkEndpointNetworkPolicies"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#enforce_private_link_service_network_policies Subnet#enforce_private_link_service_network_policies}. EnforcePrivateLinkServiceNetworkPolicies interface{} `field:"optional" json:"enforcePrivateLinkServiceNetworkPolicies" yaml:"enforcePrivateLinkServiceNetworkPolicies"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#id Subnet#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#private_endpoint_network_policies_enabled Subnet#private_endpoint_network_policies_enabled}. PrivateEndpointNetworkPoliciesEnabled interface{} `field:"optional" json:"privateEndpointNetworkPoliciesEnabled" yaml:"privateEndpointNetworkPoliciesEnabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#private_link_service_network_policies_enabled Subnet#private_link_service_network_policies_enabled}. PrivateLinkServiceNetworkPoliciesEnabled interface{} `field:"optional" json:"privateLinkServiceNetworkPoliciesEnabled" yaml:"privateLinkServiceNetworkPoliciesEnabled"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#service_endpoint_policy_ids Subnet#service_endpoint_policy_ids}. ServiceEndpointPolicyIds *[]*string `field:"optional" json:"serviceEndpointPolicyIds" yaml:"serviceEndpointPolicyIds"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#service_endpoints Subnet#service_endpoints}. ServiceEndpoints *[]*string `field:"optional" json:"serviceEndpoints" yaml:"serviceEndpoints"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#timeouts Subnet#timeouts} Timeouts *SubnetTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type SubnetDelegation ¶
type SubnetDelegation struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#name Subnet#name}. Name *string `field:"required" json:"name" yaml:"name"` // service_delegation block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#service_delegation Subnet#service_delegation} ServiceDelegation *SubnetDelegationServiceDelegation `field:"required" json:"serviceDelegation" yaml:"serviceDelegation"` }
type SubnetDelegationList ¶
type SubnetDelegationList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) SubnetDelegationOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSubnetDelegationList ¶
func NewSubnetDelegationList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SubnetDelegationList
type SubnetDelegationOutputReference ¶
type SubnetDelegationOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string ServiceDelegation() SubnetDelegationServiceDelegationOutputReference ServiceDelegationInput() *SubnetDelegationServiceDelegation // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutServiceDelegation(value *SubnetDelegationServiceDelegation) // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSubnetDelegationOutputReference ¶
func NewSubnetDelegationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SubnetDelegationOutputReference
type SubnetDelegationServiceDelegation ¶
type SubnetDelegationServiceDelegation struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#name Subnet#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#actions Subnet#actions}. Actions *[]*string `field:"optional" json:"actions" yaml:"actions"` }
type SubnetDelegationServiceDelegationOutputReference ¶
type SubnetDelegationServiceDelegationOutputReference interface { cdktf.ComplexObject Actions() *[]*string SetActions(val *[]*string) ActionsInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *SubnetDelegationServiceDelegation SetInternalValue(val *SubnetDelegationServiceDelegation) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetActions() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSubnetDelegationServiceDelegationOutputReference ¶
func NewSubnetDelegationServiceDelegationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) SubnetDelegationServiceDelegationOutputReference
type SubnetTimeouts ¶
type SubnetTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#create Subnet#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#delete Subnet#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#read Subnet#read}. Read *string `field:"optional" json:"read" yaml:"read"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/azurerm/r/subnet#update Subnet#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type SubnetTimeoutsOutputReference ¶
type SubnetTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Read() *string SetRead(val *string) ReadInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetRead() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSubnetTimeoutsOutputReference ¶
func NewSubnetTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) SubnetTimeoutsOutputReference
Source Files ¶
- subnet.go
- subnet_Subnet.go
- subnet_SubnetConfig.go
- subnet_SubnetDelegation.go
- subnet_SubnetDelegationList.go
- subnet_SubnetDelegationList__runtime_type_checks.go
- subnet_SubnetDelegationOutputReference.go
- subnet_SubnetDelegationOutputReference__runtime_type_checks.go
- subnet_SubnetDelegationServiceDelegation.go
- subnet_SubnetDelegationServiceDelegationOutputReference.go
- subnet_SubnetDelegationServiceDelegationOutputReference__runtime_type_checks.go
- subnet_SubnetTimeouts.go
- subnet_SubnetTimeoutsOutputReference.go
- subnet_SubnetTimeoutsOutputReference__runtime_type_checks.go
- subnet_Subnet__runtime_type_checks.go