network

package
v1.44.1-0...-4e0a530 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MPL-2.0 Imports: 99 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SubnetResourceName = "azurerm_subnet"
View Source
var VPNGatewayResourceName = "azurerm_vpn_gateway"
View Source
var VirtualNetworkResourceName = "azurerm_virtual_network"

Functions

Types

type Action

type Action struct {
	Parameters []Parameter                `tfschema:"parameter"`
	Type       network.RouteMapActionType `tfschema:"type"`
}

type AddressPrefixItemModel

type AddressPrefixItemModel struct {
	AddressPrefix     string                       `tfschema:"address_prefix"`
	AddressPrefixType adminrules.AddressPrefixType `tfschema:"address_prefix_type"`
}

type ConnectivityGroupItemModel

type ConnectivityGroupItemModel struct {
	GroupConnectivity connectivityconfigurations.GroupConnectivity `tfschema:"group_connectivity"`
	GlobalMeshEnabled bool                                         `tfschema:"global_mesh_enabled"`
	NetworkGroupId    string                                       `tfschema:"network_group_id"`
	UseHubGateway     bool                                         `tfschema:"use_hub_gateway"`
}

type Criterion

type Criterion struct {
	AsPath         []string                       `tfschema:"as_path"`
	Community      []string                       `tfschema:"community"`
	MatchCondition network.RouteMapMatchCondition `tfschema:"match_condition"`
	RoutePrefix    []string                       `tfschema:"route_prefix"`
}

type CustomIpPrefixModel

type CustomIpPrefixModel struct {
	CIDR                        string                 `tfschema:"cidr"`
	CommissioningEnabled        bool                   `tfschema:"commissioning_enabled"`
	InternetAdvertisingDisabled bool                   `tfschema:"internet_advertising_disabled"`
	Location                    string                 `tfschema:"location"`
	Name                        string                 `tfschema:"name"`
	ParentCustomIPPrefixID      string                 `tfschema:"parent_custom_ip_prefix_id"`
	ROAValidityEndDate          string                 `tfschema:"roa_validity_end_date"`
	ResourceGroupName           string                 `tfschema:"resource_group_name"`
	Tags                        map[string]interface{} `tfschema:"tags"`
	WANValidationSignedMessage  string                 `tfschema:"wan_validation_signed_message"`
	Zones                       []string               `tfschema:"zones"`
}

type CustomIpPrefixResource

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

func (CustomIpPrefixResource) Arguments

func (r CustomIpPrefixResource) Arguments() map[string]*pluginsdk.Schema

func (CustomIpPrefixResource) Attributes

func (r CustomIpPrefixResource) Attributes() map[string]*pluginsdk.Schema

func (CustomIpPrefixResource) Create

func (CustomIpPrefixResource) Delete

func (CustomIpPrefixResource) IDValidationFunc

func (CustomIpPrefixResource) ModelObject

func (CustomIpPrefixResource) ModelObject() interface{}

func (CustomIpPrefixResource) Read

func (CustomIpPrefixResource) ResourceType

func (CustomIpPrefixResource) ResourceType() string

func (CustomIpPrefixResource) Update

type HubModel

type HubModel struct {
	ResourceId   string `tfschema:"resource_id"`
	ResourceType string `tfschema:"resource_type"`
}

type ManagerAdminRuleCollectionModel

type ManagerAdminRuleCollectionModel struct {
	Name                         string   `tfschema:"name"`
	SecurityAdminConfigurationId string   `tfschema:"security_admin_configuration_id"`
	NetworkGroupIds              []string `tfschema:"network_group_ids"`
	Description                  string   `tfschema:"description"`
}

type ManagerAdminRuleCollectionResource

type ManagerAdminRuleCollectionResource struct{}

func (ManagerAdminRuleCollectionResource) Arguments

func (ManagerAdminRuleCollectionResource) Attributes

func (ManagerAdminRuleCollectionResource) Create

func (ManagerAdminRuleCollectionResource) Delete

func (ManagerAdminRuleCollectionResource) IDValidationFunc

func (ManagerAdminRuleCollectionResource) ModelObject

func (r ManagerAdminRuleCollectionResource) ModelObject() interface{}

func (ManagerAdminRuleCollectionResource) Read

func (ManagerAdminRuleCollectionResource) ResourceType

func (r ManagerAdminRuleCollectionResource) ResourceType() string

func (ManagerAdminRuleCollectionResource) Update

type ManagerAdminRuleModel

type ManagerAdminRuleModel struct {
	Name                    string                                        `tfschema:"name"`
	NetworkRuleCollectionId string                                        `tfschema:"admin_rule_collection_id"`
	Action                  adminrules.SecurityConfigurationRuleAccess    `tfschema:"action"`
	Description             string                                        `tfschema:"description"`
	DestinationPortRanges   []string                                      `tfschema:"destination_port_ranges"`
	Destinations            []AddressPrefixItemModel                      `tfschema:"destination"`
	Direction               adminrules.SecurityConfigurationRuleDirection `tfschema:"direction"`
	Priority                int64                                         `tfschema:"priority"`
	Protocol                adminrules.SecurityConfigurationRuleProtocol  `tfschema:"protocol"`
	SourcePortRanges        []string                                      `tfschema:"source_port_ranges"`
	Sources                 []AddressPrefixItemModel                      `tfschema:"source"`
}

type ManagerAdminRuleResource

type ManagerAdminRuleResource struct{}

func (ManagerAdminRuleResource) Arguments

func (r ManagerAdminRuleResource) Arguments() map[string]*pluginsdk.Schema

func (ManagerAdminRuleResource) Attributes

func (r ManagerAdminRuleResource) Attributes() map[string]*pluginsdk.Schema

func (ManagerAdminRuleResource) Create

func (ManagerAdminRuleResource) Delete

func (ManagerAdminRuleResource) IDValidationFunc

func (ManagerAdminRuleResource) ModelObject

func (r ManagerAdminRuleResource) ModelObject() interface{}

func (ManagerAdminRuleResource) Read

func (ManagerAdminRuleResource) ResourceType

func (r ManagerAdminRuleResource) ResourceType() string

func (ManagerAdminRuleResource) Update

type ManagerConnectivityConfigurationDataSource

type ManagerConnectivityConfigurationDataSource struct{}

func (ManagerConnectivityConfigurationDataSource) Arguments

func (ManagerConnectivityConfigurationDataSource) Attributes

func (ManagerConnectivityConfigurationDataSource) ModelObject

func (r ManagerConnectivityConfigurationDataSource) ModelObject() interface{}

func (ManagerConnectivityConfigurationDataSource) Read

func (ManagerConnectivityConfigurationDataSource) ResourceType

type ManagerConnectivityConfigurationDataSourceModel

type ManagerConnectivityConfigurationDataSourceModel struct {
	Name                         string                                          `tfschema:"name"`
	NetworkManagerId             string                                          `tfschema:"network_manager_id"`
	AppliesToGroups              []ConnectivityGroupItemModel                    `tfschema:"applies_to_group"`
	ConnectivityTopology         connectivityconfigurations.ConnectivityTopology `tfschema:"connectivity_topology"`
	DeleteExistingPeeringEnabled bool                                            `tfschema:"delete_existing_peering_enabled"`
	Description                  string                                          `tfschema:"description"`
	Hub                          []HubModel                                      `tfschema:"hub"`
	GlobalMeshEnabled            bool                                            `tfschema:"global_mesh_enabled"`
}

type ManagerConnectivityConfigurationModel

type ManagerConnectivityConfigurationModel struct {
	Name                         string                                          `tfschema:"name"`
	NetworkManagerId             string                                          `tfschema:"network_manager_id"`
	AppliesToGroups              []ConnectivityGroupItemModel                    `tfschema:"applies_to_group"`
	ConnectivityTopology         connectivityconfigurations.ConnectivityTopology `tfschema:"connectivity_topology"`
	DeleteExistingPeeringEnabled bool                                            `tfschema:"delete_existing_peering_enabled"`
	Description                  string                                          `tfschema:"description"`
	Hub                          []HubModel                                      `tfschema:"hub"`
	GlobalMeshEnabled            bool                                            `tfschema:"global_mesh_enabled"`
}

type ManagerConnectivityConfigurationResource

type ManagerConnectivityConfigurationResource struct{}

func (ManagerConnectivityConfigurationResource) Arguments

func (ManagerConnectivityConfigurationResource) Attributes

func (ManagerConnectivityConfigurationResource) Create

func (ManagerConnectivityConfigurationResource) Delete

func (ManagerConnectivityConfigurationResource) IDValidationFunc

func (ManagerConnectivityConfigurationResource) ModelObject

func (r ManagerConnectivityConfigurationResource) ModelObject() interface{}

func (ManagerConnectivityConfigurationResource) Read

func (ManagerConnectivityConfigurationResource) ResourceType

func (ManagerConnectivityConfigurationResource) Update

type ManagerCrossTenantScopeModel

type ManagerCrossTenantScopeModel struct {
	TenantId         string   `tfschema:"tenant_id"`
	ManagementGroups []string `tfschema:"management_groups"`
	Subscriptions    []string `tfschema:"subscriptions"`
}

type ManagerDataSource

type ManagerDataSource struct{}

func (ManagerDataSource) Arguments

func (r ManagerDataSource) Arguments() map[string]*pluginsdk.Schema

func (ManagerDataSource) Attributes

func (r ManagerDataSource) Attributes() map[string]*pluginsdk.Schema

func (ManagerDataSource) ModelObject

func (r ManagerDataSource) ModelObject() interface{}

func (ManagerDataSource) Read

func (ManagerDataSource) ResourceType

func (r ManagerDataSource) ResourceType() string

type ManagerDeploymentModel

type ManagerDeploymentModel struct {
	NetworkManagerId string   `tfschema:"network_manager_id"`
	ScopeAccess      string   `tfschema:"scope_access"`
	Location         string   `tfschema:"location"`
	ConfigurationIds []string `tfschema:"configuration_ids"`
}

type ManagerDeploymentResource

type ManagerDeploymentResource struct{}

func (ManagerDeploymentResource) Arguments

func (r ManagerDeploymentResource) Arguments() map[string]*pluginsdk.Schema

func (ManagerDeploymentResource) Attributes

func (r ManagerDeploymentResource) Attributes() map[string]*pluginsdk.Schema

func (ManagerDeploymentResource) Create

func (ManagerDeploymentResource) Delete

func (ManagerDeploymentResource) IDValidationFunc

func (ManagerDeploymentResource) ModelObject

func (r ManagerDeploymentResource) ModelObject() interface{}

func (ManagerDeploymentResource) Read

func (ManagerDeploymentResource) ResourceType

func (r ManagerDeploymentResource) ResourceType() string

func (ManagerDeploymentResource) Update

type ManagerManagementGroupConnectionModel

type ManagerManagementGroupConnectionModel struct {
	Name              string `tfschema:"name"`
	ManagementGroupId string `tfschema:"management_group_id"`
	ConnectionState   string `tfschema:"connection_state"`
	Description       string `tfschema:"description"`
	NetworkManagerId  string `tfschema:"network_manager_id"`
}

type ManagerManagementGroupConnectionResource

type ManagerManagementGroupConnectionResource struct{}

func (ManagerManagementGroupConnectionResource) Arguments

func (ManagerManagementGroupConnectionResource) Attributes

func (ManagerManagementGroupConnectionResource) Create

func (ManagerManagementGroupConnectionResource) Delete

func (ManagerManagementGroupConnectionResource) IDValidationFunc

func (ManagerManagementGroupConnectionResource) ModelObject

func (r ManagerManagementGroupConnectionResource) ModelObject() interface{}

func (ManagerManagementGroupConnectionResource) Read

func (ManagerManagementGroupConnectionResource) ResourceType

func (ManagerManagementGroupConnectionResource) Update

type ManagerModel

type ManagerModel struct {
	CrossTenantScopes []ManagerCrossTenantScopeModel `tfschema:"cross_tenant_scopes"`
	Scope             []ManagerScopeModel            `tfschema:"scope"`
	ScopeAccesses     []string                       `tfschema:"scope_accesses"`
	Description       string                         `tfschema:"description"`
	Name              string                         `tfschema:"name"`
	Location          string                         `tfschema:"location"`
	ResourceGroupName string                         `tfschema:"resource_group_name"`
	Tags              map[string]interface{}         `tfschema:"tags"`
}

type ManagerNetworkGroupDataSource

type ManagerNetworkGroupDataSource struct{}

func (ManagerNetworkGroupDataSource) Arguments

func (ManagerNetworkGroupDataSource) Attributes

func (ManagerNetworkGroupDataSource) ModelObject

func (r ManagerNetworkGroupDataSource) ModelObject() interface{}

func (ManagerNetworkGroupDataSource) Read

func (ManagerNetworkGroupDataSource) ResourceType

func (r ManagerNetworkGroupDataSource) ResourceType() string

type ManagerNetworkGroupModel

type ManagerNetworkGroupModel struct {
	Name             string `tfschema:"name"`
	NetworkManagerId string `tfschema:"network_manager_id"`
	Description      string `tfschema:"description"`
}

type ManagerNetworkGroupResource

type ManagerNetworkGroupResource struct{}

func (ManagerNetworkGroupResource) Arguments

func (ManagerNetworkGroupResource) Attributes

func (r ManagerNetworkGroupResource) Attributes() map[string]*pluginsdk.Schema

func (ManagerNetworkGroupResource) Create

func (ManagerNetworkGroupResource) Delete

func (ManagerNetworkGroupResource) IDValidationFunc

func (ManagerNetworkGroupResource) ModelObject

func (r ManagerNetworkGroupResource) ModelObject() interface{}

func (ManagerNetworkGroupResource) Read

func (ManagerNetworkGroupResource) ResourceType

func (r ManagerNetworkGroupResource) ResourceType() string

func (ManagerNetworkGroupResource) Update

type ManagerResource

type ManagerResource struct{}

func (ManagerResource) Arguments

func (r ManagerResource) Arguments() map[string]*pluginsdk.Schema

func (ManagerResource) Attributes

func (r ManagerResource) Attributes() map[string]*pluginsdk.Schema

func (ManagerResource) Create

func (r ManagerResource) Create() sdk.ResourceFunc

func (ManagerResource) Delete

func (r ManagerResource) Delete() sdk.ResourceFunc

func (ManagerResource) IDValidationFunc

func (r ManagerResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (ManagerResource) ModelObject

func (r ManagerResource) ModelObject() interface{}

func (ManagerResource) Read

func (r ManagerResource) Read() sdk.ResourceFunc

func (ManagerResource) ResourceType

func (r ManagerResource) ResourceType() string

func (ManagerResource) Update

func (r ManagerResource) Update() sdk.ResourceFunc

type ManagerScopeConnectionModel

type ManagerScopeConnectionModel struct {
	Name             string `tfschema:"name"`
	NetworkManagerId string `tfschema:"network_manager_id"`
	ConnectionState  string `tfschema:"connection_state"`
	Description      string `tfschema:"description"`
	ResourceId       string `tfschema:"target_scope_id"`
	TenantId         string `tfschema:"tenant_id"`
}

type ManagerScopeConnectionResource

type ManagerScopeConnectionResource struct{}

func (ManagerScopeConnectionResource) Arguments

func (ManagerScopeConnectionResource) Attributes

func (ManagerScopeConnectionResource) Create

func (ManagerScopeConnectionResource) Delete

func (ManagerScopeConnectionResource) IDValidationFunc

func (ManagerScopeConnectionResource) ModelObject

func (r ManagerScopeConnectionResource) ModelObject() interface{}

func (ManagerScopeConnectionResource) Read

func (ManagerScopeConnectionResource) ResourceType

func (r ManagerScopeConnectionResource) ResourceType() string

func (ManagerScopeConnectionResource) Update

type ManagerScopeModel

type ManagerScopeModel struct {
	ManagementGroups []string `tfschema:"management_group_ids"`
	Subscriptions    []string `tfschema:"subscription_ids"`
}

type ManagerSecurityAdminConfigurationModel

type ManagerSecurityAdminConfigurationModel struct {
	Name                                    string   `tfschema:"name"`
	NetworkManagerId                        string   `tfschema:"network_manager_id"`
	ApplyOnNetworkIntentPolicyBasedServices []string `tfschema:"apply_on_network_intent_policy_based_services"`
	Description                             string   `tfschema:"description"`
}

type ManagerSecurityAdminConfigurationResource

type ManagerSecurityAdminConfigurationResource struct{}

func (ManagerSecurityAdminConfigurationResource) Arguments

func (ManagerSecurityAdminConfigurationResource) Attributes

func (ManagerSecurityAdminConfigurationResource) Create

func (ManagerSecurityAdminConfigurationResource) Delete

func (ManagerSecurityAdminConfigurationResource) IDValidationFunc

func (ManagerSecurityAdminConfigurationResource) ModelObject

func (r ManagerSecurityAdminConfigurationResource) ModelObject() interface{}

func (ManagerSecurityAdminConfigurationResource) Read

func (ManagerSecurityAdminConfigurationResource) ResourceType

func (ManagerSecurityAdminConfigurationResource) Update

type ManagerStaticMemberModel

type ManagerStaticMemberModel struct {
	Name           string `tfschema:"name"`
	NetworkGroupId string `tfschema:"network_group_id"`
	TargetVNetId   string `tfschema:"target_virtual_network_id"`
	Region         string `tfschema:"region"`
}

type ManagerStaticMemberResource

type ManagerStaticMemberResource struct{}

func (ManagerStaticMemberResource) Arguments

func (ManagerStaticMemberResource) Attributes

func (r ManagerStaticMemberResource) Attributes() map[string]*pluginsdk.Schema

func (ManagerStaticMemberResource) Create

func (ManagerStaticMemberResource) Delete

func (ManagerStaticMemberResource) IDValidationFunc

func (ManagerStaticMemberResource) ModelObject

func (r ManagerStaticMemberResource) ModelObject() interface{}

func (ManagerStaticMemberResource) Read

func (ManagerStaticMemberResource) ResourceType

func (r ManagerStaticMemberResource) ResourceType() string

type ManagerSubscriptionConnectionModel

type ManagerSubscriptionConnectionModel struct {
	Name             string `tfschema:"name"`
	SubscriptionId   string `tfschema:"subscription_id"`
	ConnectionState  string `tfschema:"connection_state"`
	Description      string `tfschema:"description"`
	NetworkManagerId string `tfschema:"network_manager_id"`
}

type ManagerSubscriptionConnectionResource

type ManagerSubscriptionConnectionResource struct{}

func (ManagerSubscriptionConnectionResource) Arguments

func (ManagerSubscriptionConnectionResource) Attributes

func (ManagerSubscriptionConnectionResource) Create

func (ManagerSubscriptionConnectionResource) Delete

func (ManagerSubscriptionConnectionResource) IDValidationFunc

func (ManagerSubscriptionConnectionResource) ModelObject

func (r ManagerSubscriptionConnectionResource) ModelObject() interface{}

func (ManagerSubscriptionConnectionResource) Read

func (ManagerSubscriptionConnectionResource) ResourceType

func (ManagerSubscriptionConnectionResource) Update

type Parameter

type Parameter struct {
	AsPath      []string `tfschema:"as_path"`
	Community   []string `tfschema:"community"`
	RoutePrefix []string `tfschema:"route_prefix"`
}

type PrivateEndpointApplicationSecurityGroupAssociationModel

type PrivateEndpointApplicationSecurityGroupAssociationModel struct {
	PrivateEndpointId          string `tfschema:"private_endpoint_id"`
	ApplicationSecurityGroupId string `tfschema:"application_security_group_id"`
}

type PrivateEndpointApplicationSecurityGroupAssociationResource

type PrivateEndpointApplicationSecurityGroupAssociationResource struct {
}

func (PrivateEndpointApplicationSecurityGroupAssociationResource) Arguments

func (PrivateEndpointApplicationSecurityGroupAssociationResource) Attributes

func (PrivateEndpointApplicationSecurityGroupAssociationResource) Create

func (PrivateEndpointApplicationSecurityGroupAssociationResource) Delete

func (PrivateEndpointApplicationSecurityGroupAssociationResource) IDValidationFunc

func (PrivateEndpointApplicationSecurityGroupAssociationResource) ModelObject

func (PrivateEndpointApplicationSecurityGroupAssociationResource) Read

func (PrivateEndpointApplicationSecurityGroupAssociationResource) ResourceType

type Registration

type Registration struct{}

func (Registration) AssociatedGitHubLabel

func (r Registration) AssociatedGitHubLabel() string

func (Registration) DataSources

func (r Registration) DataSources() []sdk.DataSource

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) Resources

func (r Registration) Resources() []sdk.Resource

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

type RouteMapModel

type RouteMapModel struct {
	Name         string `tfschema:"name"`
	VirtualHubId string `tfschema:"virtual_hub_id"`
	Rules        []Rule `tfschema:"rule"`
}

type RouteMapResource

type RouteMapResource struct{}

func (RouteMapResource) Arguments

func (r RouteMapResource) Arguments() map[string]*pluginsdk.Schema

func (RouteMapResource) Attributes

func (r RouteMapResource) Attributes() map[string]*pluginsdk.Schema

func (RouteMapResource) Create

func (r RouteMapResource) Create() sdk.ResourceFunc

func (RouteMapResource) Delete

func (r RouteMapResource) Delete() sdk.ResourceFunc

func (RouteMapResource) IDValidationFunc

func (r RouteMapResource) IDValidationFunc() pluginsdk.SchemaValidateFunc

func (RouteMapResource) ModelObject

func (r RouteMapResource) ModelObject() interface{}

func (RouteMapResource) Read

func (RouteMapResource) ResourceType

func (r RouteMapResource) ResourceType() string

func (RouteMapResource) Update

func (r RouteMapResource) Update() sdk.ResourceFunc

type RoutingPolicy

type RoutingPolicy struct {
	Destinations []string `tfschema:"destinations"`
	Name         string   `tfschema:"name"`
	NextHop      string   `tfschema:"next_hop"`
}

type Rule

type Rule struct {
	Actions           []Action         `tfschema:"action"`
	MatchCriteria     []Criterion      `tfschema:"match_criterion"`
	Name              string           `tfschema:"name"`
	NextStepIfMatched network.NextStep `tfschema:"next_step_if_matched"`
}

type VirtualHubRoutingIntentModel

type VirtualHubRoutingIntentModel struct {
	Name            string          `tfschema:"name"`
	VirtualHubId    string          `tfschema:"virtual_hub_id"`
	RoutingPolicies []RoutingPolicy `tfschema:"routing_policy"`
}

type VirtualHubRoutingIntentResource

type VirtualHubRoutingIntentResource struct{}

func (VirtualHubRoutingIntentResource) Arguments

func (VirtualHubRoutingIntentResource) Attributes

func (VirtualHubRoutingIntentResource) Create

func (VirtualHubRoutingIntentResource) Delete

func (VirtualHubRoutingIntentResource) IDValidationFunc

func (VirtualHubRoutingIntentResource) ModelObject

func (r VirtualHubRoutingIntentResource) ModelObject() interface{}

func (VirtualHubRoutingIntentResource) Read

func (VirtualHubRoutingIntentResource) ResourceType

func (r VirtualHubRoutingIntentResource) ResourceType() string

func (VirtualHubRoutingIntentResource) Update

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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