networks

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSources

func DataSources() []func() datasource.DataSource

func NetworksSettingsResourceModelNetworksSettingsResourceModelLocalStatusPageAttrTypes

func NetworksSettingsResourceModelNetworksSettingsResourceModelLocalStatusPageAttrTypes() map[string]attr.Type

func NetworksSettingsResourceModelNetworksSettingsResourceModelLocalStatusPageAuthenticationAttrTypes

func NetworksSettingsResourceModelNetworksSettingsResourceModelLocalStatusPageAuthenticationAttrTypes() map[string]attr.Type

func NewNetworkGroupPoliciesDataSource

func NewNetworkGroupPoliciesDataSource() datasource.DataSource

func NewNetworkResource

func NewNetworkResource() resource.Resource

func NewNetworksCellularGatewaySubnetPoolResource

func NewNetworksCellularGatewaySubnetPoolResource() resource.Resource

func NewNetworksCellularGatewayUplinkResource

func NewNetworksCellularGatewayUplinkResource() resource.Resource

func NewNetworksDevicesClaimResource

func NewNetworksDevicesClaimResource() resource.Resource

func NewNetworksGroupPolicyResource

func NewNetworksGroupPolicyResource() resource.Resource

func NewNetworksNetflowResource

func NewNetworksNetflowResource() resource.Resource

func NewNetworksSettingsResource

func NewNetworksSettingsResource() resource.Resource

func NewNetworksSnmpResource

func NewNetworksSnmpResource() resource.Resource

func NewNetworksStormControlResource

func NewNetworksStormControlResource() resource.Resource

func NewNetworksSwitchStormControlDataSource

func NewNetworksSwitchStormControlDataSource() datasource.DataSource

func NewNetworksSyslogServersResource

func NewNetworksSyslogServersResource() resource.Resource

func NewNetworksTrafficAnalysisResource

func NewNetworksTrafficAnalysisResource() resource.Resource

func Resources

func Resources() []func() resource.Resource

Types

type GroupPolicyResourceModel

type GroupPolicyResourceModel struct {
	ID                        types.String `tfsdk:"id"`
	Name                      types.String `tfsdk:"name" json:"name"`
	GroupPolicyId             types.String `tfsdk:"group_policy_id" json:"groupPolicyId"`
	NetworkId                 types.String `tfsdk:"network_id" json:"networkId"`
	Scheduling                types.Object `tfsdk:"scheduling" json:"scheduling"`
	Bandwidth                 types.Object `tfsdk:"bandwidth" json:"bandwidth"`
	FirewallAndTrafficShaping types.Object `tfsdk:"firewall_and_traffic_shaping" json:"firewallAndTrafficShaping"`
	ContentFiltering          types.Object `tfsdk:"content_filtering" json:"contentFiltering"`
	SplashAuthSettings        types.String `tfsdk:"splash_auth_settings" json:"splashAuthSettings"`
	VlanTagging               types.Object `tfsdk:"vlan_tagging" json:"vlanTagging"`
	BonjourForwarding         types.Object `tfsdk:"bonjour_forwarding" json:"bonjourForwarding"`
}

GroupPolicyResourceModel represents a group policy.

type GroupPolicyResourceModelBandwidth

type GroupPolicyResourceModelBandwidth struct {
	Settings        types.String `tfsdk:"settings" json:"settings"`
	BandwidthLimits types.Object `tfsdk:"bandwidth_limits" json:"bandwidthLimits"`
}

GroupPolicyResourceModelBandwidth represents the bandwidth settings.

type GroupPolicyResourceModelBandwidthLimits

type GroupPolicyResourceModelBandwidthLimits struct {
	LimitUp   types.Int64 `tfsdk:"limit_up" json:"limitUp"`
	LimitDown types.Int64 `tfsdk:"limit_down" json:"limitDown"`
}

GroupPolicyResourceModelBandwidthLimits represents the bandwidth limits.

type GroupPolicyResourceModelBonjourForwarding

type GroupPolicyResourceModelBonjourForwarding struct {
	Settings types.String `tfsdk:"settings" json:"settings"`
	Rules    types.List   `tfsdk:"rules" json:"rules"`
}

GroupPolicyResourceModelBonjourForwarding represents the Bonjour forwarding settings.

type GroupPolicyResourceModelBonjourForwardingRule

type GroupPolicyResourceModelBonjourForwardingRule struct {
	Description types.String `tfsdk:"description" json:"description"`
	VlanID      types.String `tfsdk:"vlan_id" json:"vlanId"`
	Services    types.List   `tfsdk:"services" json:"services"`
}

GroupPolicyResourceModelBonjourForwardingRule represents a Bonjour forwarding rule.

type GroupPolicyResourceModelContentFiltering

type GroupPolicyResourceModelContentFiltering struct {
	AllowedUrlPatterns   types.Object `tfsdk:"allowed_url_patterns" json:"allowedUrlPatterns"`
	BlockedUrlPatterns   types.Object `tfsdk:"blocked_url_patterns" json:"blockedUrlPatterns"`
	BlockedUrlCategories types.Object `tfsdk:"blocked_url_categories" json:"blockedUrlCategories"`
}

GroupPolicyResourceModelContentFiltering represents the content filtering settings.

type GroupPolicyResourceModelFirewallAndTrafficShaping

type GroupPolicyResourceModelFirewallAndTrafficShaping struct {
	Settings            types.String `tfsdk:"settings" json:"settings"`
	L3FirewallRules     types.List   `tfsdk:"l3_firewall_rules" json:"l3FirewallRules"`
	L7FirewallRules     types.List   `tfsdk:"l7_firewall_rules" json:"l7FirewallRules"`
	TrafficShapingRules types.List   `tfsdk:"traffic_shaping_rules" json:"trafficShapingRules"`
}

GroupPolicyResourceModelFirewallAndTrafficShaping represents the firewall and traffic shaping settings.

type GroupPolicyResourceModelL3FirewallRule

type GroupPolicyResourceModelL3FirewallRule struct {
	Comment  types.String `tfsdk:"comment" json:"comment"`
	Policy   types.String `tfsdk:"policy" json:"policy"`
	Protocol types.String `tfsdk:"protocol" json:"protocol"`
	DestPort types.String `tfsdk:"dest_port" json:"destPort"`
	DestCidr types.String `tfsdk:"dest_cidr" json:"destCidr"`
}

GroupPolicyResourceModelL3FirewallRule represents a layer 3 firewall rule.

type GroupPolicyResourceModelL7FirewallRule

type GroupPolicyResourceModelL7FirewallRule struct {
	Policy types.String `tfsdk:"policy" json:"policy"`
	Type   types.String `tfsdk:"type" json:"type"`
	Value  types.String `tfsdk:"value" json:"value"`
}

GroupPolicyResourceModelL7FirewallRule represents a layer 7 firewall rule.

type GroupPolicyResourceModelPerClientBandwidthLimits

type GroupPolicyResourceModelPerClientBandwidthLimits struct {
	Settings        types.String `tfsdk:"settings" json:"settings"`
	BandwidthLimits types.Object `tfsdk:"bandwidth_limits" json:"bandwidthLimits"`
}

GroupPolicyResourceModelPerClientBandwidthLimits represents the per-client bandwidth limits.

type GroupPolicyResourceModelScheduleDay

type GroupPolicyResourceModelScheduleDay struct {
	Active types.Bool   `tfsdk:"active" json:"active"`
	From   types.String `tfsdk:"from" json:"from"`
	To     types.String `tfsdk:"to" json:"to"`
}

GroupPolicyResourceModelScheduleDay represents a single day's schedule.

type GroupPolicyResourceModelScheduling

type GroupPolicyResourceModelScheduling struct {
	Enabled   types.Bool   `tfsdk:"enabled" json:"enabled"`
	Monday    types.Object `tfsdk:"monday" json:"monday"`
	Tuesday   types.Object `tfsdk:"tuesday" json:"tuesday"`
	Wednesday types.Object `tfsdk:"wednesday" json:"wednesday"`
	Thursday  types.Object `tfsdk:"thursday" json:"thursday"`
	Friday    types.Object `tfsdk:"friday" json:"friday"`
	Saturday  types.Object `tfsdk:"saturday" json:"saturday"`
	Sunday    types.Object `tfsdk:"sunday" json:"sunday"`
}

GroupPolicyResourceModelScheduling represents the scheduling settings.

type GroupPolicyResourceModelTrafficShapingDefinition

type GroupPolicyResourceModelTrafficShapingDefinition struct {
	Type  types.String `tfsdk:"type" json:"type"`
	Value types.String `tfsdk:"value" json:"value"`
}

GroupPolicyResourceModelTrafficShapingDefinition represents a traffic shaping definition.

type GroupPolicyResourceModelTrafficShapingRule

type GroupPolicyResourceModelTrafficShapingRule struct {
	DscpTagValue             types.Int64  `tfsdk:"dscp_tag_value" json:"dscpTagValue"`
	PcpTagValue              types.Int64  `tfsdk:"pcp_tag_value" json:"pcpTagValue"`
	PerClientBandwidthLimits types.Object `tfsdk:"per_client_bandwidth_limits" json:"perClientBandwidthLimits"`
	Definitions              types.List   `tfsdk:"definitions" json:"definitions"`
}

GroupPolicyResourceModelTrafficShapingRule represents a traffic shaping rule.2

type GroupPolicyResourceModelUrlCategories

type GroupPolicyResourceModelUrlCategories struct {
	Categories types.List   `tfsdk:"categories" json:"categories"`
	Settings   types.String `tfsdk:"settings" json:"settings"`
}

type GroupPolicyResourceModelUrlPatterns

type GroupPolicyResourceModelUrlPatterns struct {
	Patterns types.List   `tfsdk:"patterns" json:"patterns"`
	Settings types.String `tfsdk:"settings" json:"settings"`
}

type GroupPolicyResourceModelVlanTagging

type GroupPolicyResourceModelVlanTagging struct {
	Settings types.String `tfsdk:"settings" json:"settings"`
	VlanID   types.String `tfsdk:"vlan_id" json:"vlanId"`
}

GroupPolicyResourceModelVlanTagging represents the VLAN tagging settings.

type NetworkGroupPoliciesDataSource

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

NetworkGroupPoliciesDataSource defines the data source implementation.

func (*NetworkGroupPoliciesDataSource) Configure

func (*NetworkGroupPoliciesDataSource) Metadata

func (*NetworkGroupPoliciesDataSource) Read

func (*NetworkGroupPoliciesDataSource) Schema

type NetworkGroupPoliciesDataSourceModel

type NetworkGroupPoliciesDataSourceModel struct {
	Id        jsontypes2.String                         `tfsdk:"id"`
	NetworkId jsontypes2.String                         `tfsdk:"network_id"`
	List      []NetworkGroupPoliciesDataSourceModelList `tfsdk:"list"`
}

NetworkGroupPoliciesDataSourceModel describes the data source data model.

type NetworkGroupPoliciesDataSourceModelAllowedUrlPatterns

type NetworkGroupPoliciesDataSourceModelAllowedUrlPatterns struct {
	Settings jsontypes2.String `tfsdk:"settings" json:"settings"`
	Patterns []string          `tfsdk:"patterns" json:"patterns"`
}

type NetworkGroupPoliciesDataSourceModelBandwidthDataSource

type NetworkGroupPoliciesDataSourceModelBandwidthDataSource struct {
	BandwidthLimitsDataSource NetworkGroupPoliciesDataSourceModelBandwidthLimits `tfsdk:"bandwidth_limits" json:"bandwidthLimits"`
	Settings                  jsontypes2.String                                  `tfsdk:"settings" json:"settings"`
}

type NetworkGroupPoliciesDataSourceModelBandwidthLimits

type NetworkGroupPoliciesDataSourceModelBandwidthLimits struct {
	LimitUp   jsontypes2.Int64 `tfsdk:"limit_up" json:"limitUp"`
	LimitDown jsontypes2.Int64 `tfsdk:"limit_down" json:"limitDown"`
}

type NetworkGroupPoliciesDataSourceModelBlockedUrlCategories

type NetworkGroupPoliciesDataSourceModelBlockedUrlCategories struct {
	Settings   jsontypes2.String `tfsdk:"settings" json:"settings"`
	Categories []string          `tfsdk:"categories" json:"categories"`
}

type NetworkGroupPoliciesDataSourceModelBlockedUrlPatterns

type NetworkGroupPoliciesDataSourceModelBlockedUrlPatterns struct {
	Settings jsontypes2.String `tfsdk:"settings" json:"settings"`
	Patterns []string          `tfsdk:"patterns" json:"patterns"`
}

type NetworkGroupPoliciesDataSourceModelBonjourForwarding

type NetworkGroupPoliciesDataSourceModelBonjourForwarding struct {
	BonjourForwardingSettings string                                    `tfsdk:"settings" json:"settings"`
	BonjourForwardingRules    []NetworkGroupPoliciesDataSourceModelRule `tfsdk:"rules" json:"rules"`
}

type NetworkGroupPoliciesDataSourceModelContentFiltering

type NetworkGroupPoliciesDataSourceModelContentFiltering struct {
	AllowedUrlPatterns   NetworkGroupPoliciesDataSourceModelAllowedUrlPatterns   `tfsdk:"allowed_url_patterns" json:"allowedUrlPatterns"`
	BlockedUrlCategories NetworkGroupPoliciesDataSourceModelBlockedUrlCategories `tfsdk:"blocked_url_categories" json:"blockedUrlCategories"`
	BlockedUrlPatterns   NetworkGroupPoliciesDataSourceModelBlockedUrlPatterns   `tfsdk:"blocked_url_patterns" json:"blockedUrlPatterns"`
}

type NetworkGroupPoliciesDataSourceModelDefinition

type NetworkGroupPoliciesDataSourceModelDefinition struct {
	Value jsontypes2.String `tfsdk:"value" json:"value"`
	Type  jsontypes2.String `tfsdk:"type" json:"type"`
}

type NetworkGroupPoliciesDataSourceModelFirewallAndTrafficShaping

type NetworkGroupPoliciesDataSourceModelFirewallAndTrafficShaping struct {
	Settings            jsontypes2.String                                       `tfsdk:"settings" json:"settings"`
	L3FirewallRules     []NetworkGroupPoliciesDataSourceModelL3FirewallRule     `tfsdk:"l3_firewall_rules" json:"l3FirewallRules"`
	L7FirewallRules     []NetworkGroupPoliciesDataSourceModelL7FirewallRule     `tfsdk:"l7_firewall_rules" json:"l7FirewallRules"`
	TrafficShapingRules []NetworkGroupPoliciesDataSourceModelTrafficShapingRule `tfsdk:"traffic_shaping_rules" json:"trafficShapingRules"`
}

type NetworkGroupPoliciesDataSourceModelL3FirewallRule

type NetworkGroupPoliciesDataSourceModelL3FirewallRule struct {
	Comment  jsontypes2.String `tfsdk:"comment" json:"comment"`
	DestCidr jsontypes2.String `tfsdk:"dest_cidr" json:"destCidr"`
	DestPort jsontypes2.String `tfsdk:"dest_port" json:"destPort"`
	Policy   jsontypes2.String `tfsdk:"policy" json:"policy"`
	Protocol jsontypes2.String `tfsdk:"protocol" json:"protocol"`
}

type NetworkGroupPoliciesDataSourceModelL7FirewallRule

type NetworkGroupPoliciesDataSourceModelL7FirewallRule struct {
	Value  jsontypes2.String `tfsdk:"value" json:"value"`
	Type   jsontypes2.String `tfsdk:"type" json:"type"`
	Policy jsontypes2.String `tfsdk:"policy" json:"policy"`
}

type NetworkGroupPoliciesDataSourceModelList

type NetworkGroupPoliciesDataSourceModelList struct {
	GroupPolicyId             jsontypes2.String                                            `tfsdk:"group_policy_id" json:"groupPolicyId"`
	Name                      jsontypes2.String                                            `tfsdk:"name" json:"name"`
	SplashAuthSettings        jsontypes2.String                                            `tfsdk:"splash_auth_settings" json:"splashAuthSettings"`
	BandWidth                 NetworkGroupPoliciesDataSourceModelBandwidthDataSource       `tfsdk:"bandwidth" json:"bandwidth"`
	BonjourForwarding         NetworkGroupPoliciesDataSourceModelBonjourForwarding         `tfsdk:"bonjour_forwarding" json:"bonjourForwarding"`
	Scheduling                NetworkGroupPoliciesDataSourceModelScheduling                `tfsdk:"scheduling" json:"scheduling"`
	FirewallAndTrafficShaping NetworkGroupPoliciesDataSourceModelFirewallAndTrafficShaping `tfsdk:"firewall_and_traffic_shaping" json:"firewallAndTrafficShaping"`
	VlanTagging               NetworkGroupPoliciesDataSourceModelVlanTagging               `tfsdk:"vlan_tagging" json:"vlanTagging"`
	ContentFiltering          NetworkGroupPoliciesDataSourceModelContentFiltering          `tfsdk:"content_filtering" json:"contentFiltering"`
}

NetworkGroupPoliciesDataSourceModelList describes the data source data model.

type NetworkGroupPoliciesDataSourceModelPerClientBandwidthLimits

type NetworkGroupPoliciesDataSourceModelPerClientBandwidthLimits struct {
	BandwidthLimitsDataSource NetworkGroupPoliciesDataSourceModelBandwidthLimits `tfsdk:"bandwidth_limits" json:"bandwidthLimits"`
	Settings                  jsontypes2.String                                  `tfsdk:"settings" json:"settings"`
}

type NetworkGroupPoliciesDataSourceModelRule

type NetworkGroupPoliciesDataSourceModelRule struct {
	Description jsontypes2.String `tfsdk:"description" json:"description"`
	VlanId      jsontypes2.String `tfsdk:"vlan_id" json:"vlanId"`
	Services    []string          `tfsdk:"services" json:"services"`
}

type NetworkGroupPoliciesDataSourceModelSchedule

type NetworkGroupPoliciesDataSourceModelSchedule struct {
	From   jsontypes2.String `tfsdk:"from" json:"from"`
	To     jsontypes2.String `tfsdk:"to" json:"to"`
	Active jsontypes2.Bool   `tfsdk:"active" json:"active"`
}

type NetworkGroupPoliciesDataSourceModelScheduling

type NetworkGroupPoliciesDataSourceModelScheduling struct {
	Enabled   jsontypes2.Bool                             `tfsdk:"enabled" json:"enabled"`
	Friday    NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"friday" json:"friday"`
	Monday    NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"monday" json:"monday"`
	Saturday  NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"saturday" json:"saturday"`
	Sunday    NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"sunday" json:"sunday"`
	Thursday  NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"thursday" json:"thursday"`
	Tuesday   NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"tuesday" json:"tuesday"`
	Wednesday NetworkGroupPoliciesDataSourceModelSchedule `tfsdk:"wednesday" json:"wednesday"`
}

type NetworkGroupPoliciesDataSourceModelTrafficShapingRule

type NetworkGroupPoliciesDataSourceModelTrafficShapingRule struct {
	DscpTagValue             jsontypes2.Int64                                            `tfsdk:"dscp_tag_value" json:"dscpTagValue"`
	PcpTagValue              jsontypes2.Int64                                            `tfsdk:"pcp_tag_value" json:"pcpTagValue"`
	PerClientBandwidthLimits NetworkGroupPoliciesDataSourceModelPerClientBandwidthLimits `tfsdk:"per_client_bandwidth_limits" json:"perClientBandwidthLimits"`
	Definitions              []NetworkGroupPoliciesDataSourceModelDefinition             `tfsdk:"definitions" json:"definitions"`
}

type NetworkGroupPoliciesDataSourceModelVlanTagging

type NetworkGroupPoliciesDataSourceModelVlanTagging struct {
	Settings jsontypes2.String `tfsdk:"settings" json:"settings"`
	VlanId   jsontypes2.String `tfsdk:"vlan_id" json:"vlanId"`
}

type NetworkResource

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

NetworkResource defines the resource implementation.

func (*NetworkResource) Configure

func (*NetworkResource) Create

func (*NetworkResource) Delete

func (*NetworkResource) ImportState

func (*NetworkResource) Metadata

func (*NetworkResource) Read

func (*NetworkResource) Schema

func (*NetworkResource) Update

type NetworkResourceModel

type NetworkResourceModel struct {
	Id                      types.String `tfsdk:"id"`
	NetworkId               types.String `tfsdk:"network_id" json:"id"`
	OrganizationId          types.String `tfsdk:"organization_id" json:"organizationId"`
	Name                    types.String `tfsdk:"name"`
	ProductTypes            types.Set    `tfsdk:"product_types" json:"productTypes"`
	Timezone                types.String `tfsdk:"timezone" json:"timeZone"`
	Tags                    types.Set    `tfsdk:"tags"`
	EnrollmentString        types.String `tfsdk:"enrollment_string" json:"enrollmentString"`
	Url                     types.String `tfsdk:"url"`
	Notes                   types.String `tfsdk:"notes"`
	IsBoundToConfigTemplate types.Bool   `tfsdk:"is_bound_to_config_template" json:"IsBoundToConfigTemplate"`
	CopyFromNetworkId       types.String `tfsdk:"copy_from_network_id" json:"copyFromNetworkId"`
}

NetworkResourceModel describes the resource data model.

type NetworksCellularGatewaySubnetPoolResource

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

NetworksCellularGatewaySubnetPoolResource struct defines the structure for this resource. It includes an APIClient field for making requests to the Meraki API.

func (*NetworksCellularGatewaySubnetPoolResource) Configure

Configure is a method of the Resource interface that Terraform calls to provide the configured provider instance to the resource. It passes the ResourceData that's been stored by the provider's ConfigureFunc.

func (*NetworksCellularGatewaySubnetPoolResource) Create

Create method is responsible for creating a new resource. It takes a CreateRequest containing the planned state of the new resource and returns a CreateResponse with the final state of the new resource or an error.

func (*NetworksCellularGatewaySubnetPoolResource) Delete

Delete function is responsible for deleting a resource. It uses a DeleteRequest and responds with a DeleteResponse which contains the updated state of the resource or an error.

func (*NetworksCellularGatewaySubnetPoolResource) ImportState

ImportState function is used to import an existing resource into Terraform. The function expects an ImportStateRequest and responds with an ImportStateResponse which contains the new state of the resource or an error.

func (*NetworksCellularGatewaySubnetPoolResource) Metadata

Metadata provides a way to define information about the resource. This method is called by the framework to retrieve metadata about the resource.

func (*NetworksCellularGatewaySubnetPoolResource) Read

Read method is responsible for reading an existing resource's state. It takes a ReadRequest and returns a ReadResponse with the current state of the resource or an error.

func (*NetworksCellularGatewaySubnetPoolResource) Schema

Schema provides a way to define the structure of the resource data. It is called by the framework to get the schema of the resource.

func (*NetworksCellularGatewaySubnetPoolResource) Update

Update function is responsible for updating the state of an existing resource. It uses an UpdateRequest and responds with an UpdateResponse which contains the updated state of the resource or an error.

type NetworksCellularGatewaySubnetPoolResourceModel

type NetworksCellularGatewaySubnetPoolResourceModel struct {
	Id             jsontypes2.String                                      `tfsdk:"id"`
	NetworkId      jsontypes2.String                                      `tfsdk:"network_id"`
	Mask           jsontypes2.Int64                                       `tfsdk:"mask"`
	Cidr           jsontypes2.String                                      `tfsdk:"cidr"`
	DeploymentMode jsontypes2.String                                      `tfsdk:"deployment_mode"`
	Subnets        []NetworksCellularGatewaySubnetPoolResourceModelSubnet `tfsdk:"subnets"`
}

The NetworksCellularGatewaySubnetPoolResourceModel structure describes the data model. This struct is where you define all the attributes that are part of this resource's state.

type NetworksCellularGatewaySubnetPoolResourceModelSubnet

type NetworksCellularGatewaySubnetPoolResourceModelSubnet struct {
	Serial      jsontypes2.String `tfsdk:"serial"`
	Name        jsontypes2.String `tfsdk:"name"`
	ApplianceIp jsontypes2.String `tfsdk:"appliance_ip"`
	Subnet      jsontypes2.String `tfsdk:"subnet"`
}

type NetworksCellularGatewayUplinkResource

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

func (*NetworksCellularGatewayUplinkResource) Configure

Configure is a method of the Resource interface that Terraform calls to provide the configured provider instance to the resource. It passes the ResourceData that's been stored by the provider's ConfigureFunc.

func (*NetworksCellularGatewayUplinkResource) Create

Create method is responsible for creating a new resource. It takes a CreateRequest containing the planned state of the new resource and returns a CreateResponse with the final state of the new resource or an error.

func (*NetworksCellularGatewayUplinkResource) Delete

Delete function is responsible for deleting a resource. It uses a DeleteRequest and responds with a DeleteResponse which contains the updated state of the resource or an error.

func (*NetworksCellularGatewayUplinkResource) ImportState

ImportState function is used to import an existing resource into Terraform. The function expects an ImportStateRequest and responds with an ImportStateResponse which contains the new state of the resource or an error.

func (*NetworksCellularGatewayUplinkResource) Metadata

Metadata provides a way to define information about the resource. This method is called by the framework to retrieve metadata about the resource.

func (*NetworksCellularGatewayUplinkResource) Read

Read method is responsible for reading an existing resource's state. It takes a ReadRequest and returns a ReadResponse with the current state of the resource or an error.

func (*NetworksCellularGatewayUplinkResource) Schema

Schema provides a way to define the structure of the resource data. It is called by the framework to get the schema of the resource.

func (*NetworksCellularGatewayUplinkResource) Update

Update function is responsible for updating the state of an existing resource. It uses an UpdateRequest and responds with an UpdateResponse which contains the updated state of the resource or an error.

type NetworksCellularGatewayUplinkResourceModel

type NetworksCellularGatewayUplinkResourceModel struct {

	// The Id field is mandatory for all resources. It's used for resource identification and is required
	// for the acceptance tests to run.
	Id                             jsontypes2.String                                                        `tfsdk:"id"`
	NetworkId                      jsontypes2.String                                                        `tfsdk:"network_id"`
	CellularGatewayBandwidthLimits NetworksCellularGatewayUplinkResourceModelCellularGatewayBandwidthLimits `tfsdk:"bandwidth_limits"`
}

The NetworksCellularGatewayUplinkResourceModel structure describes the data model. This struct is where you define all the attributes that are part of this resource's state.

type NetworksCellularGatewayUplinkResourceModelCellularGatewayBandwidthLimits

type NetworksCellularGatewayUplinkResourceModelCellularGatewayBandwidthLimits struct {
	LimitUp   jsontypes2.Int64 `tfsdk:"limit_up"`
	LimitDown jsontypes2.Int64 `tfsdk:"limit_down"`
}

type NetworksDevicesClaimResource

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

func (*NetworksDevicesClaimResource) Configure

func (*NetworksDevicesClaimResource) Create

func (*NetworksDevicesClaimResource) Delete

func (*NetworksDevicesClaimResource) ImportState

func (*NetworksDevicesClaimResource) Metadata

func (*NetworksDevicesClaimResource) Read

func (*NetworksDevicesClaimResource) Schema

func (*NetworksDevicesClaimResource) Update

Update method

type NetworksDevicesClaimResourceModel

type NetworksDevicesClaimResourceModel struct {
	Id        types.String `tfsdk:"id"`
	NetworkId types.String `tfsdk:"network_id"`
	Serials   types.Set    `tfsdk:"serials"`
}

type NetworksGroupPolicyResource

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

NetworksGroupPolicyResource defines the resource implementation.

func (*NetworksGroupPolicyResource) Configure

Configure configures the resource with the API client.

func (*NetworksGroupPolicyResource) Create

Create handles the creation of the group policy.

func (*NetworksGroupPolicyResource) Delete

Delete handles deleting the group policy.

func (*NetworksGroupPolicyResource) ImportState

func (*NetworksGroupPolicyResource) Metadata

func (*NetworksGroupPolicyResource) Read

Read handles reading the group policy.

func (*NetworksGroupPolicyResource) Schema

Schema defines the schema for the resource.

func (*NetworksGroupPolicyResource) Update

Update handles updating the group policy.

type NetworksNetflowResource

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

NetworksNetflowResource defines the resource implementation.

func (*NetworksNetflowResource) Configure

func (*NetworksNetflowResource) Create

func (*NetworksNetflowResource) Delete

func (*NetworksNetflowResource) ImportState

func (*NetworksNetflowResource) Metadata

func (*NetworksNetflowResource) Read

func (*NetworksNetflowResource) Schema

func (*NetworksNetflowResource) Update

type NetworksNetflowResourceModel

type NetworksNetflowResourceModel struct {
	Id               jsontypes2.String `tfsdk:"id"`
	NetworkId        jsontypes2.String `tfsdk:"network_id" json:"network_id"`
	ReportingEnabled jsontypes2.Bool   `tfsdk:"reporting_enabled" json:"reportingEnabled"`
	CollectorIp      jsontypes2.String `tfsdk:"collector_ip" json:"collectorIp"`
	CollectorPort    jsontypes2.Int64  `tfsdk:"collector_port" json:"collectorPort"`
	EtaEnabled       jsontypes2.Bool   `tfsdk:"eta_enabled" json:"etaEnabled"`
	EtaDstPort       jsontypes2.Int64  `tfsdk:"eta_dst_port" json:"etaDstPort"`
}

NetworksNetflowResourceModel describes the resource data model.

type NetworksSettingsResource

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

NetworksSettingsResource defines the resource implementation.

func (*NetworksSettingsResource) Configure

func (*NetworksSettingsResource) Create

func (*NetworksSettingsResource) Delete

func (*NetworksSettingsResource) ImportState

func (*NetworksSettingsResource) Metadata

func (*NetworksSettingsResource) Read

func (*NetworksSettingsResource) Schema

func (*NetworksSettingsResource) Update

type NetworksSettingsResourceModel

type NetworksSettingsResourceModel struct {
	Id                      jsontypes2.String `tfsdk:"id"`
	NetworkId               jsontypes2.String `tfsdk:"network_id" json:"network_id"`
	LocalStatusPageEnabled  jsontypes2.Bool   `tfsdk:"local_status_page_enabled" json:"localStatusPageEnabled"`
	RemoteStatusPageEnabled jsontypes2.Bool   `tfsdk:"remote_status_page_enabled" json:"remoteStatusPageEnabled"`
	LocalStatusPage         types.Object      `tfsdk:"local_status_page" json:"localStatusPage"`
	SecurePortEnabled       jsontypes2.Bool   `tfsdk:"secure_port_enabled" json:"securePort"`
	FipsEnabled             jsontypes2.Bool   `tfsdk:"fips_enabled" json:"fipsEnabled"`
	NamedVlansEnabled       jsontypes2.Bool   `tfsdk:"named_vlans_enabled" json:"namedVlansEnabled"`
}

NetworksSettingsResourceModel describes the resource data model.

func (*NetworksSettingsResourceModel) FromGetNetworkSettings200Response

func (m *NetworksSettingsResourceModel) FromGetNetworkSettings200Response(ctx context.Context, data *NetworksSettingsResourceModel, networkSettings200Response *openApiClient.GetNetworkSettings200Response) diag.Diagnostics

FromGetNetworkSettings200Response transforms an API response into the NetworksApplianceVLANsResourceModelIpv6 Terraform structure.

type NetworksSettingsResourceModelLocalStatusPage

type NetworksSettingsResourceModelLocalStatusPage struct {
	Authentication types.Object `tfsdk:"authentication" json:"authentication"`
}

func (*NetworksSettingsResourceModelLocalStatusPage) FromGetNetworkSettings200Response

FromGetNetworkSettings200Response transforms an API response into the NetworksApplianceVLANsResourceModelIpv6 Terraform structure.

type NetworksSettingsResourceModelLocalStatusPageAuthentication

type NetworksSettingsResourceModelLocalStatusPageAuthentication struct {
	Enabled  jsontypes2.Bool   `tfsdk:"enabled" json:"enabled"`
	Username jsontypes2.String `tfsdk:"username" json:"username"`
	Password jsontypes2.String `tfsdk:"password" json:"password"`
}

func (*NetworksSettingsResourceModelLocalStatusPageAuthentication) FromGetNetworkSettings200Response

FromGetNetworkSettings200Response transforms an API response into the NetworksApplianceVLANsResourceModelIpv6 Terraform structure.

type NetworksSnmpResource

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

func (*NetworksSnmpResource) Configure

func (*NetworksSnmpResource) Create

func (*NetworksSnmpResource) Delete

func (*NetworksSnmpResource) ImportState

func (*NetworksSnmpResource) Metadata

func (*NetworksSnmpResource) Read

func (*NetworksSnmpResource) Schema

func (*NetworksSnmpResource) Update

type NetworksSnmpResourceModel

type NetworksSnmpResourceModel struct {
	Id              jsontypes2.String                `tfsdk:"id"`
	NetworkId       jsontypes2.String                `tfsdk:"organization_id" json:"organizationId"`
	Access          jsontypes2.String                `tfsdk:"access" json:"access"`
	CommunityString jsontypes2.String                `tfsdk:"community_string" json:"communityString"`
	Users           []NetworksSnmpResourceModelUsers `tfsdk:"users" json:"users"`
}

NetworksSnmpResourceModel describes the resource data model.

type NetworksSnmpResourceModelUsers

type NetworksSnmpResourceModelUsers struct {
	Username   jsontypes2.String `tfsdk:"username"`
	Passphrase jsontypes2.String `tfsdk:"passphrase"`
}

type NetworksStormControlResource

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

NetworksStormControlResource defines the resource implementation.

func (*NetworksStormControlResource) Configure

func (*NetworksStormControlResource) Create

func (*NetworksStormControlResource) Delete

func (*NetworksStormControlResource) ImportState

func (*NetworksStormControlResource) Metadata

func (*NetworksStormControlResource) Read

func (*NetworksStormControlResource) Schema

func (*NetworksStormControlResource) Update

type NetworksStormControlResourceModel

type NetworksStormControlResourceModel struct {
	Id                      jsontypes2.String `tfsdk:"id" json:"-"`
	NetworkId               jsontypes2.String `tfsdk:"network_id" json:"network_id"`
	BroadcastThreshold      jsontypes2.Int64  `tfsdk:"broadcast_threshold" json:"broadcastThreshold"`
	MulticastThreshold      jsontypes2.Int64  `tfsdk:"multicast_threshold" json:"multicastThreshold"`
	UnknownUnicastThreshold jsontypes2.Int64  `tfsdk:"unknown_unicast_threshold" json:"unknownUnicastThreshold"`
}

NetworksStormControlResourceModel describes the resource data model.

type NetworksSwitchStormControlDataSource

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

NetworksSwitchStormControlDataSource defines the resource implementation.

func (*NetworksSwitchStormControlDataSource) Configure

func (*NetworksSwitchStormControlDataSource) Metadata

func (*NetworksSwitchStormControlDataSource) Read

func (*NetworksSwitchStormControlDataSource) Schema

type NetworksSwitchStormControlDataSourceModel

type NetworksSwitchStormControlDataSourceModel struct {
	Id                      jsontypes2.String `tfsdk:"id" json:"id"`
	NetworkId               jsontypes2.String `tfsdk:"network_id" json:"network_id"`
	BroadcastThreshold      jsontypes2.Int64  `tfsdk:"broadcast_threshold" json:"broadcastThreshold"`
	MulticastThreshold      jsontypes2.Int64  `tfsdk:"multicast_threshold" json:"multicastThreshold"`
	UnknownUnicastThreshold jsontypes2.Int64  `tfsdk:"unknown_unicast_threshold" json:"unknownUnicastThreshold"`
}

NetworksSwitchStormControlDataSourceModel describes the resource data model.

type NetworksSyslogServersResource

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

NetworksSyslogServersResource defines the resource implementation.

func (*NetworksSyslogServersResource) Configure

func (*NetworksSyslogServersResource) Create

func (*NetworksSyslogServersResource) Delete

func (*NetworksSyslogServersResource) ImportState

func (*NetworksSyslogServersResource) Metadata

func (*NetworksSyslogServersResource) Read

func (*NetworksSyslogServersResource) Schema

func (*NetworksSyslogServersResource) Update

type NetworksSyslogServersResourceModel

type NetworksSyslogServersResourceModel struct {
	Id        jsontypes2.String                          `tfsdk:"id"`
	NetworkId jsontypes2.String                          `tfsdk:"network_id"`
	Servers   []NetworksSyslogServersResourceModelServer `tfsdk:"servers"`
}

NetworksSyslogServersResourceModel describes the resource data model.

type NetworksSyslogServersResourceModelResponse

type NetworksSyslogServersResourceModelResponse struct {
	Servers []NetworksSyslogServersResourceModelServer `tfsdk:"servers"`
}

type NetworksSyslogServersResourceModelServer

type NetworksSyslogServersResourceModelServer struct {
	Host  jsontypes2.String   `tfsdk:"host"`
	Port  jsontypes2.String   `tfsdk:"port"`
	Roles []jsontypes2.String `tfsdk:"roles"`
}

type NetworksTrafficAnalysisResource

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

NetworksTrafficAnalysisResource defines the resource implementation.

func (*NetworksTrafficAnalysisResource) Configure

func (*NetworksTrafficAnalysisResource) Create

func (*NetworksTrafficAnalysisResource) Delete

func (*NetworksTrafficAnalysisResource) ImportState

func (*NetworksTrafficAnalysisResource) Metadata

func (*NetworksTrafficAnalysisResource) Read

func (*NetworksTrafficAnalysisResource) Schema

func (*NetworksTrafficAnalysisResource) Update

type NetworksTrafficAnalysisResourceModel

type NetworksTrafficAnalysisResourceModel struct {
	Id                  jsontypes2.String                                         `tfsdk:"id"`
	NetworkId           jsontypes2.String                                         `tfsdk:"network_id" json:"network_id"`
	Mode                jsontypes2.String                                         `tfsdk:"mode" json:"mode"`
	CustomPieChartItems []NetworksTrafficAnalysisResourceModelCustomPieChartItems `tfsdk:"custom_pie_chart_items" json:"customPieChartItems"`
}

NetworksTrafficAnalysisResourceModel describes the resource data model.

type NetworksTrafficAnalysisResourceModelCustomPieChartItems

type NetworksTrafficAnalysisResourceModelCustomPieChartItems struct {
	Name  jsontypes2.String `tfsdk:"name" json:"name"`
	Type  jsontypes2.String `tfsdk:"type" json:"type"`
	Value jsontypes2.String `tfsdk:"value" json:"value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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