Documentation
¶
Index ¶
- type Args
- type Resource
- func (avnp *Resource) Attributes() azurermVirtualNetworkPeeringAttributes
- func (avnp *Resource) Configuration() interface{}
- func (avnp *Resource) DependOn() terra.Reference
- func (avnp *Resource) Dependencies() terra.Dependencies
- func (avnp *Resource) ImportState(state io.Reader) error
- func (avnp *Resource) LifecycleManagement() *terra.Lifecycle
- func (avnp *Resource) LocalName() string
- func (avnp *Resource) State() (*azurermVirtualNetworkPeeringState, bool)
- func (avnp *Resource) StateMust() *azurermVirtualNetworkPeeringState
- func (avnp *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AllowForwardedTraffic: bool, optional AllowForwardedTraffic terra.BoolValue `hcl:"allow_forwarded_traffic,attr"` // AllowGatewayTransit: bool, optional AllowGatewayTransit terra.BoolValue `hcl:"allow_gateway_transit,attr"` // AllowVirtualNetworkAccess: bool, optional AllowVirtualNetworkAccess terra.BoolValue `hcl:"allow_virtual_network_access,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RemoteVirtualNetworkId: string, required RemoteVirtualNetworkId terra.StringValue `hcl:"remote_virtual_network_id,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Triggers: map of string, optional Triggers terra.MapValue[terra.StringValue] `hcl:"triggers,attr"` // UseRemoteGateways: bool, optional UseRemoteGateways terra.BoolValue `hcl:"use_remote_gateways,attr"` // VirtualNetworkName: string, required VirtualNetworkName terra.StringValue `hcl:"virtual_network_name,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_virtual_network_peering.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_virtual_network_peering.
func (*Resource) Attributes ¶
func (avnp *Resource) Attributes() azurermVirtualNetworkPeeringAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avnp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avnp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.