Documentation
¶
Index ¶
- type Args
- type Link
- type LinkAttributes
- func (l LinkAttributes) Bgp() terra.ListValue[LinkBgpAttributes]
- func (l LinkAttributes) Fqdn() terra.StringValue
- func (l LinkAttributes) Id() terra.StringValue
- func (l LinkAttributes) InternalRef() (terra.Reference, error)
- func (l LinkAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LinkAttributes) InternalWithRef(ref terra.Reference) LinkAttributes
- func (l LinkAttributes) IpAddress() terra.StringValue
- func (l LinkAttributes) Name() terra.StringValue
- func (l LinkAttributes) ProviderName() terra.StringValue
- func (l LinkAttributes) SpeedInMbps() terra.NumberValue
- type LinkBgp
- type LinkBgpAttributes
- func (b LinkBgpAttributes) Asn() terra.NumberValue
- func (b LinkBgpAttributes) InternalRef() (terra.Reference, error)
- func (b LinkBgpAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b LinkBgpAttributes) InternalWithRef(ref terra.Reference) LinkBgpAttributes
- func (b LinkBgpAttributes) PeeringAddress() terra.StringValue
- type LinkBgpState
- type LinkState
- type O365Policy
- type O365PolicyAttributes
- func (op O365PolicyAttributes) InternalRef() (terra.Reference, error)
- func (op O365PolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (op O365PolicyAttributes) InternalWithRef(ref terra.Reference) O365PolicyAttributes
- func (op O365PolicyAttributes) TrafficCategory() terra.ListValue[O365PolicyTrafficCategoryAttributes]
- type O365PolicyState
- type O365PolicyTrafficCategory
- type O365PolicyTrafficCategoryAttributes
- func (tc O365PolicyTrafficCategoryAttributes) AllowEndpointEnabled() terra.BoolValue
- func (tc O365PolicyTrafficCategoryAttributes) DefaultEndpointEnabled() terra.BoolValue
- func (tc O365PolicyTrafficCategoryAttributes) InternalRef() (terra.Reference, error)
- func (tc O365PolicyTrafficCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tc O365PolicyTrafficCategoryAttributes) InternalWithRef(ref terra.Reference) O365PolicyTrafficCategoryAttributes
- func (tc O365PolicyTrafficCategoryAttributes) OptimizeEndpointEnabled() terra.BoolValue
- type O365PolicyTrafficCategoryState
- type Resource
- func (avs *Resource) Attributes() azurermVpnSiteAttributes
- func (avs *Resource) Configuration() interface{}
- func (avs *Resource) DependOn() terra.Reference
- func (avs *Resource) Dependencies() terra.Dependencies
- func (avs *Resource) ImportState(state io.Reader) error
- func (avs *Resource) LifecycleManagement() *terra.Lifecycle
- func (avs *Resource) LocalName() string
- func (avs *Resource) State() (*azurermVpnSiteState, bool)
- func (avs *Resource) StateMust() *azurermVpnSiteState
- func (avs *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 { // AddressCidrs: set of string, optional AddressCidrs terra.SetValue[terra.StringValue] `hcl:"address_cidrs,attr"` // DeviceModel: string, optional DeviceModel terra.StringValue `hcl:"device_model,attr"` // DeviceVendor: string, optional DeviceVendor terra.StringValue `hcl:"device_vendor,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // VirtualWanId: string, required VirtualWanId terra.StringValue `hcl:"virtual_wan_id,attr" validate:"required"` // Link: min=0 Link []Link `hcl:"link,block" validate:"min=0"` // O365Policy: optional O365Policy *O365Policy `hcl:"o365_policy,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_vpn_site.
type Link ¶
type Link struct { // Fqdn: string, optional Fqdn terra.StringValue `hcl:"fqdn,attr"` // IpAddress: string, optional IpAddress terra.StringValue `hcl:"ip_address,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ProviderName: string, optional ProviderName terra.StringValue `hcl:"provider_name,attr"` // SpeedInMbps: number, optional SpeedInMbps terra.NumberValue `hcl:"speed_in_mbps,attr"` // LinkBgp: optional Bgp *LinkBgp `hcl:"bgp,block"` }
type LinkAttributes ¶
type LinkAttributes struct {
// contains filtered or unexported fields
}
func (LinkAttributes) Bgp ¶
func (l LinkAttributes) Bgp() terra.ListValue[LinkBgpAttributes]
func (LinkAttributes) Fqdn ¶
func (l LinkAttributes) Fqdn() terra.StringValue
func (LinkAttributes) Id ¶
func (l LinkAttributes) Id() terra.StringValue
func (LinkAttributes) InternalRef ¶
func (l LinkAttributes) InternalRef() (terra.Reference, error)
func (LinkAttributes) InternalTokens ¶
func (l LinkAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LinkAttributes) InternalWithRef ¶
func (l LinkAttributes) InternalWithRef(ref terra.Reference) LinkAttributes
func (LinkAttributes) IpAddress ¶
func (l LinkAttributes) IpAddress() terra.StringValue
func (LinkAttributes) Name ¶
func (l LinkAttributes) Name() terra.StringValue
func (LinkAttributes) ProviderName ¶
func (l LinkAttributes) ProviderName() terra.StringValue
func (LinkAttributes) SpeedInMbps ¶
func (l LinkAttributes) SpeedInMbps() terra.NumberValue
type LinkBgp ¶
type LinkBgp struct { // Asn: number, required Asn terra.NumberValue `hcl:"asn,attr" validate:"required"` // PeeringAddress: string, required PeeringAddress terra.StringValue `hcl:"peering_address,attr" validate:"required"` }
type LinkBgpAttributes ¶
type LinkBgpAttributes struct {
// contains filtered or unexported fields
}
func (LinkBgpAttributes) Asn ¶
func (b LinkBgpAttributes) Asn() terra.NumberValue
func (LinkBgpAttributes) InternalRef ¶
func (b LinkBgpAttributes) InternalRef() (terra.Reference, error)
func (LinkBgpAttributes) InternalTokens ¶
func (b LinkBgpAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LinkBgpAttributes) InternalWithRef ¶
func (b LinkBgpAttributes) InternalWithRef(ref terra.Reference) LinkBgpAttributes
func (LinkBgpAttributes) PeeringAddress ¶
func (b LinkBgpAttributes) PeeringAddress() terra.StringValue
type LinkBgpState ¶
type O365Policy ¶
type O365Policy struct { // O365PolicyTrafficCategory: optional TrafficCategory *O365PolicyTrafficCategory `hcl:"traffic_category,block"` }
type O365PolicyAttributes ¶
type O365PolicyAttributes struct {
// contains filtered or unexported fields
}
func (O365PolicyAttributes) InternalRef ¶
func (op O365PolicyAttributes) InternalRef() (terra.Reference, error)
func (O365PolicyAttributes) InternalTokens ¶
func (op O365PolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (O365PolicyAttributes) InternalWithRef ¶
func (op O365PolicyAttributes) InternalWithRef(ref terra.Reference) O365PolicyAttributes
func (O365PolicyAttributes) TrafficCategory ¶
func (op O365PolicyAttributes) TrafficCategory() terra.ListValue[O365PolicyTrafficCategoryAttributes]
type O365PolicyState ¶
type O365PolicyState struct {
TrafficCategory []O365PolicyTrafficCategoryState `json:"traffic_category"`
}
type O365PolicyTrafficCategory ¶
type O365PolicyTrafficCategory struct { // AllowEndpointEnabled: bool, optional AllowEndpointEnabled terra.BoolValue `hcl:"allow_endpoint_enabled,attr"` // DefaultEndpointEnabled: bool, optional DefaultEndpointEnabled terra.BoolValue `hcl:"default_endpoint_enabled,attr"` // OptimizeEndpointEnabled: bool, optional OptimizeEndpointEnabled terra.BoolValue `hcl:"optimize_endpoint_enabled,attr"` }
type O365PolicyTrafficCategoryAttributes ¶
type O365PolicyTrafficCategoryAttributes struct {
// contains filtered or unexported fields
}
func (O365PolicyTrafficCategoryAttributes) AllowEndpointEnabled ¶
func (tc O365PolicyTrafficCategoryAttributes) AllowEndpointEnabled() terra.BoolValue
func (O365PolicyTrafficCategoryAttributes) DefaultEndpointEnabled ¶
func (tc O365PolicyTrafficCategoryAttributes) DefaultEndpointEnabled() terra.BoolValue
func (O365PolicyTrafficCategoryAttributes) InternalRef ¶
func (tc O365PolicyTrafficCategoryAttributes) InternalRef() (terra.Reference, error)
func (O365PolicyTrafficCategoryAttributes) InternalTokens ¶
func (tc O365PolicyTrafficCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (O365PolicyTrafficCategoryAttributes) InternalWithRef ¶
func (tc O365PolicyTrafficCategoryAttributes) InternalWithRef(ref terra.Reference) O365PolicyTrafficCategoryAttributes
func (O365PolicyTrafficCategoryAttributes) OptimizeEndpointEnabled ¶
func (tc O365PolicyTrafficCategoryAttributes) OptimizeEndpointEnabled() terra.BoolValue
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_vpn_site.
func (*Resource) Attributes ¶
func (avs *Resource) Attributes() azurermVpnSiteAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avs *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.