azurestack_virtual_network_gateway_connection

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AuthorizationKey: string, optional
	AuthorizationKey terra.StringValue `hcl:"authorization_key,attr"`
	// EnableBgp: bool, optional
	EnableBgp terra.BoolValue `hcl:"enable_bgp,attr"`
	// ExpressRouteCircuitId: string, optional
	ExpressRouteCircuitId terra.StringValue `hcl:"express_route_circuit_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LocalNetworkGatewayId: string, optional
	LocalNetworkGatewayId terra.StringValue `hcl:"local_network_gateway_id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PeerVirtualNetworkGatewayId: string, optional
	PeerVirtualNetworkGatewayId terra.StringValue `hcl:"peer_virtual_network_gateway_id,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// RoutingWeight: number, optional
	RoutingWeight terra.NumberValue `hcl:"routing_weight,attr"`
	// SharedKey: string, optional
	SharedKey terra.StringValue `hcl:"shared_key,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// UsePolicyBasedTrafficSelectors: bool, optional
	UsePolicyBasedTrafficSelectors terra.BoolValue `hcl:"use_policy_based_traffic_selectors,attr"`
	// VirtualNetworkGatewayId: string, required
	VirtualNetworkGatewayId terra.StringValue `hcl:"virtual_network_gateway_id,attr" validate:"required"`
	// IpsecPolicy: optional
	IpsecPolicy *IpsecPolicy `hcl:"ipsec_policy,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurestack_virtual_network_gateway_connection.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for azurestack_virtual_network_gateway_connection.

type DataIpsecPolicyAttributes

type DataIpsecPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (DataIpsecPolicyAttributes) DhGroup

func (DataIpsecPolicyAttributes) IkeEncryption

func (ip DataIpsecPolicyAttributes) IkeEncryption() terra.StringValue

func (DataIpsecPolicyAttributes) IkeIntegrity

func (ip DataIpsecPolicyAttributes) IkeIntegrity() terra.StringValue

func (DataIpsecPolicyAttributes) InternalRef

func (ip DataIpsecPolicyAttributes) InternalRef() (terra.Reference, error)

func (DataIpsecPolicyAttributes) InternalTokens

func (ip DataIpsecPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataIpsecPolicyAttributes) InternalWithRef

func (DataIpsecPolicyAttributes) IpsecEncryption

func (ip DataIpsecPolicyAttributes) IpsecEncryption() terra.StringValue

func (DataIpsecPolicyAttributes) IpsecIntegrity

func (ip DataIpsecPolicyAttributes) IpsecIntegrity() terra.StringValue

func (DataIpsecPolicyAttributes) PfsGroup

func (DataIpsecPolicyAttributes) SaDatasize

func (DataIpsecPolicyAttributes) SaLifetime

type DataIpsecPolicyState

type DataIpsecPolicyState struct {
	DhGroup         string  `json:"dh_group"`
	IkeEncryption   string  `json:"ike_encryption"`
	IkeIntegrity    string  `json:"ike_integrity"`
	IpsecEncryption string  `json:"ipsec_encryption"`
	IpsecIntegrity  string  `json:"ipsec_integrity"`
	PfsGroup        string  `json:"pfs_group"`
	SaDatasize      float64 `json:"sa_datasize"`
	SaLifetime      float64 `json:"sa_lifetime"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurestack_virtual_network_gateway_connection.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (avngc *DataSource) Attributes() dataAzurestackVirtualNetworkGatewayConnectionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (avngc *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (avngc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (avngc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

type DataTimeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type DataTimeoutsAttributes

type DataTimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (DataTimeoutsAttributes) InternalRef

func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)

func (DataTimeoutsAttributes) InternalTokens

func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

type IpsecPolicy

type IpsecPolicy struct {
	// DhGroup: string, required
	DhGroup terra.StringValue `hcl:"dh_group,attr" validate:"required"`
	// IkeEncryption: string, required
	IkeEncryption terra.StringValue `hcl:"ike_encryption,attr" validate:"required"`
	// IkeIntegrity: string, required
	IkeIntegrity terra.StringValue `hcl:"ike_integrity,attr" validate:"required"`
	// IpsecEncryption: string, required
	IpsecEncryption terra.StringValue `hcl:"ipsec_encryption,attr" validate:"required"`
	// IpsecIntegrity: string, required
	IpsecIntegrity terra.StringValue `hcl:"ipsec_integrity,attr" validate:"required"`
	// PfsGroup: string, required
	PfsGroup terra.StringValue `hcl:"pfs_group,attr" validate:"required"`
	// SaDatasize: number, optional
	SaDatasize terra.NumberValue `hcl:"sa_datasize,attr"`
	// SaLifetime: number, optional
	SaLifetime terra.NumberValue `hcl:"sa_lifetime,attr"`
}

type IpsecPolicyAttributes

type IpsecPolicyAttributes struct {
	// contains filtered or unexported fields
}

func (IpsecPolicyAttributes) DhGroup

func (IpsecPolicyAttributes) IkeEncryption

func (ip IpsecPolicyAttributes) IkeEncryption() terra.StringValue

func (IpsecPolicyAttributes) IkeIntegrity

func (ip IpsecPolicyAttributes) IkeIntegrity() terra.StringValue

func (IpsecPolicyAttributes) InternalRef

func (ip IpsecPolicyAttributes) InternalRef() (terra.Reference, error)

func (IpsecPolicyAttributes) InternalTokens

func (ip IpsecPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IpsecPolicyAttributes) InternalWithRef

func (IpsecPolicyAttributes) IpsecEncryption

func (ip IpsecPolicyAttributes) IpsecEncryption() terra.StringValue

func (IpsecPolicyAttributes) IpsecIntegrity

func (ip IpsecPolicyAttributes) IpsecIntegrity() terra.StringValue

func (IpsecPolicyAttributes) PfsGroup

func (ip IpsecPolicyAttributes) PfsGroup() terra.StringValue

func (IpsecPolicyAttributes) SaDatasize

func (ip IpsecPolicyAttributes) SaDatasize() terra.NumberValue

func (IpsecPolicyAttributes) SaLifetime

func (ip IpsecPolicyAttributes) SaLifetime() terra.NumberValue

type IpsecPolicyState

type IpsecPolicyState struct {
	DhGroup         string  `json:"dh_group"`
	IkeEncryption   string  `json:"ike_encryption"`
	IkeIntegrity    string  `json:"ike_integrity"`
	IpsecEncryption string  `json:"ipsec_encryption"`
	IpsecIntegrity  string  `json:"ipsec_integrity"`
	PfsGroup        string  `json:"pfs_group"`
	SaDatasize      float64 `json:"sa_datasize"`
	SaLifetime      float64 `json:"sa_lifetime"`
}

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 azurestack_virtual_network_gateway_connection.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (avngc *Resource) Attributes() azurestackVirtualNetworkGatewayConnectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (avngc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (avngc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (avngc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (avngc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (avngc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (avngc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (avngc *Resource) State() (*azurestackVirtualNetworkGatewayConnectionState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (avngc *Resource) StateMust() *azurestackVirtualNetworkGatewayConnectionState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (avngc *Resource) Type() string

Type returns the Terraform object type 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 (TimeoutsAttributes) Delete

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 (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL