import "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2020-05-01/network"
Package network implements the Azure ARM Network service API version .
Network Client
applicationgatewayprivateendpointconnections.go applicationgatewayprivatelinkresources.go applicationgateways.go applicationsecuritygroups.go availabledelegations.go availableendpointservices.go availableprivateendpointtypes.go availableresourcegroupdelegations.go availableservicealiases.go azurefirewallfqdntags.go azurefirewalls.go bastionhosts.go bgpservicecommunities.go client.go connectionmonitors.go ddoscustompolicies.go ddosprotectionplans.go defaultsecurityrules.go enums.go expressroutecircuitauthorizations.go expressroutecircuitconnections.go expressroutecircuitpeerings.go expressroutecircuits.go expressrouteconnections.go expressroutecrossconnectionpeerings.go expressroutecrossconnections.go expressroutegateways.go expressroutelinks.go expressrouteports.go expressrouteportslocations.go expressrouteserviceproviders.go firewallpolicies.go firewallpolicyrulecollectiongroups.go flowlogs.go hubroutetables.go hubvirtualnetworkconnections.go inboundnatrules.go interfaceipconfigurations.go interfaceloadbalancers.go interfacesgroup.go interfacetapconfigurations.go ipallocations.go ipgroups.go loadbalancerbackendaddresspools.go loadbalancerfrontendipconfigurations.go loadbalancerloadbalancingrules.go loadbalancernetworkinterfaces.go loadbalanceroutboundrules.go loadbalancerprobes.go loadbalancers.go localnetworkgateways.go models.go natgateways.go operations.go p2svpngateways.go packetcaptures.go peerexpressroutecircuitconnections.go privatednszonegroups.go privateendpoints.go privatelinkservices.go profiles.go publicipaddresses.go publicipprefixes.go resourcenavigationlinks.go routefilterrules.go routefilters.go routes.go routetables.go securitygroups.go securitypartnerproviders.go securityrules.go serviceassociationlinks.go serviceendpointpolicies.go serviceendpointpolicydefinitions.go servicetags.go subnets.go usages.go version.go virtualappliances.go virtualappliancesites.go virtualapplianceskus.go virtualhubbgpconnection.go virtualhubbgpconnections.go virtualhubipconfiguration.go virtualhubroutetablev2s.go virtualhubs.go virtualnetworkgatewayconnections.go virtualnetworkgateways.go virtualnetworkpeerings.go virtualnetworks.go virtualnetworktaps.go virtualrouterpeerings.go virtualrouters.go virtualwans.go vpnconnections.go vpngateways.go vpnlinkconnections.go vpnserverconfigurations.go vpnserverconfigurationsassociatedwithvirtualwan.go vpnsitelinkconnections.go vpnsitelinks.go vpnsites.go vpnsitesconfiguration.go watchers.go webapplicationfirewallpolicies.go
const ( // DefaultBaseURI is the default URI used for the service Network DefaultBaseURI = "https://management.azure.com" )
UserAgent returns the UserAgent string to use when sending http.Requests.
Version returns the semantic version (see http://semver.org) of the client.
type AadAuthenticationParameters struct { // AadTenant - AAD Vpn authentication parameter AAD tenant. AadTenant *string `json:"aadTenant,omitempty"` // AadAudience - AAD Vpn authentication parameter AAD audience. AadAudience *string `json:"aadAudience,omitempty"` // AadIssuer - AAD Vpn authentication parameter AAD issuer. AadIssuer *string `json:"aadIssuer,omitempty"` }
AadAuthenticationParameters AAD Vpn authentication type related parameters.
Access enumerates the values for access.
PossibleAccessValues returns an array of possible values for the Access const type.
type AddressSpace struct { // AddressPrefixes - A list of address blocks reserved for this virtual network in CIDR notation. AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` }
AddressSpace addressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
type ApplicationGateway struct { autorest.Response `json:"-"` // ApplicationGatewayPropertiesFormat - Properties of the application gateway. *ApplicationGatewayPropertiesFormat `json:"properties,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Zones - A list of availability zones denoting where the resource needs to come from. Zones *[]string `json:"zones,omitempty"` // Identity - The identity of the application gateway, if configured. Identity *ManagedServiceIdentity `json:"identity,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ApplicationGateway application gateway resource.
func (ag ApplicationGateway) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGateway.
func (ag *ApplicationGateway) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGateway struct.
type ApplicationGatewayAuthenticationCertificate struct { // ApplicationGatewayAuthenticationCertificatePropertiesFormat - Properties of the application gateway authentication certificate. *ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"` // Name - Name of the authentication certificate that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
ApplicationGatewayAuthenticationCertificate authentication certificates of an application gateway.
func (agac ApplicationGatewayAuthenticationCertificate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificate.
func (agac *ApplicationGatewayAuthenticationCertificate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAuthenticationCertificate struct.
type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct { // Data - Certificate public data. Data *string `json:"data,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state of the authentication certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` }
ApplicationGatewayAuthenticationCertificatePropertiesFormat authentication certificates properties of an application gateway.
func (agacpf ApplicationGatewayAuthenticationCertificatePropertiesFormat) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificatePropertiesFormat.
type ApplicationGatewayAutoscaleConfiguration struct { // MinCapacity - Lower bound on number of Application Gateway capacity. MinCapacity *int32 `json:"minCapacity,omitempty"` // MaxCapacity - Upper bound on number of Application Gateway capacity. MaxCapacity *int32 `json:"maxCapacity,omitempty"` }
ApplicationGatewayAutoscaleConfiguration application Gateway autoscale configuration.
type ApplicationGatewayAvailableSslOptions struct { autorest.Response `json:"-"` // ApplicationGatewayAvailableSslOptionsPropertiesFormat - Properties of the application gateway available SSL options. *ApplicationGatewayAvailableSslOptionsPropertiesFormat `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
ApplicationGatewayAvailableSslOptions response for ApplicationGatewayAvailableSslOptions API service call.
func (agaso ApplicationGatewayAvailableSslOptions) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationGatewayAvailableSslOptions.
func (agaso *ApplicationGatewayAvailableSslOptions) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAvailableSslOptions struct.
type ApplicationGatewayAvailableSslOptionsPropertiesFormat struct { // PredefinedPolicies - List of available Ssl predefined policy. PredefinedPolicies *[]SubResource `json:"predefinedPolicies,omitempty"` // DefaultPolicy - Name of the Ssl predefined policy applied by default to application gateway. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S' DefaultPolicy ApplicationGatewaySslPolicyName `json:"defaultPolicy,omitempty"` // AvailableCipherSuites - List of available Ssl cipher suites. AvailableCipherSuites *[]ApplicationGatewaySslCipherSuite `json:"availableCipherSuites,omitempty"` // AvailableProtocols - List of available Ssl protocols. AvailableProtocols *[]ApplicationGatewaySslProtocol `json:"availableProtocols,omitempty"` }
ApplicationGatewayAvailableSslOptionsPropertiesFormat properties of ApplicationGatewayAvailableSslOptions.
type ApplicationGatewayAvailableSslPredefinedPolicies struct { autorest.Response `json:"-"` // Value - List of available Ssl predefined policy. Value *[]ApplicationGatewaySslPredefinedPolicy `json:"value,omitempty"` // NextLink - URL to get the next set of results. NextLink *string `json:"nextLink,omitempty"` }
ApplicationGatewayAvailableSslPredefinedPolicies response for ApplicationGatewayAvailableSslOptions API service call.
func (agaspp ApplicationGatewayAvailableSslPredefinedPolicies) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ApplicationGatewayAvailableSslPredefinedPoliciesIterator struct {
// contains filtered or unexported fields
}
ApplicationGatewayAvailableSslPredefinedPoliciesIterator provides access to a complete listing of ApplicationGatewaySslPredefinedPolicy values.
func NewApplicationGatewayAvailableSslPredefinedPoliciesIterator(page ApplicationGatewayAvailableSslPredefinedPoliciesPage) ApplicationGatewayAvailableSslPredefinedPoliciesIterator
Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesIterator type.
func (iter *ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (iter *ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (iter ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (iter ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Response() ApplicationGatewayAvailableSslPredefinedPolicies
Response returns the raw server response from the last page request.
func (iter ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Value() ApplicationGatewaySslPredefinedPolicy
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ApplicationGatewayAvailableSslPredefinedPoliciesPage struct {
// contains filtered or unexported fields
}
ApplicationGatewayAvailableSslPredefinedPoliciesPage contains a page of ApplicationGatewaySslPredefinedPolicy values.
func NewApplicationGatewayAvailableSslPredefinedPoliciesPage(cur ApplicationGatewayAvailableSslPredefinedPolicies, getNextPage func(context.Context, ApplicationGatewayAvailableSslPredefinedPolicies) (ApplicationGatewayAvailableSslPredefinedPolicies, error)) ApplicationGatewayAvailableSslPredefinedPoliciesPage
Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesPage type.
func (page *ApplicationGatewayAvailableSslPredefinedPoliciesPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (page *ApplicationGatewayAvailableSslPredefinedPoliciesPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (page ApplicationGatewayAvailableSslPredefinedPoliciesPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (page ApplicationGatewayAvailableSslPredefinedPoliciesPage) Response() ApplicationGatewayAvailableSslPredefinedPolicies
Response returns the raw server response from the last page request.
func (page ApplicationGatewayAvailableSslPredefinedPoliciesPage) Values() []ApplicationGatewaySslPredefinedPolicy
Values returns the slice of values for the current page or nil if there are no values.
type ApplicationGatewayAvailableWafRuleSetsResult struct { autorest.Response `json:"-"` // Value - The list of application gateway rule sets. Value *[]ApplicationGatewayFirewallRuleSet `json:"value,omitempty"` }
ApplicationGatewayAvailableWafRuleSetsResult response for ApplicationGatewayAvailableWafRuleSets API service call.
type ApplicationGatewayBackendAddress struct { // Fqdn - Fully qualified domain name (FQDN). Fqdn *string `json:"fqdn,omitempty"` // IPAddress - IP address. IPAddress *string `json:"ipAddress,omitempty"` }
ApplicationGatewayBackendAddress backend address of an application gateway.
type ApplicationGatewayBackendAddressPool struct { // ApplicationGatewayBackendAddressPoolPropertiesFormat - Properties of the application gateway backend address pool. *ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"` // Name - Name of the backend address pool that is unique within an Application Gateway. Name *string `json:"name,omitempty"` // Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` }
ApplicationGatewayBackendAddressPool backend Address Pool of an application gateway.