network

package
v11.1.1-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package network implements the Azure ARM Network service API version .

Network Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Network
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type Access

type Access string

Access enumerates the values for access.

const (
	// Allow specifies the allow state for access.
	Allow Access = "Allow"
	// Deny specifies the deny state for access.
	Deny Access = "Deny"
)

type AddressSpace

type AddressSpace struct {
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

AddressSpace is addressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.

type ApplicationGateway

type ApplicationGateway struct {
	autorest.Response                   `json:"-"`
	ID                                  *string             `json:"id,omitempty"`
	Name                                *string             `json:"name,omitempty"`
	Type                                *string             `json:"type,omitempty"`
	Location                            *string             `json:"location,omitempty"`
	Tags                                *map[string]*string `json:"tags,omitempty"`
	*ApplicationGatewayPropertiesFormat `json:"properties,omitempty"`
	Etag                                *string `json:"etag,omitempty"`
}

ApplicationGateway is application gateway resource

type ApplicationGatewayAuthenticationCertificate

type ApplicationGatewayAuthenticationCertificate struct {
	ID                                                           *string `json:"id,omitempty"`
	*ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"`
	Name                                                         *string `json:"name,omitempty"`
	Etag                                                         *string `json:"etag,omitempty"`
	Type                                                         *string `json:"type,omitempty"`
}

ApplicationGatewayAuthenticationCertificate is authentication certificates of an application gateway.

type ApplicationGatewayAuthenticationCertificatePropertiesFormat

type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct {
	Data              *string `json:"data,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayAuthenticationCertificatePropertiesFormat is authentication certificates properties of an application gateway.

type ApplicationGatewayAvailableSslOptions

type ApplicationGatewayAvailableSslOptions struct {
	autorest.Response                                      `json:"-"`
	ID                                                     *string             `json:"id,omitempty"`
	Name                                                   *string             `json:"name,omitempty"`
	Type                                                   *string             `json:"type,omitempty"`
	Location                                               *string             `json:"location,omitempty"`
	Tags                                                   *map[string]*string `json:"tags,omitempty"`
	*ApplicationGatewayAvailableSslOptionsPropertiesFormat `json:"properties,omitempty"`
}

ApplicationGatewayAvailableSslOptions is response for ApplicationGatewayAvailableSslOptions API service call.

type ApplicationGatewayAvailableSslOptionsPropertiesFormat

type ApplicationGatewayAvailableSslOptionsPropertiesFormat struct {
	PredefinedPolicies    *[]SubResource                      `json:"predefinedPolicies,omitempty"`
	DefaultPolicy         ApplicationGatewaySslPolicyName     `json:"defaultPolicy,omitempty"`
	AvailableCipherSuites *[]ApplicationGatewaySslCipherSuite `json:"availableCipherSuites,omitempty"`
	AvailableProtocols    *[]ApplicationGatewaySslProtocol    `json:"availableProtocols,omitempty"`
}

ApplicationGatewayAvailableSslOptionsPropertiesFormat is properties of ApplicationGatewayAvailableSslOptions

type ApplicationGatewayAvailableSslPredefinedPolicies

type ApplicationGatewayAvailableSslPredefinedPolicies struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationGatewaySslPredefinedPolicy `json:"value,omitempty"`
	NextLink          *string                                  `json:"nextLink,omitempty"`
}

ApplicationGatewayAvailableSslPredefinedPolicies is response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSslPredefinedPolicies) ApplicationGatewayAvailableSslPredefinedPoliciesPreparer

func (client ApplicationGatewayAvailableSslPredefinedPolicies) ApplicationGatewayAvailableSslPredefinedPoliciesPreparer() (*http.Request, error)

ApplicationGatewayAvailableSslPredefinedPoliciesPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ApplicationGatewayAvailableWafRuleSetsResult

type ApplicationGatewayAvailableWafRuleSetsResult struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationGatewayFirewallRuleSet `json:"value,omitempty"`
}

ApplicationGatewayAvailableWafRuleSetsResult is response for ApplicationGatewayAvailableWafRuleSets API service call.

type ApplicationGatewayBackendAddress

type ApplicationGatewayBackendAddress struct {
	Fqdn      *string `json:"fqdn,omitempty"`
	IPAddress *string `json:"ipAddress,omitempty"`
}

ApplicationGatewayBackendAddress is backend address of an application gateway.

type ApplicationGatewayBackendAddressPool

type ApplicationGatewayBackendAddressPool struct {
	ID                                                    *string `json:"id,omitempty"`
	*ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	Name                                                  *string `json:"name,omitempty"`
	Etag                                                  *string `json:"etag,omitempty"`
	Type                                                  *string `json:"type,omitempty"`
}

ApplicationGatewayBackendAddressPool is backend Address Pool of an application gateway.

type ApplicationGatewayBackendAddressPoolPropertiesFormat

type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
	BackendIPConfigurations *[]InterfaceIPConfiguration         `json:"backendIPConfigurations,omitempty"`
	BackendAddresses        *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
	ProvisioningState       *string                             `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat is properties of Backend Address Pool of an application gateway.

type ApplicationGatewayBackendHTTPSettings

type ApplicationGatewayBackendHTTPSettings struct {
	ID                                                     *string `json:"id,omitempty"`
	*ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"`
	Name                                                   *string `json:"name,omitempty"`
	Etag                                                   *string `json:"etag,omitempty"`
	Type                                                   *string `json:"type,omitempty"`
}

ApplicationGatewayBackendHTTPSettings is backend address pool settings of an application gateway.

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
	Port                           *int32                                `json:"port,omitempty"`
	Protocol                       ApplicationGatewayProtocol            `json:"protocol,omitempty"`
	CookieBasedAffinity            ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`
	RequestTimeout                 *int32                                `json:"requestTimeout,omitempty"`
	Probe                          *SubResource                          `json:"probe,omitempty"`
	AuthenticationCertificates     *[]SubResource                        `json:"authenticationCertificates,omitempty"`
	ConnectionDraining             *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"`
	HostName                       *string                               `json:"hostName,omitempty"`
	PickHostNameFromBackendAddress *bool                                 `json:"pickHostNameFromBackendAddress,omitempty"`
	AffinityCookieName             *string                               `json:"affinityCookieName,omitempty"`
	ProbeEnabled                   *bool                                 `json:"probeEnabled,omitempty"`
	Path                           *string                               `json:"path,omitempty"`
	ProvisioningState              *string                               `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendHTTPSettingsPropertiesFormat is properties of Backend address pool settings of an application gateway.

type ApplicationGatewayBackendHealth

type ApplicationGatewayBackendHealth struct {
	autorest.Response   `json:"-"`
	BackendAddressPools *[]ApplicationGatewayBackendHealthPool `json:"backendAddressPools,omitempty"`
}

ApplicationGatewayBackendHealth is list of ApplicationGatewayBackendHealthPool resources.

type ApplicationGatewayBackendHealthHTTPSettings

type ApplicationGatewayBackendHealthHTTPSettings struct {
	BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings   `json:"backendHttpSettings,omitempty"`
	Servers             *[]ApplicationGatewayBackendHealthServer `json:"servers,omitempty"`
}

ApplicationGatewayBackendHealthHTTPSettings is application gateway BackendHealthHttp settings.

type ApplicationGatewayBackendHealthPool

type ApplicationGatewayBackendHealthPool struct {
	BackendAddressPool            *ApplicationGatewayBackendAddressPool          `json:"backendAddressPool,omitempty"`
	BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHealthHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
}

ApplicationGatewayBackendHealthPool is application gateway BackendHealth pool.

type ApplicationGatewayBackendHealthServer

type ApplicationGatewayBackendHealthServer struct {
	Address         *string                                     `json:"address,omitempty"`
	IPConfiguration *InterfaceIPConfiguration                   `json:"ipConfiguration,omitempty"`
	Health          ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"`
}

ApplicationGatewayBackendHealthServer is application gateway backendhealth http settings.

type ApplicationGatewayBackendHealthServerHealth

type ApplicationGatewayBackendHealthServerHealth string

ApplicationGatewayBackendHealthServerHealth enumerates the values for application gateway backend health server health.

const (
	// Down specifies the down state for application gateway backend health server health.
	Down ApplicationGatewayBackendHealthServerHealth = "Down"
	// Draining specifies the draining state for application gateway backend health server health.
	Draining ApplicationGatewayBackendHealthServerHealth = "Draining"
	// Partial specifies the partial state for application gateway backend health server health.
	Partial ApplicationGatewayBackendHealthServerHealth = "Partial"
	// Unknown specifies the unknown state for application gateway backend health server health.
	Unknown ApplicationGatewayBackendHealthServerHealth = "Unknown"
	// Up specifies the up state for application gateway backend health server health.
	Up ApplicationGatewayBackendHealthServerHealth = "Up"
)

type ApplicationGatewayConnectionDraining

type ApplicationGatewayConnectionDraining struct {
	Enabled           *bool  `json:"enabled,omitempty"`
	DrainTimeoutInSec *int32 `json:"drainTimeoutInSec,omitempty"`
}

ApplicationGatewayConnectionDraining is connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration.

type ApplicationGatewayCookieBasedAffinity

type ApplicationGatewayCookieBasedAffinity string

ApplicationGatewayCookieBasedAffinity enumerates the values for application gateway cookie based affinity.

const (
	// Disabled specifies the disabled state for application gateway cookie based affinity.
	Disabled ApplicationGatewayCookieBasedAffinity = "Disabled"
	// Enabled specifies the enabled state for application gateway cookie based affinity.
	Enabled ApplicationGatewayCookieBasedAffinity = "Enabled"
)

type ApplicationGatewayFirewallDisabledRuleGroup

type ApplicationGatewayFirewallDisabledRuleGroup struct {
	RuleGroupName *string  `json:"ruleGroupName,omitempty"`
	Rules         *[]int32 `json:"rules,omitempty"`
}

ApplicationGatewayFirewallDisabledRuleGroup is allows to disable rules within a rule group or an entire rule group.

type ApplicationGatewayFirewallMode

type ApplicationGatewayFirewallMode string

ApplicationGatewayFirewallMode enumerates the values for application gateway firewall mode.

const (
	// Detection specifies the detection state for application gateway firewall mode.
	Detection ApplicationGatewayFirewallMode = "Detection"
	// Prevention specifies the prevention state for application gateway firewall mode.
	Prevention ApplicationGatewayFirewallMode = "Prevention"
)

type ApplicationGatewayFirewallRule

type ApplicationGatewayFirewallRule struct {
	RuleID      *int32  `json:"ruleId,omitempty"`
	Description *string `json:"description,omitempty"`
}

ApplicationGatewayFirewallRule is a web application firewall rule.

type ApplicationGatewayFirewallRuleGroup

type ApplicationGatewayFirewallRuleGroup struct {
	RuleGroupName *string                           `json:"ruleGroupName,omitempty"`
	Description   *string                           `json:"description,omitempty"`
	Rules         *[]ApplicationGatewayFirewallRule `json:"rules,omitempty"`
}

ApplicationGatewayFirewallRuleGroup is a web application firewall rule group.

type ApplicationGatewayFirewallRuleSet

type ApplicationGatewayFirewallRuleSet struct {
	ID                                                 *string             `json:"id,omitempty"`
	Name                                               *string             `json:"name,omitempty"`
	Type                                               *string             `json:"type,omitempty"`
	Location                                           *string             `json:"location,omitempty"`
	Tags                                               *map[string]*string `json:"tags,omitempty"`
	*ApplicationGatewayFirewallRuleSetPropertiesFormat `json:"properties,omitempty"`
}

ApplicationGatewayFirewallRuleSet is a web application firewall rule set.

type ApplicationGatewayFirewallRuleSetPropertiesFormat

type ApplicationGatewayFirewallRuleSetPropertiesFormat struct {
	ProvisioningState *string                                `json:"provisioningState,omitempty"`
	RuleSetType       *string                                `json:"ruleSetType,omitempty"`
	RuleSetVersion    *string                                `json:"ruleSetVersion,omitempty"`
	RuleGroups        *[]ApplicationGatewayFirewallRuleGroup `json:"ruleGroups,omitempty"`
}

ApplicationGatewayFirewallRuleSetPropertiesFormat is properties of the web application firewall rule set.

type ApplicationGatewayFrontendIPConfiguration

type ApplicationGatewayFrontendIPConfiguration struct {
	ID                                                         *string `json:"id,omitempty"`
	*ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                                       *string `json:"name,omitempty"`
	Etag                                                       *string `json:"etag,omitempty"`
	Type                                                       *string `json:"type,omitempty"`
}

ApplicationGatewayFrontendIPConfiguration is frontend IP configuration of an application gateway.

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *SubResource       `json:"subnet,omitempty"`
	PublicIPAddress           *SubResource       `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendIPConfigurationPropertiesFormat is properties of Frontend IP configuration of an application gateway.

type ApplicationGatewayFrontendPort

type ApplicationGatewayFrontendPort struct {
	ID                                              *string `json:"id,omitempty"`
	*ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"`
	Name                                            *string `json:"name,omitempty"`
	Etag                                            *string `json:"etag,omitempty"`
	Type                                            *string `json:"type,omitempty"`
}

ApplicationGatewayFrontendPort is frontend port of an application gateway.

type ApplicationGatewayFrontendPortPropertiesFormat

type ApplicationGatewayFrontendPortPropertiesFormat struct {
	Port              *int32  `json:"port,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendPortPropertiesFormat is properties of Frontend port of an application gateway.

type ApplicationGatewayHTTPListener

type ApplicationGatewayHTTPListener struct {
	ID                                              *string `json:"id,omitempty"`
	*ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"`
	Name                                            *string `json:"name,omitempty"`
	Etag                                            *string `json:"etag,omitempty"`
	Type                                            *string `json:"type,omitempty"`
}

ApplicationGatewayHTTPListener is http listener of an application gateway.

type ApplicationGatewayHTTPListenerPropertiesFormat

type ApplicationGatewayHTTPListenerPropertiesFormat struct {
	FrontendIPConfiguration     *SubResource               `json:"frontendIPConfiguration,omitempty"`
	FrontendPort                *SubResource               `json:"frontendPort,omitempty"`
	Protocol                    ApplicationGatewayProtocol `json:"protocol,omitempty"`
	HostName                    *string                    `json:"hostName,omitempty"`
	SslCertificate              *SubResource               `json:"sslCertificate,omitempty"`
	RequireServerNameIndication *bool                      `json:"requireServerNameIndication,omitempty"`
	ProvisioningState           *string                    `json:"provisioningState,omitempty"`
}

ApplicationGatewayHTTPListenerPropertiesFormat is properties of HTTP listener of an application gateway.

type ApplicationGatewayIPConfiguration

type ApplicationGatewayIPConfiguration struct {
	ID                                                 *string `json:"id,omitempty"`
	*ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                               *string `json:"name,omitempty"`
	Etag                                               *string `json:"etag,omitempty"`
	Type                                               *string `json:"type,omitempty"`
}

ApplicationGatewayIPConfiguration is IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.

type ApplicationGatewayIPConfigurationPropertiesFormat

type ApplicationGatewayIPConfigurationPropertiesFormat struct {
	Subnet            *SubResource `json:"subnet,omitempty"`
	ProvisioningState *string      `json:"provisioningState,omitempty"`
}

ApplicationGatewayIPConfigurationPropertiesFormat is properties of IP configuration of an application gateway.

type ApplicationGatewayListResult

type ApplicationGatewayListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationGateway `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

ApplicationGatewayListResult is response for ListApplicationGateways API service call.

func (ApplicationGatewayListResult) ApplicationGatewayListResultPreparer

func (client ApplicationGatewayListResult) ApplicationGatewayListResultPreparer() (*http.Request, error)

ApplicationGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ApplicationGatewayOperationalState

type ApplicationGatewayOperationalState string

ApplicationGatewayOperationalState enumerates the values for application gateway operational state.

const (
	// Running specifies the running state for application gateway operational state.
	Running ApplicationGatewayOperationalState = "Running"
	// Starting specifies the starting state for application gateway operational state.
	Starting ApplicationGatewayOperationalState = "Starting"
	// Stopped specifies the stopped state for application gateway operational state.
	Stopped ApplicationGatewayOperationalState = "Stopped"
	// Stopping specifies the stopping state for application gateway operational state.
	Stopping ApplicationGatewayOperationalState = "Stopping"
)

type ApplicationGatewayPathRule

type ApplicationGatewayPathRule struct {
	ID                                          *string `json:"id,omitempty"`
	*ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"`
	Name                                        *string `json:"name,omitempty"`
	Etag                                        *string `json:"etag,omitempty"`
	Type                                        *string `json:"type,omitempty"`
}

ApplicationGatewayPathRule is path rule of URL path map of an application gateway.

type ApplicationGatewayPathRulePropertiesFormat

type ApplicationGatewayPathRulePropertiesFormat struct {
	Paths                 *[]string    `json:"paths,omitempty"`
	BackendAddressPool    *SubResource `json:"backendAddressPool,omitempty"`
	BackendHTTPSettings   *SubResource `json:"backendHttpSettings,omitempty"`
	RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"`
	ProvisioningState     *string      `json:"provisioningState,omitempty"`
}

ApplicationGatewayPathRulePropertiesFormat is properties of path rule of an application gateway.

type ApplicationGatewayProbe

type ApplicationGatewayProbe struct {
	ID                                       *string `json:"id,omitempty"`
	*ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"`
	Name                                     *string `json:"name,omitempty"`
	Etag                                     *string `json:"etag,omitempty"`
	Type                                     *string `json:"type,omitempty"`
}

ApplicationGatewayProbe is probe of the application gateway.

type ApplicationGatewayProbeHealthResponseMatch

type ApplicationGatewayProbeHealthResponseMatch struct {
	Body        *string   `json:"body,omitempty"`
	StatusCodes *[]string `json:"statusCodes,omitempty"`
}

ApplicationGatewayProbeHealthResponseMatch is application gateway probe health response match

type ApplicationGatewayProbePropertiesFormat

type ApplicationGatewayProbePropertiesFormat struct {
	Protocol                            ApplicationGatewayProtocol                  `json:"protocol,omitempty"`
	Host                                *string                                     `json:"host,omitempty"`
	Path                                *string                                     `json:"path,omitempty"`
	Interval                            *int32                                      `json:"interval,omitempty"`
	Timeout                             *int32                                      `json:"timeout,omitempty"`
	UnhealthyThreshold                  *int32                                      `json:"unhealthyThreshold,omitempty"`
	PickHostNameFromBackendHTTPSettings *bool                                       `json:"pickHostNameFromBackendHttpSettings,omitempty"`
	MinServers                          *int32                                      `json:"minServers,omitempty"`
	Match                               *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"`
	ProvisioningState                   *string                                     `json:"provisioningState,omitempty"`
}

ApplicationGatewayProbePropertiesFormat is properties of probe of an application gateway.

type ApplicationGatewayPropertiesFormat

type ApplicationGatewayPropertiesFormat struct {
	Sku                                 *ApplicationGatewaySku                                 `json:"sku,omitempty"`
	SslPolicy                           *ApplicationGatewaySslPolicy                           `json:"sslPolicy,omitempty"`
	OperationalState                    ApplicationGatewayOperationalState                     `json:"operationalState,omitempty"`
	GatewayIPConfigurations             *[]ApplicationGatewayIPConfiguration                   `json:"gatewayIPConfigurations,omitempty"`
	AuthenticationCertificates          *[]ApplicationGatewayAuthenticationCertificate         `json:"authenticationCertificates,omitempty"`
	SslCertificates                     *[]ApplicationGatewaySslCertificate                    `json:"sslCertificates,omitempty"`
	FrontendIPConfigurations            *[]ApplicationGatewayFrontendIPConfiguration           `json:"frontendIPConfigurations,omitempty"`
	FrontendPorts                       *[]ApplicationGatewayFrontendPort                      `json:"frontendPorts,omitempty"`
	Probes                              *[]ApplicationGatewayProbe                             `json:"probes,omitempty"`
	BackendAddressPools                 *[]ApplicationGatewayBackendAddressPool                `json:"backendAddressPools,omitempty"`
	BackendHTTPSettingsCollection       *[]ApplicationGatewayBackendHTTPSettings               `json:"backendHttpSettingsCollection,omitempty"`
	HTTPListeners                       *[]ApplicationGatewayHTTPListener                      `json:"httpListeners,omitempty"`
	URLPathMaps                         *[]ApplicationGatewayURLPathMap                        `json:"urlPathMaps,omitempty"`
	RequestRoutingRules                 *[]ApplicationGatewayRequestRoutingRule                `json:"requestRoutingRules,omitempty"`
	RedirectConfigurations              *[]ApplicationGatewayRedirectConfiguration             `json:"redirectConfigurations,omitempty"`
	WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"`
	ResourceGUID                        *string                                                `json:"resourceGuid,omitempty"`
	ProvisioningState                   *string                                                `json:"provisioningState,omitempty"`
}

ApplicationGatewayPropertiesFormat is properties of the application gateway.

type ApplicationGatewayProtocol

type ApplicationGatewayProtocol string

ApplicationGatewayProtocol enumerates the values for application gateway protocol.

const (
	// HTTP specifies the http state for application gateway protocol.
	HTTP ApplicationGatewayProtocol = "Http"
	// HTTPS specifies the https state for application gateway protocol.
	HTTPS ApplicationGatewayProtocol = "Https"
)

type ApplicationGatewayRedirectConfiguration

type ApplicationGatewayRedirectConfiguration struct {
	ID                                                       *string `json:"id,omitempty"`
	*ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                                     *string `json:"name,omitempty"`
	Etag                                                     *string `json:"etag,omitempty"`
	Type                                                     *string `json:"type,omitempty"`
}

ApplicationGatewayRedirectConfiguration is redirect configuration of an application gateway.

type ApplicationGatewayRedirectConfigurationPropertiesFormat

type ApplicationGatewayRedirectConfigurationPropertiesFormat struct {
	RedirectType        ApplicationGatewayRedirectType `json:"redirectType,omitempty"`
	TargetListener      *SubResource                   `json:"targetListener,omitempty"`
	TargetURL           *string                        `json:"targetUrl,omitempty"`
	IncludePath         *bool                          `json:"includePath,omitempty"`
	IncludeQueryString  *bool                          `json:"includeQueryString,omitempty"`
	RequestRoutingRules *[]SubResource                 `json:"requestRoutingRules,omitempty"`
	URLPathMaps         *[]SubResource                 `json:"urlPathMaps,omitempty"`
	PathRules           *[]SubResource                 `json:"pathRules,omitempty"`
}

ApplicationGatewayRedirectConfigurationPropertiesFormat is properties of redirect configuration of the application gateway.

type ApplicationGatewayRedirectType

type ApplicationGatewayRedirectType string

ApplicationGatewayRedirectType enumerates the values for application gateway redirect type.

const (
	// Found specifies the found state for application gateway redirect type.
	Found ApplicationGatewayRedirectType = "Found"
	// Permanent specifies the permanent state for application gateway redirect type.
	Permanent ApplicationGatewayRedirectType = "Permanent"
	// SeeOther specifies the see other state for application gateway redirect type.
	SeeOther ApplicationGatewayRedirectType = "SeeOther"
	// Temporary specifies the temporary state for application gateway redirect type.
	Temporary ApplicationGatewayRedirectType = "Temporary"
)

type ApplicationGatewayRequestRoutingRule

type ApplicationGatewayRequestRoutingRule struct {
	ID                                                    *string `json:"id,omitempty"`
	*ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`
	Name                                                  *string `json:"name,omitempty"`
	Etag                                                  *string `json:"etag,omitempty"`
	Type                                                  *string `json:"type,omitempty"`
}

ApplicationGatewayRequestRoutingRule is request routing rule of an application gateway.

type ApplicationGatewayRequestRoutingRulePropertiesFormat

type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
	RuleType              ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
	BackendAddressPool    *SubResource                             `json:"backendAddressPool,omitempty"`
	BackendHTTPSettings   *SubResource                             `json:"backendHttpSettings,omitempty"`
	HTTPListener          *SubResource                             `json:"httpListener,omitempty"`
	URLPathMap            *SubResource                             `json:"urlPathMap,omitempty"`
	RedirectConfiguration *SubResource                             `json:"redirectConfiguration,omitempty"`
	ProvisioningState     *string                                  `json:"provisioningState,omitempty"`
}

ApplicationGatewayRequestRoutingRulePropertiesFormat is properties of request routing rule of the application gateway.

type ApplicationGatewayRequestRoutingRuleType

type ApplicationGatewayRequestRoutingRuleType string

ApplicationGatewayRequestRoutingRuleType enumerates the values for application gateway request routing rule type.

const (
	// Basic specifies the basic state for application gateway request routing rule type.
	Basic ApplicationGatewayRequestRoutingRuleType = "Basic"
	// PathBasedRouting specifies the path based routing state for application gateway request routing rule type.
	PathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting"
)

type ApplicationGatewaySku

type ApplicationGatewaySku struct {
	Name     ApplicationGatewaySkuName `json:"name,omitempty"`
	Tier     ApplicationGatewayTier    `json:"tier,omitempty"`
	Capacity *int32                    `json:"capacity,omitempty"`
}

ApplicationGatewaySku is SKU of an application gateway

type ApplicationGatewaySkuName

type ApplicationGatewaySkuName string

ApplicationGatewaySkuName enumerates the values for application gateway sku name.

const (
	// StandardLarge specifies the standard large state for application gateway sku name.
	StandardLarge ApplicationGatewaySkuName = "Standard_Large"
	// StandardMedium specifies the standard medium state for application gateway sku name.
	StandardMedium ApplicationGatewaySkuName = "Standard_Medium"
	// StandardSmall specifies the standard small state for application gateway sku name.
	StandardSmall ApplicationGatewaySkuName = "Standard_Small"
	// WAFLarge specifies the waf large state for application gateway sku name.
	WAFLarge ApplicationGatewaySkuName = "WAF_Large"
	// WAFMedium specifies the waf medium state for application gateway sku name.
	WAFMedium ApplicationGatewaySkuName = "WAF_Medium"
)

type ApplicationGatewaySslCertificate

type ApplicationGatewaySslCertificate struct {
	ID                                                *string `json:"id,omitempty"`
	*ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"`
	Name                                              *string `json:"name,omitempty"`
	Etag                                              *string `json:"etag,omitempty"`
	Type                                              *string `json:"type,omitempty"`
}

ApplicationGatewaySslCertificate is SSL certificates of an application gateway.

type ApplicationGatewaySslCertificatePropertiesFormat

type ApplicationGatewaySslCertificatePropertiesFormat struct {
	Data              *string `json:"data,omitempty"`
	Password          *string `json:"password,omitempty"`
	PublicCertData    *string `json:"publicCertData,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewaySslCertificatePropertiesFormat is properties of SSL certificates of an application gateway.

type ApplicationGatewaySslCipherSuite

type ApplicationGatewaySslCipherSuite string

ApplicationGatewaySslCipherSuite enumerates the values for application gateway ssl cipher suite.

const (
	// TLSDHEDSSWITHAES128CBCSHA specifies the tlsdhedsswithaes128cbcsha state for application gateway ssl cipher suite.
	TLSDHEDSSWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
	// TLSDHEDSSWITHAES128CBCSHA256 specifies the tlsdhedsswithaes128cbcsha256 state for application gateway ssl cipher
	// suite.
	TLSDHEDSSWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
	// TLSDHEDSSWITHAES256CBCSHA specifies the tlsdhedsswithaes256cbcsha state for application gateway ssl cipher suite.
	TLSDHEDSSWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
	// TLSDHEDSSWITHAES256CBCSHA256 specifies the tlsdhedsswithaes256cbcsha256 state for application gateway ssl cipher
	// suite.
	TLSDHEDSSWITHAES256CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
	// TLSDHERSAWITHAES128CBCSHA specifies the tlsdhersawithaes128cbcsha state for application gateway ssl cipher suite.
	TLSDHERSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
	// TLSDHERSAWITHAES128GCMSHA256 specifies the tlsdhersawithaes128gcmsha256 state for application gateway ssl cipher
	// suite.
	TLSDHERSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
	// TLSDHERSAWITHAES256CBCSHA specifies the tlsdhersawithaes256cbcsha state for application gateway ssl cipher suite.
	TLSDHERSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
	// TLSDHERSAWITHAES256GCMSHA384 specifies the tlsdhersawithaes256gcmsha384 state for application gateway ssl cipher
	// suite.
	TLSDHERSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
	// TLSECDHEECDSAWITHAES128CBCSHA specifies the tlsecdheecdsawithaes128cbcsha state for application gateway ssl cipher
	// suite.
	TLSECDHEECDSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
	// TLSECDHEECDSAWITHAES128CBCSHA256 specifies the tlsecdheecdsawithaes128cbcsha256 state for application gateway ssl
	// cipher suite.
	TLSECDHEECDSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
	// TLSECDHEECDSAWITHAES128GCMSHA256 specifies the tlsecdheecdsawithaes128gcmsha256 state for application gateway ssl
	// cipher suite.
	TLSECDHEECDSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
	// TLSECDHEECDSAWITHAES256CBCSHA specifies the tlsecdheecdsawithaes256cbcsha state for application gateway ssl cipher
	// suite.
	TLSECDHEECDSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
	// TLSECDHEECDSAWITHAES256CBCSHA384 specifies the tlsecdheecdsawithaes256cbcsha384 state for application gateway ssl
	// cipher suite.
	TLSECDHEECDSAWITHAES256CBCSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
	// TLSECDHEECDSAWITHAES256GCMSHA384 specifies the tlsecdheecdsawithaes256gcmsha384 state for application gateway ssl
	// cipher suite.
	TLSECDHEECDSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
	// TLSECDHERSAWITHAES128CBCSHA specifies the tlsecdhersawithaes128cbcsha state for application gateway ssl cipher
	// suite.
	TLSECDHERSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
	// TLSECDHERSAWITHAES128CBCSHA256 specifies the tlsecdhersawithaes128cbcsha256 state for application gateway ssl cipher
	// suite.
	TLSECDHERSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
	// TLSECDHERSAWITHAES256CBCSHA specifies the tlsecdhersawithaes256cbcsha state for application gateway ssl cipher
	// suite.
	TLSECDHERSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
	// TLSECDHERSAWITHAES256CBCSHA384 specifies the tlsecdhersawithaes256cbcsha384 state for application gateway ssl cipher
	// suite.
	TLSECDHERSAWITHAES256CBCSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
	// TLSRSAWITH3DESEDECBCSHA specifies the tlsrsawith3desedecbcsha state for application gateway ssl cipher suite.
	TLSRSAWITH3DESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
	// TLSRSAWITHAES128CBCSHA specifies the tlsrsawithaes128cbcsha state for application gateway ssl cipher suite.
	TLSRSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA"
	// TLSRSAWITHAES128CBCSHA256 specifies the tlsrsawithaes128cbcsha256 state for application gateway ssl cipher suite.
	TLSRSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA256"
	// TLSRSAWITHAES128GCMSHA256 specifies the tlsrsawithaes128gcmsha256 state for application gateway ssl cipher suite.
	TLSRSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_GCM_SHA256"
	// TLSRSAWITHAES256CBCSHA specifies the tlsrsawithaes256cbcsha state for application gateway ssl cipher suite.
	TLSRSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA"
	// TLSRSAWITHAES256CBCSHA256 specifies the tlsrsawithaes256cbcsha256 state for application gateway ssl cipher suite.
	TLSRSAWITHAES256CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA256"
	// TLSRSAWITHAES256GCMSHA384 specifies the tlsrsawithaes256gcmsha384 state for application gateway ssl cipher suite.
	TLSRSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_GCM_SHA384"
)

type ApplicationGatewaySslPolicy

type ApplicationGatewaySslPolicy struct {
	DisabledSslProtocols *[]ApplicationGatewaySslProtocol    `json:"disabledSslProtocols,omitempty"`
	PolicyType           ApplicationGatewaySslPolicyType     `json:"policyType,omitempty"`
	PolicyName           ApplicationGatewaySslPolicyName     `json:"policyName,omitempty"`
	CipherSuites         *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"`
	MinProtocolVersion   ApplicationGatewaySslProtocol       `json:"minProtocolVersion,omitempty"`
}

ApplicationGatewaySslPolicy is application Gateway Ssl policy.

type ApplicationGatewaySslPolicyName

type ApplicationGatewaySslPolicyName string

ApplicationGatewaySslPolicyName enumerates the values for application gateway ssl policy name.

const (
	// AppGwSslPolicy20150501 specifies the app gw ssl policy 20150501 state for application gateway ssl policy name.
	AppGwSslPolicy20150501 ApplicationGatewaySslPolicyName = "AppGwSslPolicy20150501"
	// AppGwSslPolicy20170401 specifies the app gw ssl policy 20170401 state for application gateway ssl policy name.
	AppGwSslPolicy20170401 ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401"
	// AppGwSslPolicy20170401S specifies the app gw ssl policy 20170401s state for application gateway ssl policy name.
	AppGwSslPolicy20170401S ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401S"
)

type ApplicationGatewaySslPolicyType

type ApplicationGatewaySslPolicyType string

ApplicationGatewaySslPolicyType enumerates the values for application gateway ssl policy type.

const (
	// Custom specifies the custom state for application gateway ssl policy type.
	Custom ApplicationGatewaySslPolicyType = "Custom"
	// Predefined specifies the predefined state for application gateway ssl policy type.
	Predefined ApplicationGatewaySslPolicyType = "Predefined"
)

type ApplicationGatewaySslPredefinedPolicy

type ApplicationGatewaySslPredefinedPolicy struct {
	autorest.Response                                      `json:"-"`
	ID                                                     *string `json:"id,omitempty"`
	Name                                                   *string `json:"name,omitempty"`
	*ApplicationGatewaySslPredefinedPolicyPropertiesFormat `json:"properties,omitempty"`
}

ApplicationGatewaySslPredefinedPolicy is an Ssl predefined policy

type ApplicationGatewaySslPredefinedPolicyPropertiesFormat

type ApplicationGatewaySslPredefinedPolicyPropertiesFormat struct {
	CipherSuites       *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"`
	MinProtocolVersion ApplicationGatewaySslProtocol       `json:"minProtocolVersion,omitempty"`
}

ApplicationGatewaySslPredefinedPolicyPropertiesFormat is properties of ApplicationGatewaySslPredefinedPolicy

type ApplicationGatewaySslProtocol

type ApplicationGatewaySslProtocol string

ApplicationGatewaySslProtocol enumerates the values for application gateway ssl protocol.

const (
	// TLSv10 specifies the tl sv 10 state for application gateway ssl protocol.
	TLSv10 ApplicationGatewaySslProtocol = "TLSv1_0"
	// TLSv11 specifies the tl sv 11 state for application gateway ssl protocol.
	TLSv11 ApplicationGatewaySslProtocol = "TLSv1_1"
	// TLSv12 specifies the tl sv 12 state for application gateway ssl protocol.
	TLSv12 ApplicationGatewaySslProtocol = "TLSv1_2"
)

type ApplicationGatewayTier

type ApplicationGatewayTier string

ApplicationGatewayTier enumerates the values for application gateway tier.

const (
	// Standard specifies the standard state for application gateway tier.
	Standard ApplicationGatewayTier = "Standard"
	// WAF specifies the waf state for application gateway tier.
	WAF ApplicationGatewayTier = "WAF"
)

type ApplicationGatewayURLPathMap

type ApplicationGatewayURLPathMap struct {
	ID                                            *string `json:"id,omitempty"`
	*ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"`
	Name                                          *string `json:"name,omitempty"`
	Etag                                          *string `json:"etag,omitempty"`
	Type                                          *string `json:"type,omitempty"`
}

ApplicationGatewayURLPathMap is urlPathMaps give a url path to the backend mapping information for PathBasedRouting.

type ApplicationGatewayURLPathMapPropertiesFormat

type ApplicationGatewayURLPathMapPropertiesFormat struct {
	DefaultBackendAddressPool    *SubResource                  `json:"defaultBackendAddressPool,omitempty"`
	DefaultBackendHTTPSettings   *SubResource                  `json:"defaultBackendHttpSettings,omitempty"`
	DefaultRedirectConfiguration *SubResource                  `json:"defaultRedirectConfiguration,omitempty"`
	PathRules                    *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"`
	ProvisioningState            *string                       `json:"provisioningState,omitempty"`
}

ApplicationGatewayURLPathMapPropertiesFormat is properties of UrlPathMap of the application gateway.

type ApplicationGatewayWebApplicationFirewallConfiguration

type ApplicationGatewayWebApplicationFirewallConfiguration struct {
	Enabled            *bool                                          `json:"enabled,omitempty"`
	FirewallMode       ApplicationGatewayFirewallMode                 `json:"firewallMode,omitempty"`
	RuleSetType        *string                                        `json:"ruleSetType,omitempty"`
	RuleSetVersion     *string                                        `json:"ruleSetVersion,omitempty"`
	DisabledRuleGroups *[]ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"`
}

ApplicationGatewayWebApplicationFirewallConfiguration is application gateway web application firewall configuration.

type ApplicationGatewaysClient

type ApplicationGatewaysClient struct {
	ManagementClient
}

ApplicationGatewaysClient is the network Client

func NewApplicationGatewaysClient

func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClient creates an instance of the ApplicationGatewaysClient client.

func NewApplicationGatewaysClientWithBaseURI

func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client.

func (ApplicationGatewaysClient) BackendHealth

func (client ApplicationGatewaysClient) BackendHealth(resourceGroupName string, applicationGatewayName string, expand string, cancel <-chan struct{}) (<-chan ApplicationGatewayBackendHealth, <-chan error)

BackendHealth gets the backend health of the specified application gateway in a resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway. expand is expands BackendAddressPool and BackendHttpSettings referenced in backend health.

func (ApplicationGatewaysClient) BackendHealthPreparer

func (client ApplicationGatewaysClient) BackendHealthPreparer(resourceGroupName string, applicationGatewayName string, expand string, cancel <-chan struct{}) (*http.Request, error)

BackendHealthPreparer prepares the BackendHealth request.

func (ApplicationGatewaysClient) BackendHealthResponder

func (client ApplicationGatewaysClient) BackendHealthResponder(resp *http.Response) (result ApplicationGatewayBackendHealth, err error)

BackendHealthResponder handles the response to the BackendHealth request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) BackendHealthSender

func (client ApplicationGatewaysClient) BackendHealthSender(req *http.Request) (*http.Response, error)

BackendHealthSender sends the BackendHealth request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) CreateOrUpdate

func (client ApplicationGatewaysClient) CreateOrUpdate(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, cancel <-chan struct{}) (<-chan ApplicationGateway, <-chan error)

CreateOrUpdate creates or updates the specified application gateway. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway. parameters is parameters supplied to the create or update application gateway operation.

func (ApplicationGatewaysClient) CreateOrUpdatePreparer

func (client ApplicationGatewaysClient) CreateOrUpdatePreparer(resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationGatewaysClient) CreateOrUpdateResponder

func (client ApplicationGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationGateway, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) CreateOrUpdateSender

func (client ApplicationGatewaysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) Delete

func (client ApplicationGatewaysClient) Delete(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified application gateway. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway.

func (ApplicationGatewaysClient) DeletePreparer

func (client ApplicationGatewaysClient) DeletePreparer(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationGatewaysClient) DeleteResponder

func (client ApplicationGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) DeleteSender

func (client ApplicationGatewaysClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) Get

func (client ApplicationGatewaysClient) Get(resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)

Get gets the specified application gateway.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway.

func (ApplicationGatewaysClient) GetPreparer

func (client ApplicationGatewaysClient) GetPreparer(resourceGroupName string, applicationGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationGatewaysClient) GetResponder

func (client ApplicationGatewaysClient) GetResponder(resp *http.Response) (result ApplicationGateway, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) GetSender

func (client ApplicationGatewaysClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) GetSslPredefinedPolicy

func (client ApplicationGatewaysClient) GetSslPredefinedPolicy(predefinedPolicyName string) (result ApplicationGatewaySslPredefinedPolicy, err error)

GetSslPredefinedPolicy gets Ssl predefined policy with the specified policy name.

predefinedPolicyName is name of Ssl predefined policy.

func (ApplicationGatewaysClient) GetSslPredefinedPolicyPreparer

func (client ApplicationGatewaysClient) GetSslPredefinedPolicyPreparer(predefinedPolicyName string) (*http.Request, error)

GetSslPredefinedPolicyPreparer prepares the GetSslPredefinedPolicy request.

func (ApplicationGatewaysClient) GetSslPredefinedPolicyResponder

func (client ApplicationGatewaysClient) GetSslPredefinedPolicyResponder(resp *http.Response) (result ApplicationGatewaySslPredefinedPolicy, err error)

GetSslPredefinedPolicyResponder handles the response to the GetSslPredefinedPolicy request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) GetSslPredefinedPolicySender

func (client ApplicationGatewaysClient) GetSslPredefinedPolicySender(req *http.Request) (*http.Response, error)

GetSslPredefinedPolicySender sends the GetSslPredefinedPolicy request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) List

func (client ApplicationGatewaysClient) List(resourceGroupName string) (result ApplicationGatewayListResult, err error)

List lists all application gateways in a resource group.

resourceGroupName is the name of the resource group.

func (ApplicationGatewaysClient) ListAll

func (client ApplicationGatewaysClient) ListAll() (result ApplicationGatewayListResult, err error)

ListAll gets all the application gateways in a subscription.

func (ApplicationGatewaysClient) ListAllComplete

func (client ApplicationGatewaysClient) ListAllComplete(cancel <-chan struct{}) (<-chan ApplicationGateway, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (ApplicationGatewaysClient) ListAllNextResults

func (client ApplicationGatewaysClient) ListAllNextResults(lastResults ApplicationGatewayListResult) (result ApplicationGatewayListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (ApplicationGatewaysClient) ListAllPreparer

func (client ApplicationGatewaysClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (ApplicationGatewaysClient) ListAllResponder

func (client ApplicationGatewaysClient) ListAllResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAllSender

func (client ApplicationGatewaysClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) ListAvailableSslOptions

func (client ApplicationGatewaysClient) ListAvailableSslOptions() (result ApplicationGatewayAvailableSslOptions, err error)

ListAvailableSslOptions lists available Ssl options for configuring Ssl policy.

func (ApplicationGatewaysClient) ListAvailableSslOptionsPreparer

func (client ApplicationGatewaysClient) ListAvailableSslOptionsPreparer() (*http.Request, error)

ListAvailableSslOptionsPreparer prepares the ListAvailableSslOptions request.

func (ApplicationGatewaysClient) ListAvailableSslOptionsResponder

func (client ApplicationGatewaysClient) ListAvailableSslOptionsResponder(resp *http.Response) (result ApplicationGatewayAvailableSslOptions, err error)

ListAvailableSslOptionsResponder handles the response to the ListAvailableSslOptions request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAvailableSslOptionsSender

func (client ApplicationGatewaysClient) ListAvailableSslOptionsSender(req *http.Request) (*http.Response, error)

ListAvailableSslOptionsSender sends the ListAvailableSslOptions request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies() (result ApplicationGatewayAvailableSslPredefinedPolicies, err error)

ListAvailableSslPredefinedPolicies lists all SSL predefined policies for configuring Ssl policy.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete(cancel <-chan struct{}) (<-chan ApplicationGatewaySslPredefinedPolicy, <-chan error)

ListAvailableSslPredefinedPoliciesComplete gets all elements from the list without paging.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesNextResults

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesNextResults(lastResults ApplicationGatewayAvailableSslPredefinedPolicies) (result ApplicationGatewayAvailableSslPredefinedPolicies, err error)

ListAvailableSslPredefinedPoliciesNextResults retrieves the next set of results, if any.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesPreparer

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesPreparer() (*http.Request, error)

ListAvailableSslPredefinedPoliciesPreparer prepares the ListAvailableSslPredefinedPolicies request.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesResponder

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesResponder(resp *http.Response) (result ApplicationGatewayAvailableSslPredefinedPolicies, err error)

ListAvailableSslPredefinedPoliciesResponder handles the response to the ListAvailableSslPredefinedPolicies request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesSender

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesSender(req *http.Request) (*http.Response, error)

ListAvailableSslPredefinedPoliciesSender sends the ListAvailableSslPredefinedPolicies request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) ListAvailableWafRuleSets

func (client ApplicationGatewaysClient) ListAvailableWafRuleSets() (result ApplicationGatewayAvailableWafRuleSetsResult, err error)

ListAvailableWafRuleSets lists all available web application firewall rule sets.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsPreparer

func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsPreparer() (*http.Request, error)

ListAvailableWafRuleSetsPreparer prepares the ListAvailableWafRuleSets request.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsResponder

func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsResponder(resp *http.Response) (result ApplicationGatewayAvailableWafRuleSetsResult, err error)

ListAvailableWafRuleSetsResponder handles the response to the ListAvailableWafRuleSets request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsSender

func (client ApplicationGatewaysClient) ListAvailableWafRuleSetsSender(req *http.Request) (*http.Response, error)

ListAvailableWafRuleSetsSender sends the ListAvailableWafRuleSets request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) ListComplete

func (client ApplicationGatewaysClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan ApplicationGateway, <-chan error)

ListComplete gets all elements from the list without paging.

func (ApplicationGatewaysClient) ListNextResults

func (client ApplicationGatewaysClient) ListNextResults(lastResults ApplicationGatewayListResult) (result ApplicationGatewayListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ApplicationGatewaysClient) ListPreparer

func (client ApplicationGatewaysClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplicationGatewaysClient) ListResponder

func (client ApplicationGatewaysClient) ListResponder(resp *http.Response) (result ApplicationGatewayListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListSender

func (client ApplicationGatewaysClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) Start

func (client ApplicationGatewaysClient) Start(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Start starts the specified application gateway. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway.

func (ApplicationGatewaysClient) StartPreparer

func (client ApplicationGatewaysClient) StartPreparer(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (*http.Request, error)

StartPreparer prepares the Start request.

func (ApplicationGatewaysClient) StartResponder

func (client ApplicationGatewaysClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) StartSender

func (client ApplicationGatewaysClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (ApplicationGatewaysClient) Stop

func (client ApplicationGatewaysClient) Stop(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Stop stops the specified application gateway in a resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationGatewayName is the name of the application gateway.

func (ApplicationGatewaysClient) StopPreparer

func (client ApplicationGatewaysClient) StopPreparer(resourceGroupName string, applicationGatewayName string, cancel <-chan struct{}) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ApplicationGatewaysClient) StopResponder

func (client ApplicationGatewaysClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) StopSender

func (client ApplicationGatewaysClient) StopSender(req *http.Request) (*http.Response, error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

type ApplicationSecurityGroup

type ApplicationSecurityGroup struct {
	autorest.Response                         `json:"-"`
	ID                                        *string             `json:"id,omitempty"`
	Name                                      *string             `json:"name,omitempty"`
	Type                                      *string             `json:"type,omitempty"`
	Location                                  *string             `json:"location,omitempty"`
	Tags                                      *map[string]*string `json:"tags,omitempty"`
	*ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"`
	Etag                                      *string `json:"etag,omitempty"`
}

ApplicationSecurityGroup is an application security group in a resource group.

type ApplicationSecurityGroupListResult

type ApplicationSecurityGroupListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationSecurityGroup `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

ApplicationSecurityGroupListResult is a list of application security groups.

func (ApplicationSecurityGroupListResult) ApplicationSecurityGroupListResultPreparer

func (client ApplicationSecurityGroupListResult) ApplicationSecurityGroupListResultPreparer() (*http.Request, error)

ApplicationSecurityGroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ApplicationSecurityGroupPropertiesFormat

type ApplicationSecurityGroupPropertiesFormat struct {
	ResourceGUID      *string `json:"resourceGuid,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationSecurityGroupPropertiesFormat is application security group properties.

type ApplicationSecurityGroupsClient

type ApplicationSecurityGroupsClient struct {
	ManagementClient
}

ApplicationSecurityGroupsClient is the network Client

func NewApplicationSecurityGroupsClient

func NewApplicationSecurityGroupsClient(subscriptionID string) ApplicationSecurityGroupsClient

NewApplicationSecurityGroupsClient creates an instance of the ApplicationSecurityGroupsClient client.

func NewApplicationSecurityGroupsClientWithBaseURI

func NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationSecurityGroupsClient

NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient client.

func (ApplicationSecurityGroupsClient) CreateOrUpdate

func (client ApplicationSecurityGroupsClient) CreateOrUpdate(resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup, cancel <-chan struct{}) (<-chan ApplicationSecurityGroup, <-chan error)

CreateOrUpdate creates or updates an application security group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationSecurityGroupName is the name of the application security group. parameters is parameters supplied to the create or update ApplicationSecurityGroup operation.

func (ApplicationSecurityGroupsClient) CreateOrUpdatePreparer

func (client ApplicationSecurityGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationSecurityGroupsClient) CreateOrUpdateResponder

func (client ApplicationSecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ApplicationSecurityGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ApplicationSecurityGroupsClient) CreateOrUpdateSender

func (client ApplicationSecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ApplicationSecurityGroupsClient) Delete

func (client ApplicationSecurityGroupsClient) Delete(resourceGroupName string, applicationSecurityGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified application security group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. applicationSecurityGroupName is the name of the application security group.

func (ApplicationSecurityGroupsClient) DeletePreparer

func (client ApplicationSecurityGroupsClient) DeletePreparer(resourceGroupName string, applicationSecurityGroupName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationSecurityGroupsClient) DeleteResponder

func (client ApplicationSecurityGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationSecurityGroupsClient) DeleteSender

func (client ApplicationSecurityGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ApplicationSecurityGroupsClient) Get

func (client ApplicationSecurityGroupsClient) Get(resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroup, err error)

Get gets information about the specified application security group.

resourceGroupName is the name of the resource group. applicationSecurityGroupName is the name of the application security group.

func (ApplicationSecurityGroupsClient) GetPreparer

func (client ApplicationSecurityGroupsClient) GetPreparer(resourceGroupName string, applicationSecurityGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationSecurityGroupsClient) GetResponder

func (client ApplicationSecurityGroupsClient) GetResponder(resp *http.Response) (result ApplicationSecurityGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationSecurityGroupsClient) GetSender

func (client ApplicationSecurityGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationSecurityGroupsClient) List

func (client ApplicationSecurityGroupsClient) List(resourceGroupName string) (result ApplicationSecurityGroupListResult, err error)

List gets all the application security groups in a resource group.

resourceGroupName is the name of the resource group.

func (ApplicationSecurityGroupsClient) ListAll

ListAll gets all application security groups in a subscription.

func (ApplicationSecurityGroupsClient) ListAllComplete

func (client ApplicationSecurityGroupsClient) ListAllComplete(cancel <-chan struct{}) (<-chan ApplicationSecurityGroup, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (ApplicationSecurityGroupsClient) ListAllNextResults

ListAllNextResults retrieves the next set of results, if any.

func (ApplicationSecurityGroupsClient) ListAllPreparer

func (client ApplicationSecurityGroupsClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (ApplicationSecurityGroupsClient) ListAllResponder

func (client ApplicationSecurityGroupsClient) ListAllResponder(resp *http.Response) (result ApplicationSecurityGroupListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (ApplicationSecurityGroupsClient) ListAllSender

func (client ApplicationSecurityGroupsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (ApplicationSecurityGroupsClient) ListComplete

func (client ApplicationSecurityGroupsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan ApplicationSecurityGroup, <-chan error)

ListComplete gets all elements from the list without paging.

func (ApplicationSecurityGroupsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (ApplicationSecurityGroupsClient) ListPreparer

func (client ApplicationSecurityGroupsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplicationSecurityGroupsClient) ListResponder

func (client ApplicationSecurityGroupsClient) ListResponder(resp *http.Response) (result ApplicationSecurityGroupListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplicationSecurityGroupsClient) ListSender

func (client ApplicationSecurityGroupsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AssociationType

type AssociationType string

AssociationType enumerates the values for association type.

const (
	// Associated specifies the associated state for association type.
	Associated AssociationType = "Associated"
	// Contains specifies the contains state for association type.
	Contains AssociationType = "Contains"
)

type AuthenticationMethod

type AuthenticationMethod string

AuthenticationMethod enumerates the values for authentication method.

const (
	// EAPMSCHAPv2 specifies the eapmscha pv 2 state for authentication method.
	EAPMSCHAPv2 AuthenticationMethod = "EAPMSCHAPv2"
	// EAPTLS specifies the eaptls state for authentication method.
	EAPTLS AuthenticationMethod = "EAPTLS"
)

type AuthorizationListResult

type AuthorizationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitAuthorization `json:"value,omitempty"`
	NextLink          *string                             `json:"nextLink,omitempty"`
}

AuthorizationListResult is response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit.

func (AuthorizationListResult) AuthorizationListResultPreparer

func (client AuthorizationListResult) AuthorizationListResultPreparer() (*http.Request, error)

AuthorizationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AuthorizationPropertiesFormat

type AuthorizationPropertiesFormat struct {
	AuthorizationKey       *string                `json:"authorizationKey,omitempty"`
	AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
	ProvisioningState      *string                `json:"provisioningState,omitempty"`
}

AuthorizationPropertiesFormat is

type AuthorizationUseStatus

type AuthorizationUseStatus string

AuthorizationUseStatus enumerates the values for authorization use status.

const (
	// Available specifies the available state for authorization use status.
	Available AuthorizationUseStatus = "Available"
	// InUse specifies the in use state for authorization use status.
	InUse AuthorizationUseStatus = "InUse"
)

type AvailableEndpointServicesClient

type AvailableEndpointServicesClient struct {
	ManagementClient
}

AvailableEndpointServicesClient is the network Client

func NewAvailableEndpointServicesClient

func NewAvailableEndpointServicesClient(subscriptionID string) AvailableEndpointServicesClient

NewAvailableEndpointServicesClient creates an instance of the AvailableEndpointServicesClient client.

func NewAvailableEndpointServicesClientWithBaseURI

func NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionID string) AvailableEndpointServicesClient

NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient client.

func (AvailableEndpointServicesClient) List

func (client AvailableEndpointServicesClient) List(location string) (result EndpointServicesListResult, err error)

List list what values of endpoint services are available for use.

location is the location to check available endpoint services.

func (AvailableEndpointServicesClient) ListComplete

func (client AvailableEndpointServicesClient) ListComplete(location string, cancel <-chan struct{}) (<-chan EndpointServiceResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (AvailableEndpointServicesClient) ListNextResults

func (client AvailableEndpointServicesClient) ListNextResults(lastResults EndpointServicesListResult) (result EndpointServicesListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (AvailableEndpointServicesClient) ListPreparer

func (client AvailableEndpointServicesClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailableEndpointServicesClient) ListResponder

func (client AvailableEndpointServicesClient) ListResponder(resp *http.Response) (result EndpointServicesListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AvailableEndpointServicesClient) ListSender

func (client AvailableEndpointServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AvailableProvidersList

type AvailableProvidersList struct {
	autorest.Response `json:"-"`
	Countries         *[]AvailableProvidersListCountry `json:"countries,omitempty"`
}

AvailableProvidersList is list of available countries with details.

type AvailableProvidersListCity

type AvailableProvidersListCity struct {
	CityName  *string   `json:"cityName,omitempty"`
	Providers *[]string `json:"providers,omitempty"`
}

AvailableProvidersListCity is city or town details.

type AvailableProvidersListCountry

type AvailableProvidersListCountry struct {
	CountryName *string                        `json:"countryName,omitempty"`
	Providers   *[]string                      `json:"providers,omitempty"`
	States      *[]AvailableProvidersListState `json:"states,omitempty"`
}

AvailableProvidersListCountry is country details.

type AvailableProvidersListParameters

type AvailableProvidersListParameters struct {
	AzureLocations *[]string `json:"azureLocations,omitempty"`
	Country        *string   `json:"country,omitempty"`
	State          *string   `json:"state,omitempty"`
	City           *string   `json:"city,omitempty"`
}

AvailableProvidersListParameters is constraints that determine the list of available Internet service providers.

type AvailableProvidersListState

type AvailableProvidersListState struct {
	StateName *string                       `json:"stateName,omitempty"`
	Providers *[]string                     `json:"providers,omitempty"`
	Cities    *[]AvailableProvidersListCity `json:"cities,omitempty"`
}

AvailableProvidersListState is state details.

type AzureAsyncOperationResult

type AzureAsyncOperationResult struct {
	Status OperationStatus `json:"status,omitempty"`
	Error  *Error          `json:"error,omitempty"`
}

AzureAsyncOperationResult is the response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.

type AzureReachabilityReport

type AzureReachabilityReport struct {
	autorest.Response  `json:"-"`
	AggregationLevel   *string                          `json:"aggregationLevel,omitempty"`
	ProviderLocation   *AzureReachabilityReportLocation `json:"providerLocation,omitempty"`
	ReachabilityReport *[]AzureReachabilityReportItem   `json:"reachabilityReport,omitempty"`
}

AzureReachabilityReport is azure reachability report details.

type AzureReachabilityReportItem

type AzureReachabilityReportItem struct {
	Provider      *string                               `json:"provider,omitempty"`
	AzureLocation *string                               `json:"azureLocation,omitempty"`
	Latencies     *[]AzureReachabilityReportLatencyInfo `json:"latencies,omitempty"`
}

AzureReachabilityReportItem is azure reachability report details for a given provider location.

type AzureReachabilityReportLatencyInfo

type AzureReachabilityReportLatencyInfo struct {
	TimeStamp *date.Time `json:"timeStamp,omitempty"`
	Score     *int32     `json:"score,omitempty"`
}

AzureReachabilityReportLatencyInfo is details on latency for a time series.

type AzureReachabilityReportLocation

type AzureReachabilityReportLocation struct {
	Country *string `json:"country,omitempty"`
	State   *string `json:"state,omitempty"`
	City    *string `json:"city,omitempty"`
}

AzureReachabilityReportLocation is parameters that define a geographic location.

type AzureReachabilityReportParameters

type AzureReachabilityReportParameters struct {
	ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"`
	Providers        *[]string                        `json:"providers,omitempty"`
	AzureLocations   *[]string                        `json:"azureLocations,omitempty"`
	StartTime        *date.Time                       `json:"startTime,omitempty"`
	EndTime          *date.Time                       `json:"endTime,omitempty"`
}

AzureReachabilityReportParameters is geographic and time constraints for Azure reachability report.

type BGPCommunity

type BGPCommunity struct {
	ServiceSupportedRegion *string   `json:"serviceSupportedRegion,omitempty"`
	CommunityName          *string   `json:"communityName,omitempty"`
	CommunityValue         *string   `json:"communityValue,omitempty"`
	CommunityPrefixes      *[]string `json:"communityPrefixes,omitempty"`
	IsAuthorizedToUse      *bool     `json:"isAuthorizedToUse,omitempty"`
	ServiceGroup           *string   `json:"serviceGroup,omitempty"`
}

BGPCommunity is contains bgp community information offered in Service Community resources.

type BackendAddressPool

type BackendAddressPool struct {
	autorest.Response                   `json:"-"`
	ID                                  *string `json:"id,omitempty"`
	*BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	Name                                *string `json:"name,omitempty"`
	Etag                                *string `json:"etag,omitempty"`
}

BackendAddressPool is pool of backend IP addresses.

type BackendAddressPoolPropertiesFormat

type BackendAddressPoolPropertiesFormat struct {
	BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
	LoadBalancingRules      *[]SubResource              `json:"loadBalancingRules,omitempty"`
	OutboundNatRule         *SubResource                `json:"outboundNatRule,omitempty"`
	ProvisioningState       *string                     `json:"provisioningState,omitempty"`
}

BackendAddressPoolPropertiesFormat is properties of the backend address pool.

type BgpPeerState

type BgpPeerState string

BgpPeerState enumerates the values for bgp peer state.

const (
	// BgpPeerStateConnected specifies the bgp peer state connected state for bgp peer state.
	BgpPeerStateConnected BgpPeerState = "Connected"
	// BgpPeerStateConnecting specifies the bgp peer state connecting state for bgp peer state.
	BgpPeerStateConnecting BgpPeerState = "Connecting"
	// BgpPeerStateIdle specifies the bgp peer state idle state for bgp peer state.
	BgpPeerStateIdle BgpPeerState = "Idle"
	// BgpPeerStateStopped specifies the bgp peer state stopped state for bgp peer state.
	BgpPeerStateStopped BgpPeerState = "Stopped"
	// BgpPeerStateUnknown specifies the bgp peer state unknown state for bgp peer state.
	BgpPeerStateUnknown BgpPeerState = "Unknown"
)

type BgpPeerStatus

type BgpPeerStatus struct {
	LocalAddress      *string      `json:"localAddress,omitempty"`
	Neighbor          *string      `json:"neighbor,omitempty"`
	Asn               *int32       `json:"asn,omitempty"`
	State             BgpPeerState `json:"state,omitempty"`
	ConnectedDuration *string      `json:"connectedDuration,omitempty"`
	RoutesReceived    *int64       `json:"routesReceived,omitempty"`
	MessagesSent      *int64       `json:"messagesSent,omitempty"`
	MessagesReceived  *int64       `json:"messagesReceived,omitempty"`
}

BgpPeerStatus is BGP peer status details

type BgpPeerStatusListResult

type BgpPeerStatusListResult struct {
	autorest.Response `json:"-"`
	Value             *[]BgpPeerStatus `json:"value,omitempty"`
}

BgpPeerStatusListResult is response for list BGP peer status API service call

type BgpServiceCommunitiesClient

type BgpServiceCommunitiesClient struct {
	ManagementClient
}

BgpServiceCommunitiesClient is the network Client

func NewBgpServiceCommunitiesClient

func NewBgpServiceCommunitiesClient(subscriptionID string) BgpServiceCommunitiesClient

NewBgpServiceCommunitiesClient creates an instance of the BgpServiceCommunitiesClient client.

func NewBgpServiceCommunitiesClientWithBaseURI

func NewBgpServiceCommunitiesClientWithBaseURI(baseURI string, subscriptionID string) BgpServiceCommunitiesClient

NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient client.

func (BgpServiceCommunitiesClient) List

List gets all the available bgp service communities.

func (BgpServiceCommunitiesClient) ListComplete

func (client BgpServiceCommunitiesClient) ListComplete(cancel <-chan struct{}) (<-chan BgpServiceCommunity, <-chan error)

ListComplete gets all elements from the list without paging.

func (BgpServiceCommunitiesClient) ListNextResults

func (client BgpServiceCommunitiesClient) ListNextResults(lastResults BgpServiceCommunityListResult) (result BgpServiceCommunityListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (BgpServiceCommunitiesClient) ListPreparer

func (client BgpServiceCommunitiesClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (BgpServiceCommunitiesClient) ListResponder

func (client BgpServiceCommunitiesClient) ListResponder(resp *http.Response) (result BgpServiceCommunityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BgpServiceCommunitiesClient) ListSender

func (client BgpServiceCommunitiesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BgpServiceCommunity

type BgpServiceCommunity struct {
	ID                                   *string             `json:"id,omitempty"`
	Name                                 *string             `json:"name,omitempty"`
	Type                                 *string             `json:"type,omitempty"`
	Location                             *string             `json:"location,omitempty"`
	Tags                                 *map[string]*string `json:"tags,omitempty"`
	*BgpServiceCommunityPropertiesFormat `json:"properties,omitempty"`
}

BgpServiceCommunity is service Community Properties.

type BgpServiceCommunityListResult

type BgpServiceCommunityListResult struct {
	autorest.Response `json:"-"`
	Value             *[]BgpServiceCommunity `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

BgpServiceCommunityListResult is response for the ListServiceCommunity API service call.

func (BgpServiceCommunityListResult) BgpServiceCommunityListResultPreparer

func (client BgpServiceCommunityListResult) BgpServiceCommunityListResultPreparer() (*http.Request, error)

BgpServiceCommunityListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type BgpServiceCommunityPropertiesFormat

type BgpServiceCommunityPropertiesFormat struct {
	ServiceName    *string         `json:"serviceName,omitempty"`
	BgpCommunities *[]BGPCommunity `json:"bgpCommunities,omitempty"`
}

BgpServiceCommunityPropertiesFormat is properties of Service Community.

type BgpSettings

type BgpSettings struct {
	Asn               *int64  `json:"asn,omitempty"`
	BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"`
	PeerWeight        *int32  `json:"peerWeight,omitempty"`
}

BgpSettings is BGP settings details

type ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	autorest.Response `json:"-"`
	KeyLength         *int32 `json:"keyLength,omitempty"`
}

ConnectionResetSharedKey is the virtual network connection reset shared key

type ConnectionSharedKey

type ConnectionSharedKey struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

ConnectionSharedKey is response for GetConnectionSharedKey API service call

type ConnectionStatus

type ConnectionStatus string

ConnectionStatus enumerates the values for connection status.

const (
	// ConnectionStatusConnected specifies the connection status connected state for connection status.
	ConnectionStatusConnected ConnectionStatus = "Connected"
	// ConnectionStatusDegraded specifies the connection status degraded state for connection status.
	ConnectionStatusDegraded ConnectionStatus = "Degraded"
	// ConnectionStatusDisconnected specifies the connection status disconnected state for connection status.
	ConnectionStatusDisconnected ConnectionStatus = "Disconnected"
	// ConnectionStatusUnknown specifies the connection status unknown state for connection status.
	ConnectionStatusUnknown ConnectionStatus = "Unknown"
)

type ConnectivityDestination

type ConnectivityDestination struct {
	ResourceID *string `json:"resourceId,omitempty"`
	Address    *string `json:"address,omitempty"`
	Port       *int32  `json:"port,omitempty"`
}

ConnectivityDestination is parameters that define destination of connection.

type ConnectivityHop

type ConnectivityHop struct {
	Type       *string              `json:"type,omitempty"`
	ID         *string              `json:"id,omitempty"`
	Address    *string              `json:"address,omitempty"`
	ResourceID *string              `json:"resourceId,omitempty"`
	NextHopIds *[]string            `json:"nextHopIds,omitempty"`
	Issues     *[]ConnectivityIssue `json:"issues,omitempty"`
}

ConnectivityHop is information about a hop between the source and the destination.

type ConnectivityInformation

type ConnectivityInformation struct {
	autorest.Response `json:"-"`
	Hops              *[]ConnectivityHop `json:"hops,omitempty"`
	ConnectionStatus  ConnectionStatus   `json:"connectionStatus,omitempty"`
	AvgLatencyInMs    *int32             `json:"avgLatencyInMs,omitempty"`
	MinLatencyInMs    *int32             `json:"minLatencyInMs,omitempty"`
	MaxLatencyInMs    *int32             `json:"maxLatencyInMs,omitempty"`
	ProbesSent        *int32             `json:"probesSent,omitempty"`
	ProbesFailed      *int32             `json:"probesFailed,omitempty"`
}

ConnectivityInformation is information on the connectivity status.

type ConnectivityIssue

type ConnectivityIssue struct {
	Origin   Origin                `json:"origin,omitempty"`
	Severity Severity              `json:"severity,omitempty"`
	Type     IssueType             `json:"type,omitempty"`
	Context  *[]map[string]*string `json:"context,omitempty"`
}

ConnectivityIssue is information about an issue encountered in the process of checking for connectivity.

type ConnectivityParameters

type ConnectivityParameters struct {
	Source      *ConnectivitySource      `json:"source,omitempty"`
	Destination *ConnectivityDestination `json:"destination,omitempty"`
}

ConnectivityParameters is parameters that determine how the connectivity check will be performed.

type ConnectivitySource

type ConnectivitySource struct {
	ResourceID *string `json:"resourceId,omitempty"`
	Port       *int32  `json:"port,omitempty"`
}

ConnectivitySource is parameters that define the source of the connection.

type DNSNameAvailabilityResult

type DNSNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	Available         *bool `json:"available,omitempty"`
}

DNSNameAvailabilityResult is response for the CheckDnsNameAvailability API service call.

type DefaultSecurityRulesClient

type DefaultSecurityRulesClient struct {
	ManagementClient
}

DefaultSecurityRulesClient is the network Client

func NewDefaultSecurityRulesClient

func NewDefaultSecurityRulesClient(subscriptionID string) DefaultSecurityRulesClient

NewDefaultSecurityRulesClient creates an instance of the DefaultSecurityRulesClient client.

func NewDefaultSecurityRulesClientWithBaseURI

func NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) DefaultSecurityRulesClient

NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client.

func (DefaultSecurityRulesClient) Get

func (client DefaultSecurityRulesClient) Get(resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (result SecurityRule, err error)

Get get the specified default network security rule.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. defaultSecurityRuleName is the name of the default security rule.

func (DefaultSecurityRulesClient) GetPreparer

func (client DefaultSecurityRulesClient) GetPreparer(resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DefaultSecurityRulesClient) GetResponder

func (client DefaultSecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DefaultSecurityRulesClient) GetSender

func (client DefaultSecurityRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DefaultSecurityRulesClient) List

func (client DefaultSecurityRulesClient) List(resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResult, err error)

List gets all default security rules in a network security group.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group.

func (DefaultSecurityRulesClient) ListComplete

func (client DefaultSecurityRulesClient) ListComplete(resourceGroupName string, networkSecurityGroupName string, cancel <-chan struct{}) (<-chan SecurityRule, <-chan error)

ListComplete gets all elements from the list without paging.

func (DefaultSecurityRulesClient) ListNextResults

func (client DefaultSecurityRulesClient) ListNextResults(lastResults SecurityRuleListResult) (result SecurityRuleListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (DefaultSecurityRulesClient) ListPreparer

func (client DefaultSecurityRulesClient) ListPreparer(resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DefaultSecurityRulesClient) ListResponder

func (client DefaultSecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DefaultSecurityRulesClient) ListSender

func (client DefaultSecurityRulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DhGroup

type DhGroup string

DhGroup enumerates the values for dh group.

const (
	// DHGroup1 specifies the dh group 1 state for dh group.
	DHGroup1 DhGroup = "DHGroup1"
	// DHGroup14 specifies the dh group 14 state for dh group.
	DHGroup14 DhGroup = "DHGroup14"
	// DHGroup2 specifies the dh group 2 state for dh group.
	DHGroup2 DhGroup = "DHGroup2"
	// DHGroup2048 specifies the dh group 2048 state for dh group.
	DHGroup2048 DhGroup = "DHGroup2048"
	// DHGroup24 specifies the dh group 24 state for dh group.
	DHGroup24 DhGroup = "DHGroup24"
	// ECP256 specifies the ecp256 state for dh group.
	ECP256 DhGroup = "ECP256"
	// ECP384 specifies the ecp384 state for dh group.
	ECP384 DhGroup = "ECP384"
	// None specifies the none state for dh group.
	None DhGroup = "None"
)

type DhcpOptions

type DhcpOptions struct {
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

DhcpOptions is dhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.

type Direction

type Direction string

Direction enumerates the values for direction.

const (
	// Inbound specifies the inbound state for direction.
	Inbound Direction = "Inbound"
	// Outbound specifies the outbound state for direction.
	Outbound Direction = "Outbound"
)

type EffectiveNetworkSecurityGroup

type EffectiveNetworkSecurityGroup struct {
	NetworkSecurityGroup   *SubResource                              `json:"networkSecurityGroup,omitempty"`
	Association            *EffectiveNetworkSecurityGroupAssociation `json:"association,omitempty"`
	EffectiveSecurityRules *[]EffectiveNetworkSecurityRule           `json:"effectiveSecurityRules,omitempty"`
	TagMap                 *map[string][]string                      `json:"tagMap,omitempty"`
}

EffectiveNetworkSecurityGroup is effective network security group.

type EffectiveNetworkSecurityGroupAssociation

type EffectiveNetworkSecurityGroupAssociation struct {
	Subnet           *SubResource `json:"subnet,omitempty"`
	NetworkInterface *SubResource `json:"networkInterface,omitempty"`
}

EffectiveNetworkSecurityGroupAssociation is the effective network security group association.

type EffectiveNetworkSecurityGroupListResult

type EffectiveNetworkSecurityGroupListResult struct {
	autorest.Response `json:"-"`
	Value             *[]EffectiveNetworkSecurityGroup `json:"value,omitempty"`
	NextLink          *string                          `json:"nextLink,omitempty"`
}

EffectiveNetworkSecurityGroupListResult is response for list effective network security groups API service call.

type EffectiveNetworkSecurityRule

type EffectiveNetworkSecurityRule struct {
	Name                             *string                       `json:"name,omitempty"`
	Protocol                         EffectiveSecurityRuleProtocol `json:"protocol,omitempty"`
	SourcePortRange                  *string                       `json:"sourcePortRange,omitempty"`
	DestinationPortRange             *string                       `json:"destinationPortRange,omitempty"`
	SourcePortRanges                 *[]string                     `json:"sourcePortRanges,omitempty"`
	DestinationPortRanges            *[]string                     `json:"destinationPortRanges,omitempty"`
	SourceAddressPrefix              *string                       `json:"sourceAddressPrefix,omitempty"`
	DestinationAddressPrefix         *string                       `json:"destinationAddressPrefix,omitempty"`
	SourceAddressPrefixes            *[]string                     `json:"sourceAddressPrefixes,omitempty"`
	DestinationAddressPrefixes       *[]string                     `json:"destinationAddressPrefixes,omitempty"`
	ExpandedSourceAddressPrefix      *[]string                     `json:"expandedSourceAddressPrefix,omitempty"`
	ExpandedDestinationAddressPrefix *[]string                     `json:"expandedDestinationAddressPrefix,omitempty"`
	Access                           SecurityRuleAccess            `json:"access,omitempty"`
	Priority                         *int32                        `json:"priority,omitempty"`
	Direction                        SecurityRuleDirection         `json:"direction,omitempty"`
}

EffectiveNetworkSecurityRule is effective network security rules.

type EffectiveRoute

type EffectiveRoute struct {
	Name             *string              `json:"name,omitempty"`
	Source           EffectiveRouteSource `json:"source,omitempty"`
	State            EffectiveRouteState  `json:"state,omitempty"`
	AddressPrefix    *[]string            `json:"addressPrefix,omitempty"`
	NextHopIPAddress *[]string            `json:"nextHopIpAddress,omitempty"`
	NextHopType      RouteNextHopType     `json:"nextHopType,omitempty"`
}

EffectiveRoute is effective Route

type EffectiveRouteListResult

type EffectiveRouteListResult struct {
	autorest.Response `json:"-"`
	Value             *[]EffectiveRoute `json:"value,omitempty"`
	NextLink          *string           `json:"nextLink,omitempty"`
}

EffectiveRouteListResult is response for list effective route API service call.

type EffectiveRouteSource

type EffectiveRouteSource string

EffectiveRouteSource enumerates the values for effective route source.

const (
	// EffectiveRouteSourceDefault specifies the effective route source default state for effective route source.
	EffectiveRouteSourceDefault EffectiveRouteSource = "Default"
	// EffectiveRouteSourceUnknown specifies the effective route source unknown state for effective route source.
	EffectiveRouteSourceUnknown EffectiveRouteSource = "Unknown"
	// EffectiveRouteSourceUser specifies the effective route source user state for effective route source.
	EffectiveRouteSourceUser EffectiveRouteSource = "User"
	// EffectiveRouteSourceVirtualNetworkGateway specifies the effective route source virtual network gateway state for
	// effective route source.
	EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway"
)

type EffectiveRouteState

type EffectiveRouteState string

EffectiveRouteState enumerates the values for effective route state.

const (
	// Active specifies the active state for effective route state.
	Active EffectiveRouteState = "Active"
	// Invalid specifies the invalid state for effective route state.
	Invalid EffectiveRouteState = "Invalid"
)

type EffectiveSecurityRuleProtocol

type EffectiveSecurityRuleProtocol string

EffectiveSecurityRuleProtocol enumerates the values for effective security rule protocol.

const (
	// All specifies the all state for effective security rule protocol.
	All EffectiveSecurityRuleProtocol = "All"
	// TCP specifies the tcp state for effective security rule protocol.
	TCP EffectiveSecurityRuleProtocol = "Tcp"
	// UDP specifies the udp state for effective security rule protocol.
	UDP EffectiveSecurityRuleProtocol = "Udp"
)

type EndpointServiceResult

type EndpointServiceResult struct {
	ID   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

EndpointServiceResult is endpoint service.

type EndpointServicesListResult

type EndpointServicesListResult struct {
	autorest.Response `json:"-"`
	Value             *[]EndpointServiceResult `json:"value,omitempty"`
	NextLink          *string                  `json:"nextLink,omitempty"`
}

EndpointServicesListResult is response for the ListAvailableEndpointServices API service call.

func (EndpointServicesListResult) EndpointServicesListResultPreparer

func (client EndpointServicesListResult) EndpointServicesListResultPreparer() (*http.Request, error)

EndpointServicesListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type Error

type Error struct {
	Code       *string         `json:"code,omitempty"`
	Message    *string         `json:"message,omitempty"`
	Target     *string         `json:"target,omitempty"`
	Details    *[]ErrorDetails `json:"details,omitempty"`
	InnerError *string         `json:"innerError,omitempty"`
}

Error is

type ErrorDetails

type ErrorDetails struct {
	Code    *string `json:"code,omitempty"`
	Target  *string `json:"target,omitempty"`
	Message *string `json:"message,omitempty"`
}

ErrorDetails is

type ExpressRouteCircuit

type ExpressRouteCircuit struct {
	autorest.Response                    `json:"-"`
	ID                                   *string                 `json:"id,omitempty"`
	Name                                 *string                 `json:"name,omitempty"`
	Type                                 *string                 `json:"type,omitempty"`
	Location                             *string                 `json:"location,omitempty"`
	Tags                                 *map[string]*string     `json:"tags,omitempty"`
	Sku                                  *ExpressRouteCircuitSku `json:"sku,omitempty"`
	*ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`
	Etag                                 *string `json:"etag,omitempty"`
}

ExpressRouteCircuit is expressRouteCircuit resource

type ExpressRouteCircuitArpTable

type ExpressRouteCircuitArpTable struct {
	Age        *int32  `json:"age,omitempty"`
	Interface  *string `json:"interface,omitempty"`
	IPAddress  *string `json:"ipAddress,omitempty"`
	MacAddress *string `json:"macAddress,omitempty"`
}

ExpressRouteCircuitArpTable is the ARP table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitAuthorization

type ExpressRouteCircuitAuthorization struct {
	autorest.Response              `json:"-"`
	ID                             *string `json:"id,omitempty"`
	*AuthorizationPropertiesFormat `json:"properties,omitempty"`
	Name                           *string `json:"name,omitempty"`
	Etag                           *string `json:"etag,omitempty"`
}

ExpressRouteCircuitAuthorization is authorization in an ExpressRouteCircuit resource.

type ExpressRouteCircuitAuthorizationsClient

type ExpressRouteCircuitAuthorizationsClient struct {
	ManagementClient
}

ExpressRouteCircuitAuthorizationsClient is the network Client

func NewExpressRouteCircuitAuthorizationsClient

func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization, cancel <-chan struct{}) (<-chan ExpressRouteCircuitAuthorization, <-chan error)

CreateOrUpdate creates or updates an authorization in the specified express route circuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. authorizationName is the name of the authorization. authorizationParameters is parameters supplied to the create or update express route circuit authorization operation.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitAuthorizationsClient) Delete

func (client ExpressRouteCircuitAuthorizationsClient) Delete(resourceGroupName string, circuitName string, authorizationName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified authorization from the specified express route circuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. authorizationName is the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) DeletePreparer

func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(resourceGroupName string, circuitName string, authorizationName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitAuthorizationsClient) DeleteResponder

func (client ExpressRouteCircuitAuthorizationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitAuthorizationsClient) Get

func (client ExpressRouteCircuitAuthorizationsClient) Get(resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error)

Get gets the specified authorization from the specified express route circuit.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. authorizationName is the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) GetPreparer

func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitAuthorizationsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitAuthorizationsClient) List

func (client ExpressRouteCircuitAuthorizationsClient) List(resourceGroupName string, circuitName string) (result AuthorizationListResult, err error)

List gets all authorizations in an express route circuit.

resourceGroupName is the name of the resource group. circuitName is the name of the circuit.

func (ExpressRouteCircuitAuthorizationsClient) ListComplete

func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(resourceGroupName string, circuitName string, cancel <-chan struct{}) (<-chan ExpressRouteCircuitAuthorization, <-chan error)

ListComplete gets all elements from the list without paging.

func (ExpressRouteCircuitAuthorizationsClient) ListNextResults

func (client ExpressRouteCircuitAuthorizationsClient) ListNextResults(lastResults AuthorizationListResult) (result AuthorizationListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitAuthorizationsClient) ListPreparer

func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitAuthorizationsClient) ListResponder

func (client ExpressRouteCircuitAuthorizationsClient) ListResponder(resp *http.Response) (result AuthorizationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitListResult

type ExpressRouteCircuitListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuit `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

ExpressRouteCircuitListResult is response for ListExpressRouteCircuit API service call.

func (ExpressRouteCircuitListResult) ExpressRouteCircuitListResultPreparer

func (client ExpressRouteCircuitListResult) ExpressRouteCircuitListResultPreparer() (*http.Request, error)

ExpressRouteCircuitListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteCircuitPeering

type ExpressRouteCircuitPeering struct {
	autorest.Response                           `json:"-"`
	ID                                          *string `json:"id,omitempty"`
	*ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`
	Name                                        *string `json:"name,omitempty"`
	Etag                                        *string `json:"etag,omitempty"`
}

ExpressRouteCircuitPeering is peering in an ExpressRouteCircuit resource.

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string

ExpressRouteCircuitPeeringAdvertisedPublicPrefixState enumerates the values for express route circuit peering advertised public prefix state.

const (
	// Configured specifies the configured state for express route circuit peering advertised public prefix state.
	Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
	// Configuring specifies the configuring state for express route circuit peering advertised public prefix state.
	Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
	// NotConfigured specifies the not configured state for express route circuit peering advertised public prefix state.
	NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
	// ValidationNeeded specifies the validation needed state for express route circuit peering advertised public prefix
	// state.
	ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
)

type ExpressRouteCircuitPeeringConfig

type ExpressRouteCircuitPeeringConfig struct {
	AdvertisedPublicPrefixes      *[]string                                             `json:"advertisedPublicPrefixes,omitempty"`
	AdvertisedCommunities         *[]string                                             `json:"advertisedCommunities,omitempty"`
	AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"`
	LegacyMode                    *int32                                                `json:"legacyMode,omitempty"`
	CustomerASN                   *int32                                                `json:"customerASN,omitempty"`
	RoutingRegistryName           *string                                               `json:"routingRegistryName,omitempty"`
}

ExpressRouteCircuitPeeringConfig is specifies the peering configuration.

type ExpressRouteCircuitPeeringListResult

type ExpressRouteCircuitPeeringListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitPeering `json:"value,omitempty"`
	NextLink          *string                       `json:"nextLink,omitempty"`
}

ExpressRouteCircuitPeeringListResult is response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit.

func (ExpressRouteCircuitPeeringListResult) ExpressRouteCircuitPeeringListResultPreparer

func (client ExpressRouteCircuitPeeringListResult) ExpressRouteCircuitPeeringListResultPreparer() (*http.Request, error)

ExpressRouteCircuitPeeringListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteCircuitPeeringPropertiesFormat

type ExpressRouteCircuitPeeringPropertiesFormat struct {
	PeeringType                ExpressRouteCircuitPeeringType        `json:"peeringType,omitempty"`
	State                      ExpressRouteCircuitPeeringState       `json:"state,omitempty"`
	AzureASN                   *int32                                `json:"azureASN,omitempty"`
	PeerASN                    *int32                                `json:"peerASN,omitempty"`
	PrimaryPeerAddressPrefix   *string                               `json:"primaryPeerAddressPrefix,omitempty"`
	SecondaryPeerAddressPrefix *string                               `json:"secondaryPeerAddressPrefix,omitempty"`
	PrimaryAzurePort           *string                               `json:"primaryAzurePort,omitempty"`
	SecondaryAzurePort         *string                               `json:"secondaryAzurePort,omitempty"`
	SharedKey                  *string                               `json:"sharedKey,omitempty"`
	VlanID                     *int32                                `json:"vlanId,omitempty"`
	MicrosoftPeeringConfig     *ExpressRouteCircuitPeeringConfig     `json:"microsoftPeeringConfig,omitempty"`
	Stats                      *ExpressRouteCircuitStats             `json:"stats,omitempty"`
	ProvisioningState          *string                               `json:"provisioningState,omitempty"`
	GatewayManagerEtag         *string                               `json:"gatewayManagerEtag,omitempty"`
	LastModifiedBy             *string                               `json:"lastModifiedBy,omitempty"`
	RouteFilter                *RouteFilter                          `json:"routeFilter,omitempty"`
	Ipv6PeeringConfig          *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
}

ExpressRouteCircuitPeeringPropertiesFormat is

type ExpressRouteCircuitPeeringState

type ExpressRouteCircuitPeeringState string

ExpressRouteCircuitPeeringState enumerates the values for express route circuit peering state.

const (
	// ExpressRouteCircuitPeeringStateDisabled specifies the express route circuit peering state disabled state for express
	// route circuit peering state.
	ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled"
	// ExpressRouteCircuitPeeringStateEnabled specifies the express route circuit peering state enabled state for express
	// route circuit peering state.
	ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled"
)

type ExpressRouteCircuitPeeringType

type ExpressRouteCircuitPeeringType string

ExpressRouteCircuitPeeringType enumerates the values for express route circuit peering type.

const (
	// AzurePrivatePeering specifies the azure private peering state for express route circuit peering type.
	AzurePrivatePeering ExpressRouteCircuitPeeringType = "AzurePrivatePeering"
	// AzurePublicPeering specifies the azure public peering state for express route circuit peering type.
	AzurePublicPeering ExpressRouteCircuitPeeringType = "AzurePublicPeering"
	// MicrosoftPeering specifies the microsoft peering state for express route circuit peering type.
	MicrosoftPeering ExpressRouteCircuitPeeringType = "MicrosoftPeering"
)

type ExpressRouteCircuitPeeringsClient

type ExpressRouteCircuitPeeringsClient struct {
	ManagementClient
}

ExpressRouteCircuitPeeringsClient is the network Client

func NewExpressRouteCircuitPeeringsClient

func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.

func NewExpressRouteCircuitPeeringsClientWithBaseURI

func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdate

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering, cancel <-chan struct{}) (<-chan ExpressRouteCircuitPeering, <-chan error)

CreateOrUpdate creates or updates a peering in the specified express route circuits. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering. peeringParameters is parameters supplied to the create or update express route circuit peering operation.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitPeeringsClient) Delete

func (client ExpressRouteCircuitPeeringsClient) Delete(resourceGroupName string, circuitName string, peeringName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified peering from the specified express route circuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering.

func (ExpressRouteCircuitPeeringsClient) DeletePreparer

func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(resourceGroupName string, circuitName string, peeringName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitPeeringsClient) DeleteResponder

func (client ExpressRouteCircuitPeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) DeleteSender

func (client ExpressRouteCircuitPeeringsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitPeeringsClient) Get

func (client ExpressRouteCircuitPeeringsClient) Get(resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error)

Get gets the specified authorization from the specified express route circuit.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering.

func (ExpressRouteCircuitPeeringsClient) GetPreparer

func (client ExpressRouteCircuitPeeringsClient) GetPreparer(resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitPeeringsClient) GetResponder

func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) GetSender

func (client ExpressRouteCircuitPeeringsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitPeeringsClient) List

func (client ExpressRouteCircuitPeeringsClient) List(resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResult, err error)

List gets all peerings in a specified express route circuit.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit.

func (ExpressRouteCircuitPeeringsClient) ListComplete

func (client ExpressRouteCircuitPeeringsClient) ListComplete(resourceGroupName string, circuitName string, cancel <-chan struct{}) (<-chan ExpressRouteCircuitPeering, <-chan error)

ListComplete gets all elements from the list without paging.

func (ExpressRouteCircuitPeeringsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitPeeringsClient) ListPreparer

func (client ExpressRouteCircuitPeeringsClient) ListPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitPeeringsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) ListSender

func (client ExpressRouteCircuitPeeringsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitPropertiesFormat

type ExpressRouteCircuitPropertiesFormat struct {
	AllowClassicOperations           *bool                                         `json:"allowClassicOperations,omitempty"`
	CircuitProvisioningState         *string                                       `json:"circuitProvisioningState,omitempty"`
	ServiceProviderProvisioningState ServiceProviderProvisioningState              `json:"serviceProviderProvisioningState,omitempty"`
	Authorizations                   *[]ExpressRouteCircuitAuthorization           `json:"authorizations,omitempty"`
	Peerings                         *[]ExpressRouteCircuitPeering                 `json:"peerings,omitempty"`
	ServiceKey                       *string                                       `json:"serviceKey,omitempty"`
	ServiceProviderNotes             *string                                       `json:"serviceProviderNotes,omitempty"`
	ServiceProviderProperties        *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`
	ProvisioningState                *string                                       `json:"provisioningState,omitempty"`
	GatewayManagerEtag               *string                                       `json:"gatewayManagerEtag,omitempty"`
}

ExpressRouteCircuitPropertiesFormat is properties of ExpressRouteCircuit.

type ExpressRouteCircuitRoutesTable

type ExpressRouteCircuitRoutesTable struct {
	NetworkProperty *string `json:"network,omitempty"`
	NextHop         *string `json:"nextHop,omitempty"`
	LocPrf          *string `json:"locPrf,omitempty"`
	Weight          *int32  `json:"weight,omitempty"`
	Path            *string `json:"path,omitempty"`
}

ExpressRouteCircuitRoutesTable is the routes table associated with the ExpressRouteCircuit

type ExpressRouteCircuitRoutesTableSummary

type ExpressRouteCircuitRoutesTableSummary struct {
	Neighbor    *string `json:"neighbor,omitempty"`
	V           *int32  `json:"v,omitempty"`
	As          *int32  `json:"as,omitempty"`
	UpDown      *string `json:"upDown,omitempty"`
	StatePfxRcd *string `json:"statePfxRcd,omitempty"`
}

ExpressRouteCircuitRoutesTableSummary is the routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitServiceProviderProperties

type ExpressRouteCircuitServiceProviderProperties struct {
	ServiceProviderName *string `json:"serviceProviderName,omitempty"`
	PeeringLocation     *string `json:"peeringLocation,omitempty"`
	BandwidthInMbps     *int32  `json:"bandwidthInMbps,omitempty"`
}

ExpressRouteCircuitServiceProviderProperties is contains ServiceProviderProperties in an ExpressRouteCircuit.

type ExpressRouteCircuitSku

type ExpressRouteCircuitSku struct {
	Name   *string                      `json:"name,omitempty"`
	Tier   ExpressRouteCircuitSkuTier   `json:"tier,omitempty"`
	Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"`
}

ExpressRouteCircuitSku is contains SKU in an ExpressRouteCircuit.

type ExpressRouteCircuitSkuFamily

type ExpressRouteCircuitSkuFamily string

ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.

const (
	// MeteredData specifies the metered data state for express route circuit sku family.
	MeteredData ExpressRouteCircuitSkuFamily = "MeteredData"
	// UnlimitedData specifies the unlimited data state for express route circuit sku family.
	UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData"
)

type ExpressRouteCircuitSkuTier

type ExpressRouteCircuitSkuTier string

ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.

const (
	// ExpressRouteCircuitSkuTierPremium specifies the express route circuit sku tier premium state for express route
	// circuit sku tier.
	ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium"
	// ExpressRouteCircuitSkuTierStandard specifies the express route circuit sku tier standard state for express route
	// circuit sku tier.
	ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard"
)

type ExpressRouteCircuitStats

type ExpressRouteCircuitStats struct {
	autorest.Response `json:"-"`
	PrimarybytesIn    *int64 `json:"primarybytesIn,omitempty"`
	PrimarybytesOut   *int64 `json:"primarybytesOut,omitempty"`
	SecondarybytesIn  *int64 `json:"secondarybytesIn,omitempty"`
	SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"`
}

ExpressRouteCircuitStats is contains stats associated with the peering.

type ExpressRouteCircuitsArpTableListResult

type ExpressRouteCircuitsArpTableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
	NextLink          *string                        `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsArpTableListResult is response for ListArpTable associated with the Express Route Circuits API.

type ExpressRouteCircuitsClient

type ExpressRouteCircuitsClient struct {
	ManagementClient
}

ExpressRouteCircuitsClient is the network Client

func NewExpressRouteCircuitsClient

func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.

func NewExpressRouteCircuitsClientWithBaseURI

func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client.

func (ExpressRouteCircuitsClient) CreateOrUpdate

func (client ExpressRouteCircuitsClient) CreateOrUpdate(resourceGroupName string, circuitName string, parameters ExpressRouteCircuit, cancel <-chan struct{}) (<-chan ExpressRouteCircuit, <-chan error)

CreateOrUpdate creates or updates an express route circuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the circuit. parameters is parameters supplied to the create or update express route circuit operation.

func (ExpressRouteCircuitsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(resourceGroupName string, circuitName string, parameters ExpressRouteCircuit, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuit, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) Delete

func (client ExpressRouteCircuitsClient) Delete(resourceGroupName string, circuitName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified express route circuit. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit.

func (ExpressRouteCircuitsClient) DeletePreparer

func (client ExpressRouteCircuitsClient) DeletePreparer(resourceGroupName string, circuitName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitsClient) DeleteResponder

func (client ExpressRouteCircuitsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) DeleteSender

func (client ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) Get

func (client ExpressRouteCircuitsClient) Get(resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)

Get gets information about the specified express route circuit.

resourceGroupName is the name of the resource group. circuitName is the name of express route circuit.

func (ExpressRouteCircuitsClient) GetPeeringStats

func (client ExpressRouteCircuitsClient) GetPeeringStats(resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error)

GetPeeringStats gets all stats from an express route circuit in a resource group.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering.

func (ExpressRouteCircuitsClient) GetPeeringStatsPreparer

func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

GetPeeringStatsPreparer prepares the GetPeeringStats request.

func (ExpressRouteCircuitsClient) GetPeeringStatsResponder

func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)

GetPeeringStatsResponder handles the response to the GetPeeringStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetPeeringStatsSender

func (client ExpressRouteCircuitsClient) GetPeeringStatsSender(req *http.Request) (*http.Response, error)

GetPeeringStatsSender sends the GetPeeringStats request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) GetPreparer

func (client ExpressRouteCircuitsClient) GetPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitsClient) GetResponder

func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuit, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetSender

func (client ExpressRouteCircuitsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) GetStats

func (client ExpressRouteCircuitsClient) GetStats(resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)

GetStats gets all the stats from an express route circuit in a resource group.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit.

func (ExpressRouteCircuitsClient) GetStatsPreparer

func (client ExpressRouteCircuitsClient) GetStatsPreparer(resourceGroupName string, circuitName string) (*http.Request, error)

GetStatsPreparer prepares the GetStats request.

func (ExpressRouteCircuitsClient) GetStatsResponder

func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)

GetStatsResponder handles the response to the GetStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetStatsSender

func (client ExpressRouteCircuitsClient) GetStatsSender(req *http.Request) (*http.Response, error)

GetStatsSender sends the GetStats request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) List

func (client ExpressRouteCircuitsClient) List(resourceGroupName string) (result ExpressRouteCircuitListResult, err error)

List gets all the express route circuits in a resource group.

resourceGroupName is the name of the resource group.

func (ExpressRouteCircuitsClient) ListAll

func (client ExpressRouteCircuitsClient) ListAll() (result ExpressRouteCircuitListResult, err error)

ListAll gets all the express route circuits in a subscription.

func (ExpressRouteCircuitsClient) ListAllComplete

func (client ExpressRouteCircuitsClient) ListAllComplete(cancel <-chan struct{}) (<-chan ExpressRouteCircuit, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (ExpressRouteCircuitsClient) ListAllNextResults

func (client ExpressRouteCircuitsClient) ListAllNextResults(lastResults ExpressRouteCircuitListResult) (result ExpressRouteCircuitListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListAllPreparer

func (client ExpressRouteCircuitsClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (ExpressRouteCircuitsClient) ListAllResponder

func (client ExpressRouteCircuitsClient) ListAllResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListAllSender

func (client ExpressRouteCircuitsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListArpTable

func (client ExpressRouteCircuitsClient) ListArpTable(resourceGroupName string, circuitName string, peeringName string, devicePath string, cancel <-chan struct{}) (<-chan ExpressRouteCircuitsArpTableListResult, <-chan error)

ListArpTable gets the currently advertised ARP table associated with the express route circuit in a resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering. devicePath is the path of the device.

func (ExpressRouteCircuitsClient) ListArpTablePreparer

func (client ExpressRouteCircuitsClient) ListArpTablePreparer(resourceGroupName string, circuitName string, peeringName string, devicePath string, cancel <-chan struct{}) (*http.Request, error)

ListArpTablePreparer prepares the ListArpTable request.

func (ExpressRouteCircuitsClient) ListArpTableResponder

func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)

ListArpTableResponder handles the response to the ListArpTable request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListArpTableSender

func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (*http.Response, error)

ListArpTableSender sends the ListArpTable request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListComplete

func (client ExpressRouteCircuitsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan ExpressRouteCircuit, <-chan error)

ListComplete gets all elements from the list without paging.

func (ExpressRouteCircuitsClient) ListNextResults

func (client ExpressRouteCircuitsClient) ListNextResults(lastResults ExpressRouteCircuitListResult) (result ExpressRouteCircuitListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteCircuitsClient) ListPreparer

func (client ExpressRouteCircuitsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitsClient) ListResponder

func (client ExpressRouteCircuitsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTable

func (client ExpressRouteCircuitsClient) ListRoutesTable(resourceGroupName string, circuitName string, peeringName string, devicePath string, cancel <-chan struct{}) (<-chan ExpressRouteCircuitsRoutesTableListResult, <-chan error)

ListRoutesTable gets the currently advertised routes table associated with the express route circuit in a resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering. devicePath is the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTablePreparer

func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(resourceGroupName string, circuitName string, peeringName string, devicePath string, cancel <-chan struct{}) (*http.Request, error)

ListRoutesTablePreparer prepares the ListRoutesTable request.

func (ExpressRouteCircuitsClient) ListRoutesTableResponder

func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)

ListRoutesTableResponder handles the response to the ListRoutesTable request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTableSender

func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (*http.Response, error)

ListRoutesTableSender sends the ListRoutesTable request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListRoutesTableSummary

func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(resourceGroupName string, circuitName string, peeringName string, devicePath string, cancel <-chan struct{}) (<-chan ExpressRouteCircuitsRoutesTableSummaryListResult, <-chan error)

ListRoutesTableSummary gets the currently advertised routes table summary associated with the express route circuit in a resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. circuitName is the name of the express route circuit. peeringName is the name of the peering. devicePath is the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(resourceGroupName string, circuitName string, peeringName string, devicePath string, cancel <-chan struct{}) (*http.Request, error)

ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableSummaryListResult, err error)

ListRoutesTableSummaryResponder handles the response to the ListRoutesTableSummary request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTableSummarySender

func (client ExpressRouteCircuitsClient) ListRoutesTableSummarySender(req *http.Request) (*http.Response, error)

ListRoutesTableSummarySender sends the ListRoutesTableSummary request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListSender

func (client ExpressRouteCircuitsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitsRoutesTableListResult

type ExpressRouteCircuitsRoutesTableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
	NextLink          *string                           `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsRoutesTableListResult is response for ListRoutesTable associated with the Express Route Circuits API.

type ExpressRouteCircuitsRoutesTableSummaryListResult

type ExpressRouteCircuitsRoutesTableSummaryListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteCircuitRoutesTableSummary `json:"value,omitempty"`
	NextLink          *string                                  `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsRoutesTableSummaryListResult is response for ListRoutesTable associated with the Express Route Circuits API.

type ExpressRouteServiceProvider

type ExpressRouteServiceProvider struct {
	ID                                           *string             `json:"id,omitempty"`
	Name                                         *string             `json:"name,omitempty"`
	Type                                         *string             `json:"type,omitempty"`
	Location                                     *string             `json:"location,omitempty"`
	Tags                                         *map[string]*string `json:"tags,omitempty"`
	*ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"`
}

ExpressRouteServiceProvider is a ExpressRouteResourceProvider object.

type ExpressRouteServiceProviderBandwidthsOffered

type ExpressRouteServiceProviderBandwidthsOffered struct {
	OfferName   *string `json:"offerName,omitempty"`
	ValueInMbps *int32  `json:"valueInMbps,omitempty"`
}

ExpressRouteServiceProviderBandwidthsOffered is contains bandwidths offered in ExpressRouteServiceProvider resources.

type ExpressRouteServiceProviderListResult

type ExpressRouteServiceProviderListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExpressRouteServiceProvider `json:"value,omitempty"`
	NextLink          *string                        `json:"nextLink,omitempty"`
}

ExpressRouteServiceProviderListResult is response for the ListExpressRouteServiceProvider API service call.

func (ExpressRouteServiceProviderListResult) ExpressRouteServiceProviderListResultPreparer

func (client ExpressRouteServiceProviderListResult) ExpressRouteServiceProviderListResultPreparer() (*http.Request, error)

ExpressRouteServiceProviderListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExpressRouteServiceProviderPropertiesFormat

type ExpressRouteServiceProviderPropertiesFormat struct {
	PeeringLocations  *[]string                                       `json:"peeringLocations,omitempty"`
	BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`
	ProvisioningState *string                                         `json:"provisioningState,omitempty"`
}

ExpressRouteServiceProviderPropertiesFormat is properties of ExpressRouteServiceProvider.

type ExpressRouteServiceProvidersClient

type ExpressRouteServiceProvidersClient struct {
	ManagementClient
}

ExpressRouteServiceProvidersClient is the network Client

func NewExpressRouteServiceProvidersClient

func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClient creates an instance of the ExpressRouteServiceProvidersClient client.

func NewExpressRouteServiceProvidersClientWithBaseURI

func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient client.

func (ExpressRouteServiceProvidersClient) List

List gets all the available express route service providers.

func (ExpressRouteServiceProvidersClient) ListComplete

func (client ExpressRouteServiceProvidersClient) ListComplete(cancel <-chan struct{}) (<-chan ExpressRouteServiceProvider, <-chan error)

ListComplete gets all elements from the list without paging.

func (ExpressRouteServiceProvidersClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (ExpressRouteServiceProvidersClient) ListPreparer

func (client ExpressRouteServiceProvidersClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteServiceProvidersClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteServiceProvidersClient) ListSender

func (client ExpressRouteServiceProvidersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type FlowLogInformation

type FlowLogInformation struct {
	autorest.Response  `json:"-"`
	TargetResourceID   *string `json:"targetResourceId,omitempty"`
	*FlowLogProperties `json:"properties,omitempty"`
}

FlowLogInformation is information on the configuration of flow log.

type FlowLogProperties

type FlowLogProperties struct {
	StorageID       *string                    `json:"storageId,omitempty"`
	Enabled         *bool                      `json:"enabled,omitempty"`
	RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"`
}

FlowLogProperties is parameters that define the configuration of flow log.

type FlowLogStatusParameters

type FlowLogStatusParameters struct {
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

FlowLogStatusParameters is parameters that define a resource to query flow log status.

type FrontendIPConfiguration

type FrontendIPConfiguration struct {
	autorest.Response                        `json:"-"`
	ID                                       *string `json:"id,omitempty"`
	*FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                     *string   `json:"name,omitempty"`
	Etag                                     *string   `json:"etag,omitempty"`
	Zones                                    *[]string `json:"zones,omitempty"`
}

FrontendIPConfiguration is frontend IP address of the load balancer.

type FrontendIPConfigurationPropertiesFormat

type FrontendIPConfigurationPropertiesFormat struct {
	InboundNatRules           *[]SubResource     `json:"inboundNatRules,omitempty"`
	InboundNatPools           *[]SubResource     `json:"inboundNatPools,omitempty"`
	OutboundNatRules          *[]SubResource     `json:"outboundNatRules,omitempty"`
	LoadBalancingRules        *[]SubResource     `json:"loadBalancingRules,omitempty"`
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *Subnet            `json:"subnet,omitempty"`
	PublicIPAddress           *PublicIPAddress   `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

FrontendIPConfigurationPropertiesFormat is properties of Frontend IP Configuration of the load balancer.

type GatewayRoute

type GatewayRoute struct {
	LocalAddress    *string `json:"localAddress,omitempty"`
	NetworkProperty *string `json:"network,omitempty"`
	NextHop         *string `json:"nextHop,omitempty"`
	SourcePeer      *string `json:"sourcePeer,omitempty"`
	Origin          *string `json:"origin,omitempty"`
	AsPath          *string `json:"asPath,omitempty"`
	Weight          *int32  `json:"weight,omitempty"`
}

GatewayRoute is gateway routing details

type GatewayRouteListResult

type GatewayRouteListResult struct {
	autorest.Response `json:"-"`
	Value             *[]GatewayRoute `json:"value,omitempty"`
}

GatewayRouteListResult is list of virtual network gateway routes

type IPAddressAvailabilityResult

type IPAddressAvailabilityResult struct {
	autorest.Response    `json:"-"`
	Available            *bool     `json:"available,omitempty"`
	AvailableIPAddresses *[]string `json:"availableIPAddresses,omitempty"`
}

IPAddressAvailabilityResult is response for CheckIPAddressAvailability API service call

type IPAllocationMethod

type IPAllocationMethod string

IPAllocationMethod enumerates the values for ip allocation method.

const (
	// Dynamic specifies the dynamic state for ip allocation method.
	Dynamic IPAllocationMethod = "Dynamic"
	// Static specifies the static state for ip allocation method.
	Static IPAllocationMethod = "Static"
)

type IPConfiguration

type IPConfiguration struct {
	ID                               *string `json:"id,omitempty"`
	*IPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                             *string `json:"name,omitempty"`
	Etag                             *string `json:"etag,omitempty"`
}

IPConfiguration is IP configuration

type IPConfigurationPropertiesFormat

type IPConfigurationPropertiesFormat struct {
	PrivateIPAddress          *string            `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *Subnet            `json:"subnet,omitempty"`
	PublicIPAddress           *PublicIPAddress   `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

IPConfigurationPropertiesFormat is properties of IP configuration.

type IPVersion

type IPVersion string

IPVersion enumerates the values for ip version.

const (
	// IPv4 specifies the i pv 4 state for ip version.
	IPv4 IPVersion = "IPv4"
	// IPv6 specifies the i pv 6 state for ip version.
	IPv6 IPVersion = "IPv6"
)

type IkeEncryption

type IkeEncryption string

IkeEncryption enumerates the values for ike encryption.

const (
	// AES128 specifies the aes128 state for ike encryption.
	AES128 IkeEncryption = "AES128"
	// AES192 specifies the aes192 state for ike encryption.
	AES192 IkeEncryption = "AES192"
	// AES256 specifies the aes256 state for ike encryption.
	AES256 IkeEncryption = "AES256"
	// DES specifies the des state for ike encryption.
	DES IkeEncryption = "DES"
	// DES3 specifies the des3 state for ike encryption.
	DES3 IkeEncryption = "DES3"
)

type IkeIntegrity

type IkeIntegrity string

IkeIntegrity enumerates the values for ike integrity.

const (
	// MD5 specifies the md5 state for ike integrity.
	MD5 IkeIntegrity = "MD5"
	// SHA1 specifies the sha1 state for ike integrity.
	SHA1 IkeIntegrity = "SHA1"
	// SHA256 specifies the sha256 state for ike integrity.
	SHA256 IkeIntegrity = "SHA256"
	// SHA384 specifies the sha384 state for ike integrity.
	SHA384 IkeIntegrity = "SHA384"
)

type InboundNatPool

type InboundNatPool struct {
	ID                              *string `json:"id,omitempty"`
	*InboundNatPoolPropertiesFormat `json:"properties,omitempty"`
	Name                            *string `json:"name,omitempty"`
	Etag                            *string `json:"etag,omitempty"`
}

InboundNatPool is inbound NAT pool of the load balancer.

type InboundNatPoolPropertiesFormat

type InboundNatPoolPropertiesFormat struct {
	FrontendIPConfiguration *SubResource      `json:"frontendIPConfiguration,omitempty"`
	Protocol                TransportProtocol `json:"protocol,omitempty"`
	FrontendPortRangeStart  *int32            `json:"frontendPortRangeStart,omitempty"`
	FrontendPortRangeEnd    *int32            `json:"frontendPortRangeEnd,omitempty"`
	BackendPort             *int32            `json:"backendPort,omitempty"`
	ProvisioningState       *string           `json:"provisioningState,omitempty"`
}

InboundNatPoolPropertiesFormat is properties of Inbound NAT pool.

type InboundNatRule

type InboundNatRule struct {
	autorest.Response               `json:"-"`
	ID                              *string `json:"id,omitempty"`
	*InboundNatRulePropertiesFormat `json:"properties,omitempty"`
	Name                            *string `json:"name,omitempty"`
	Etag                            *string `json:"etag,omitempty"`
}

InboundNatRule is inbound NAT rule of the load balancer.

type InboundNatRuleListResult

type InboundNatRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]InboundNatRule `json:"value,omitempty"`
	NextLink          *string           `json:"nextLink,omitempty"`
}

InboundNatRuleListResult is response for ListInboundNatRule API service call.

func (InboundNatRuleListResult) InboundNatRuleListResultPreparer

func (client InboundNatRuleListResult) InboundNatRuleListResultPreparer() (*http.Request, error)

InboundNatRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type InboundNatRulePropertiesFormat

type InboundNatRulePropertiesFormat struct {
	FrontendIPConfiguration *SubResource              `json:"frontendIPConfiguration,omitempty"`
	BackendIPConfiguration  *InterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"`
	Protocol                TransportProtocol         `json:"protocol,omitempty"`
	FrontendPort            *int32                    `json:"frontendPort,omitempty"`
	BackendPort             *int32                    `json:"backendPort,omitempty"`
	IdleTimeoutInMinutes    *int32                    `json:"idleTimeoutInMinutes,omitempty"`
	EnableFloatingIP        *bool                     `json:"enableFloatingIP,omitempty"`
	ProvisioningState       *string                   `json:"provisioningState,omitempty"`
}

InboundNatRulePropertiesFormat is properties of the inbound NAT rule.

type InboundNatRulesClient

type InboundNatRulesClient struct {
	ManagementClient
}

InboundNatRulesClient is the network Client

func NewInboundNatRulesClient

func NewInboundNatRulesClient(subscriptionID string) InboundNatRulesClient

NewInboundNatRulesClient creates an instance of the InboundNatRulesClient client.

func NewInboundNatRulesClientWithBaseURI

func NewInboundNatRulesClientWithBaseURI(baseURI string, subscriptionID string) InboundNatRulesClient

NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient client.

func (InboundNatRulesClient) CreateOrUpdate

func (client InboundNatRulesClient) CreateOrUpdate(resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule, cancel <-chan struct{}) (<-chan InboundNatRule, <-chan error)

CreateOrUpdate creates or updates a load balancer inbound nat rule. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. inboundNatRuleName is the name of the inbound nat rule. inboundNatRuleParameters is parameters supplied to the create or update inbound nat rule operation.

func (InboundNatRulesClient) CreateOrUpdatePreparer

func (client InboundNatRulesClient) CreateOrUpdatePreparer(resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InboundNatRulesClient) CreateOrUpdateResponder

func (client InboundNatRulesClient) CreateOrUpdateResponder(resp *http.Response) (result InboundNatRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (InboundNatRulesClient) CreateOrUpdateSender

func (client InboundNatRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (InboundNatRulesClient) Delete

func (client InboundNatRulesClient) Delete(resourceGroupName string, loadBalancerName string, inboundNatRuleName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified load balancer inbound nat rule. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. inboundNatRuleName is the name of the inbound nat rule.

func (InboundNatRulesClient) DeletePreparer

func (client InboundNatRulesClient) DeletePreparer(resourceGroupName string, loadBalancerName string, inboundNatRuleName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (InboundNatRulesClient) DeleteResponder

func (client InboundNatRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (InboundNatRulesClient) DeleteSender

func (client InboundNatRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (InboundNatRulesClient) Get

func (client InboundNatRulesClient) Get(resourceGroupName string, loadBalancerName string, inboundNatRuleName string, expand string) (result InboundNatRule, err error)

Get gets the specified load balancer inbound nat rule.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. inboundNatRuleName is the name of the inbound nat rule. expand is expands referenced resources.

func (InboundNatRulesClient) GetPreparer

func (client InboundNatRulesClient) GetPreparer(resourceGroupName string, loadBalancerName string, inboundNatRuleName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InboundNatRulesClient) GetResponder

func (client InboundNatRulesClient) GetResponder(resp *http.Response) (result InboundNatRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (InboundNatRulesClient) GetSender

func (client InboundNatRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InboundNatRulesClient) List

func (client InboundNatRulesClient) List(resourceGroupName string, loadBalancerName string) (result InboundNatRuleListResult, err error)

List gets all the inbound nat rules in a load balancer.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (InboundNatRulesClient) ListComplete

func (client InboundNatRulesClient) ListComplete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan InboundNatRule, <-chan error)

ListComplete gets all elements from the list without paging.

func (InboundNatRulesClient) ListNextResults

func (client InboundNatRulesClient) ListNextResults(lastResults InboundNatRuleListResult) (result InboundNatRuleListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (InboundNatRulesClient) ListPreparer

func (client InboundNatRulesClient) ListPreparer(resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (InboundNatRulesClient) ListResponder

func (client InboundNatRulesClient) ListResponder(resp *http.Response) (result InboundNatRuleListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InboundNatRulesClient) ListSender

func (client InboundNatRulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Interface

type Interface struct {
	autorest.Response          `json:"-"`
	ID                         *string             `json:"id,omitempty"`
	Name                       *string             `json:"name,omitempty"`
	Type                       *string             `json:"type,omitempty"`
	Location                   *string             `json:"location,omitempty"`
	Tags                       *map[string]*string `json:"tags,omitempty"`
	*InterfacePropertiesFormat `json:"properties,omitempty"`
	Etag                       *string `json:"etag,omitempty"`
}

Interface is a network interface in a resource group.

type InterfaceAssociation

type InterfaceAssociation struct {
	ID            *string         `json:"id,omitempty"`
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
}

InterfaceAssociation is network interface and its custom security rules.

type InterfaceDNSSettings

type InterfaceDNSSettings struct {
	DNSServers               *[]string `json:"dnsServers,omitempty"`
	AppliedDNSServers        *[]string `json:"appliedDnsServers,omitempty"`
	InternalDNSNameLabel     *string   `json:"internalDnsNameLabel,omitempty"`
	InternalFqdn             *string   `json:"internalFqdn,omitempty"`
	InternalDomainNameSuffix *string   `json:"internalDomainNameSuffix,omitempty"`
}

InterfaceDNSSettings is DNS settings of a network interface.

type InterfaceIPConfiguration

type InterfaceIPConfiguration struct {
	autorest.Response                         `json:"-"`
	ID                                        *string `json:"id,omitempty"`
	*InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                      *string `json:"name,omitempty"`
	Etag                                      *string `json:"etag,omitempty"`
}

InterfaceIPConfiguration is iPConfiguration in a network interface.

type InterfaceIPConfigurationListResult

type InterfaceIPConfigurationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]InterfaceIPConfiguration `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

InterfaceIPConfigurationListResult is response for list ip configurations API service call.

func (InterfaceIPConfigurationListResult) InterfaceIPConfigurationListResultPreparer

func (client InterfaceIPConfigurationListResult) InterfaceIPConfigurationListResultPreparer() (*http.Request, error)

InterfaceIPConfigurationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type InterfaceIPConfigurationPropertiesFormat

type InterfaceIPConfigurationPropertiesFormat struct {
	ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"`
	LoadBalancerBackendAddressPools       *[]BackendAddressPool                   `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatRules           *[]InboundNatRule                       `json:"loadBalancerInboundNatRules,omitempty"`
	PrivateIPAddress                      *string                                 `json:"privateIPAddress,omitempty"`
	PrivateIPAllocationMethod             IPAllocationMethod                      `json:"privateIPAllocationMethod,omitempty"`
	PrivateIPAddressVersion               IPVersion                               `json:"privateIPAddressVersion,omitempty"`
	Subnet                                *Subnet                                 `json:"subnet,omitempty"`
	Primary                               *bool                                   `json:"primary,omitempty"`
	PublicIPAddress                       *PublicIPAddress                        `json:"publicIPAddress,omitempty"`
	ApplicationSecurityGroups             *[]ApplicationSecurityGroup             `json:"applicationSecurityGroups,omitempty"`
	ProvisioningState                     *string                                 `json:"provisioningState,omitempty"`
}

InterfaceIPConfigurationPropertiesFormat is properties of IP configuration.

type InterfaceIPConfigurationsClient

type InterfaceIPConfigurationsClient struct {
	ManagementClient
}

InterfaceIPConfigurationsClient is the network Client

func NewInterfaceIPConfigurationsClient

func NewInterfaceIPConfigurationsClient(subscriptionID string) InterfaceIPConfigurationsClient

NewInterfaceIPConfigurationsClient creates an instance of the InterfaceIPConfigurationsClient client.

func NewInterfaceIPConfigurationsClientWithBaseURI

func NewInterfaceIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceIPConfigurationsClient

NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient client.

func (InterfaceIPConfigurationsClient) Get

func (client InterfaceIPConfigurationsClient) Get(resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (result InterfaceIPConfiguration, err error)

Get gets the specified network interface ip configuration.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. IPConfigurationName is the name of the ip configuration name.

func (InterfaceIPConfigurationsClient) GetPreparer

func (client InterfaceIPConfigurationsClient) GetPreparer(resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InterfaceIPConfigurationsClient) GetResponder

func (client InterfaceIPConfigurationsClient) GetResponder(resp *http.Response) (result InterfaceIPConfiguration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (InterfaceIPConfigurationsClient) GetSender

func (client InterfaceIPConfigurationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InterfaceIPConfigurationsClient) List

func (client InterfaceIPConfigurationsClient) List(resourceGroupName string, networkInterfaceName string) (result InterfaceIPConfigurationListResult, err error)

List get all ip configurations in a network interface

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface.

func (InterfaceIPConfigurationsClient) ListComplete

func (client InterfaceIPConfigurationsClient) ListComplete(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (<-chan InterfaceIPConfiguration, <-chan error)

ListComplete gets all elements from the list without paging.

func (InterfaceIPConfigurationsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (InterfaceIPConfigurationsClient) ListPreparer

func (client InterfaceIPConfigurationsClient) ListPreparer(resourceGroupName string, networkInterfaceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (InterfaceIPConfigurationsClient) ListResponder

func (client InterfaceIPConfigurationsClient) ListResponder(resp *http.Response) (result InterfaceIPConfigurationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InterfaceIPConfigurationsClient) ListSender

func (client InterfaceIPConfigurationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type InterfaceListResult

type InterfaceListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Interface `json:"value,omitempty"`
	NextLink          *string      `json:"nextLink,omitempty"`
}

InterfaceListResult is response for the ListNetworkInterface API service call.

func (InterfaceListResult) InterfaceListResultPreparer

func (client InterfaceListResult) InterfaceListResultPreparer() (*http.Request, error)

InterfaceListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type InterfaceLoadBalancerListResult

type InterfaceLoadBalancerListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LoadBalancer `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

InterfaceLoadBalancerListResult is response for list ip configurations API service call.

func (InterfaceLoadBalancerListResult) InterfaceLoadBalancerListResultPreparer

func (client InterfaceLoadBalancerListResult) InterfaceLoadBalancerListResultPreparer() (*http.Request, error)

InterfaceLoadBalancerListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type InterfaceLoadBalancersClient

type InterfaceLoadBalancersClient struct {
	ManagementClient
}

InterfaceLoadBalancersClient is the network Client

func NewInterfaceLoadBalancersClient

func NewInterfaceLoadBalancersClient(subscriptionID string) InterfaceLoadBalancersClient

NewInterfaceLoadBalancersClient creates an instance of the InterfaceLoadBalancersClient client.

func NewInterfaceLoadBalancersClientWithBaseURI

func NewInterfaceLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) InterfaceLoadBalancersClient

NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient client.

func (InterfaceLoadBalancersClient) List

func (client InterfaceLoadBalancersClient) List(resourceGroupName string, networkInterfaceName string) (result InterfaceLoadBalancerListResult, err error)

List list all load balancers in a network interface.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface.

func (InterfaceLoadBalancersClient) ListComplete

func (client InterfaceLoadBalancersClient) ListComplete(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (<-chan LoadBalancer, <-chan error)

ListComplete gets all elements from the list without paging.

func (InterfaceLoadBalancersClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (InterfaceLoadBalancersClient) ListPreparer

func (client InterfaceLoadBalancersClient) ListPreparer(resourceGroupName string, networkInterfaceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (InterfaceLoadBalancersClient) ListResponder

func (client InterfaceLoadBalancersClient) ListResponder(resp *http.Response) (result InterfaceLoadBalancerListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InterfaceLoadBalancersClient) ListSender

func (client InterfaceLoadBalancersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type InterfacePropertiesFormat

type InterfacePropertiesFormat struct {
	VirtualMachine              *SubResource                `json:"virtualMachine,omitempty"`
	NetworkSecurityGroup        *SecurityGroup              `json:"networkSecurityGroup,omitempty"`
	IPConfigurations            *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
	DNSSettings                 *InterfaceDNSSettings       `json:"dnsSettings,omitempty"`
	MacAddress                  *string                     `json:"macAddress,omitempty"`
	Primary                     *bool                       `json:"primary,omitempty"`
	EnableAcceleratedNetworking *bool                       `json:"enableAcceleratedNetworking,omitempty"`
	EnableIPForwarding          *bool                       `json:"enableIPForwarding,omitempty"`
	ResourceGUID                *string                     `json:"resourceGuid,omitempty"`
	ProvisioningState           *string                     `json:"provisioningState,omitempty"`
}

InterfacePropertiesFormat is networkInterface properties.

type InterfacesClient

type InterfacesClient struct {
	ManagementClient
}

InterfacesClient is the network Client

func NewInterfacesClient

func NewInterfacesClient(subscriptionID string) InterfacesClient

NewInterfacesClient creates an instance of the InterfacesClient client.

func NewInterfacesClientWithBaseURI

func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient

NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client.

func (InterfacesClient) CreateOrUpdate

func (client InterfacesClient) CreateOrUpdate(resourceGroupName string, networkInterfaceName string, parameters Interface, cancel <-chan struct{}) (<-chan Interface, <-chan error)

CreateOrUpdate creates or updates a network interface. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. parameters is parameters supplied to the create or update network interface operation.

func (InterfacesClient) CreateOrUpdatePreparer

func (client InterfacesClient) CreateOrUpdatePreparer(resourceGroupName string, networkInterfaceName string, parameters Interface, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InterfacesClient) CreateOrUpdateResponder

func (client InterfacesClient) CreateOrUpdateResponder(resp *http.Response) (result Interface, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (InterfacesClient) CreateOrUpdateSender

func (client InterfacesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) Delete

func (client InterfacesClient) Delete(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified network interface. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface.

func (InterfacesClient) DeletePreparer

func (client InterfacesClient) DeletePreparer(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (InterfacesClient) DeleteResponder

func (client InterfacesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (InterfacesClient) DeleteSender

func (client InterfacesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) Get

func (client InterfacesClient) Get(resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error)

Get gets information about the specified network interface.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface. expand is expands referenced resources.

func (InterfacesClient) GetEffectiveRouteTable

func (client InterfacesClient) GetEffectiveRouteTable(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (<-chan EffectiveRouteListResult, <-chan error)

GetEffectiveRouteTable gets all route tables applied to a network interface. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface.

func (InterfacesClient) GetEffectiveRouteTablePreparer

func (client InterfacesClient) GetEffectiveRouteTablePreparer(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (*http.Request, error)

GetEffectiveRouteTablePreparer prepares the GetEffectiveRouteTable request.

func (InterfacesClient) GetEffectiveRouteTableResponder

func (client InterfacesClient) GetEffectiveRouteTableResponder(resp *http.Response) (result EffectiveRouteListResult, err error)

GetEffectiveRouteTableResponder handles the response to the GetEffectiveRouteTable request. The method always closes the http.Response Body.

func (InterfacesClient) GetEffectiveRouteTableSender

func (client InterfacesClient) GetEffectiveRouteTableSender(req *http.Request) (*http.Response, error)

GetEffectiveRouteTableSender sends the GetEffectiveRouteTable request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) GetPreparer

func (client InterfacesClient) GetPreparer(resourceGroupName string, networkInterfaceName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InterfacesClient) GetResponder

func (client InterfacesClient) GetResponder(resp *http.Response) (result Interface, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (InterfacesClient) GetSender

func (client InterfacesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterface

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result Interface, err error)

GetVirtualMachineScaleSetNetworkInterface get the specified network interface in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the network interface. expand is expands referenced resources.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (*http.Request, error)

GetVirtualMachineScaleSetNetworkInterfacePreparer prepares the GetVirtualMachineScaleSetNetworkInterface request.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceResponder(resp *http.Response) (result Interface, err error)

GetVirtualMachineScaleSetNetworkInterfaceResponder handles the response to the GetVirtualMachineScaleSetNetworkInterface request. The method always closes the http.Response Body.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfaceSender(req *http.Request) (*http.Response, error)

GetVirtualMachineScaleSetNetworkInterfaceSender sends the GetVirtualMachineScaleSetNetworkInterface request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) List

func (client InterfacesClient) List(resourceGroupName string) (result InterfaceListResult, err error)

List gets all network interfaces in a resource group.

resourceGroupName is the name of the resource group.

func (InterfacesClient) ListAll

func (client InterfacesClient) ListAll() (result InterfaceListResult, err error)

ListAll gets all network interfaces in a subscription.

func (InterfacesClient) ListAllComplete

func (client InterfacesClient) ListAllComplete(cancel <-chan struct{}) (<-chan Interface, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (InterfacesClient) ListAllNextResults

func (client InterfacesClient) ListAllNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListAllPreparer

func (client InterfacesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (InterfacesClient) ListAllResponder

func (client InterfacesClient) ListAllResponder(resp *http.Response) (result InterfaceListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (InterfacesClient) ListAllSender

func (client InterfacesClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) ListComplete

func (client InterfacesClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Interface, <-chan error)

ListComplete gets all elements from the list without paging.

func (InterfacesClient) ListEffectiveNetworkSecurityGroups

func (client InterfacesClient) ListEffectiveNetworkSecurityGroups(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (<-chan EffectiveNetworkSecurityGroupListResult, <-chan error)

ListEffectiveNetworkSecurityGroups gets all network security groups applied to a network interface. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkInterfaceName is the name of the network interface.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer(resourceGroupName string, networkInterfaceName string, cancel <-chan struct{}) (*http.Request, error)

ListEffectiveNetworkSecurityGroupsPreparer prepares the ListEffectiveNetworkSecurityGroups request.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsResponder

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsResponder(resp *http.Response) (result EffectiveNetworkSecurityGroupListResult, err error)

ListEffectiveNetworkSecurityGroupsResponder handles the response to the ListEffectiveNetworkSecurityGroups request. The method always closes the http.Response Body.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsSender

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsSender(req *http.Request) (*http.Response, error)

ListEffectiveNetworkSecurityGroupsSender sends the ListEffectiveNetworkSecurityGroups request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) ListNextResults

func (client InterfacesClient) ListNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListPreparer

func (client InterfacesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (InterfacesClient) ListResponder

func (client InterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (InterfacesClient) ListSender

func (client InterfacesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetNetworkInterfaces gets all network interfaces in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete(resourceGroupName string, virtualMachineScaleSetName string, cancel <-chan struct{}) (<-chan Interface, <-chan error)

ListVirtualMachineScaleSetNetworkInterfacesComplete gets all elements from the list without paging.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesNextResults

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetNetworkInterfacesNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer(resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)

ListVirtualMachineScaleSetNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetNetworkInterfaces request.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetNetworkInterfaces request. The method always closes the http.Response Body.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesSender(req *http.Request) (*http.Response, error)

ListVirtualMachineScaleSetNetworkInterfacesSender sends the ListVirtualMachineScaleSetNetworkInterfaces request. The method will close the http.Response Body if it receives an error.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfaces(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetVMNetworkInterfaces gets information about all network interfaces in a virtual machine in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set. virtualmachineIndex is the virtual machine index.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, cancel <-chan struct{}) (<-chan Interface, <-chan error)

ListVirtualMachineScaleSetVMNetworkInterfacesComplete gets all elements from the list without paging.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesNextResults

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetVMNetworkInterfacesNextResults retrieves the next set of results, if any.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (*http.Request, error)

ListVirtualMachineScaleSetVMNetworkInterfacesPreparer prepares the ListVirtualMachineScaleSetVMNetworkInterfaces request.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesResponder(resp *http.Response) (result InterfaceListResult, err error)

ListVirtualMachineScaleSetVMNetworkInterfacesResponder handles the response to the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method always closes the http.Response Body.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesSender(req *http.Request) (*http.Response, error)

ListVirtualMachineScaleSetVMNetworkInterfacesSender sends the ListVirtualMachineScaleSetVMNetworkInterfaces request. The method will close the http.Response Body if it receives an error.

type IpsecEncryption

type IpsecEncryption string

IpsecEncryption enumerates the values for ipsec encryption.

const (
	// IpsecEncryptionAES128 specifies the ipsec encryption aes128 state for ipsec encryption.
	IpsecEncryptionAES128 IpsecEncryption = "AES128"
	// IpsecEncryptionAES192 specifies the ipsec encryption aes192 state for ipsec encryption.
	IpsecEncryptionAES192 IpsecEncryption = "AES192"
	// IpsecEncryptionAES256 specifies the ipsec encryption aes256 state for ipsec encryption.
	IpsecEncryptionAES256 IpsecEncryption = "AES256"
	// IpsecEncryptionDES specifies the ipsec encryption des state for ipsec encryption.
	IpsecEncryptionDES IpsecEncryption = "DES"
	// IpsecEncryptionDES3 specifies the ipsec encryption des3 state for ipsec encryption.
	IpsecEncryptionDES3 IpsecEncryption = "DES3"
	// IpsecEncryptionGCMAES128 specifies the ipsec encryption gcmaes128 state for ipsec encryption.
	IpsecEncryptionGCMAES128 IpsecEncryption = "GCMAES128"
	// IpsecEncryptionGCMAES192 specifies the ipsec encryption gcmaes192 state for ipsec encryption.
	IpsecEncryptionGCMAES192 IpsecEncryption = "GCMAES192"
	// IpsecEncryptionGCMAES256 specifies the ipsec encryption gcmaes256 state for ipsec encryption.
	IpsecEncryptionGCMAES256 IpsecEncryption = "GCMAES256"
	// IpsecEncryptionNone specifies the ipsec encryption none state for ipsec encryption.
	IpsecEncryptionNone IpsecEncryption = "None"
)

type IpsecIntegrity

type IpsecIntegrity string

IpsecIntegrity enumerates the values for ipsec integrity.

const (
	// IpsecIntegrityGCMAES128 specifies the ipsec integrity gcmaes128 state for ipsec integrity.
	IpsecIntegrityGCMAES128 IpsecIntegrity = "GCMAES128"
	// IpsecIntegrityGCMAES192 specifies the ipsec integrity gcmaes192 state for ipsec integrity.
	IpsecIntegrityGCMAES192 IpsecIntegrity = "GCMAES192"
	// IpsecIntegrityGCMAES256 specifies the ipsec integrity gcmaes256 state for ipsec integrity.
	IpsecIntegrityGCMAES256 IpsecIntegrity = "GCMAES256"
	// IpsecIntegrityMD5 specifies the ipsec integrity md5 state for ipsec integrity.
	IpsecIntegrityMD5 IpsecIntegrity = "MD5"
	// IpsecIntegritySHA1 specifies the ipsec integrity sha1 state for ipsec integrity.
	IpsecIntegritySHA1 IpsecIntegrity = "SHA1"
	// IpsecIntegritySHA256 specifies the ipsec integrity sha256 state for ipsec integrity.
	IpsecIntegritySHA256 IpsecIntegrity = "SHA256"
)

type IpsecPolicy

type IpsecPolicy struct {
	SaLifeTimeSeconds   *int32          `json:"saLifeTimeSeconds,omitempty"`
	SaDataSizeKilobytes *int32          `json:"saDataSizeKilobytes,omitempty"`
	IpsecEncryption     IpsecEncryption `json:"ipsecEncryption,omitempty"`
	IpsecIntegrity      IpsecIntegrity  `json:"ipsecIntegrity,omitempty"`
	IkeEncryption       IkeEncryption   `json:"ikeEncryption,omitempty"`
	IkeIntegrity        IkeIntegrity    `json:"ikeIntegrity,omitempty"`
	DhGroup             DhGroup         `json:"dhGroup,omitempty"`
	PfsGroup            PfsGroup        `json:"pfsGroup,omitempty"`
}

IpsecPolicy is an IPSec Policy configuration for a virtual network gateway connection

type Ipv6ExpressRouteCircuitPeeringConfig

type Ipv6ExpressRouteCircuitPeeringConfig struct {
	PrimaryPeerAddressPrefix   *string                           `json:"primaryPeerAddressPrefix,omitempty"`
	SecondaryPeerAddressPrefix *string                           `json:"secondaryPeerAddressPrefix,omitempty"`
	MicrosoftPeeringConfig     *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	RouteFilter                *RouteFilter                      `json:"routeFilter,omitempty"`
	State                      ExpressRouteCircuitPeeringState   `json:"state,omitempty"`
}

Ipv6ExpressRouteCircuitPeeringConfig is contains IPv6 peering config.

type IssueType

type IssueType string

IssueType enumerates the values for issue type.

const (
	// IssueTypeAgentStopped specifies the issue type agent stopped state for issue type.
	IssueTypeAgentStopped IssueType = "AgentStopped"
	// IssueTypeDNSResolution specifies the issue type dns resolution state for issue type.
	IssueTypeDNSResolution IssueType = "DnsResolution"
	// IssueTypeGuestFirewall specifies the issue type guest firewall state for issue type.
	IssueTypeGuestFirewall IssueType = "GuestFirewall"
	// IssueTypeNetworkSecurityRule specifies the issue type network security rule state for issue type.
	IssueTypeNetworkSecurityRule IssueType = "NetworkSecurityRule"
	// IssueTypePlatform specifies the issue type platform state for issue type.
	IssueTypePlatform IssueType = "Platform"
	// IssueTypePortThrottled specifies the issue type port throttled state for issue type.
	IssueTypePortThrottled IssueType = "PortThrottled"
	// IssueTypeSocketBind specifies the issue type socket bind state for issue type.
	IssueTypeSocketBind IssueType = "SocketBind"
	// IssueTypeUnknown specifies the issue type unknown state for issue type.
	IssueTypeUnknown IssueType = "Unknown"
	// IssueTypeUserDefinedRoute specifies the issue type user defined route state for issue type.
	IssueTypeUserDefinedRoute IssueType = "UserDefinedRoute"
)

type LoadBalancer

type LoadBalancer struct {
	autorest.Response             `json:"-"`
	ID                            *string             `json:"id,omitempty"`
	Name                          *string             `json:"name,omitempty"`
	Type                          *string             `json:"type,omitempty"`
	Location                      *string             `json:"location,omitempty"`
	Tags                          *map[string]*string `json:"tags,omitempty"`
	Sku                           *LoadBalancerSku    `json:"sku,omitempty"`
	*LoadBalancerPropertiesFormat `json:"properties,omitempty"`
	Etag                          *string `json:"etag,omitempty"`
}

LoadBalancer is loadBalancer resource

type LoadBalancerBackendAddressPoolListResult

type LoadBalancerBackendAddressPoolListResult struct {
	autorest.Response `json:"-"`
	Value             *[]BackendAddressPool `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

LoadBalancerBackendAddressPoolListResult is response for ListBackendAddressPool API service call.

func (LoadBalancerBackendAddressPoolListResult) LoadBalancerBackendAddressPoolListResultPreparer

func (client LoadBalancerBackendAddressPoolListResult) LoadBalancerBackendAddressPoolListResultPreparer() (*http.Request, error)

LoadBalancerBackendAddressPoolListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LoadBalancerBackendAddressPoolsClient

type LoadBalancerBackendAddressPoolsClient struct {
	ManagementClient
}

LoadBalancerBackendAddressPoolsClient is the network Client

func NewLoadBalancerBackendAddressPoolsClient

func NewLoadBalancerBackendAddressPoolsClient(subscriptionID string) LoadBalancerBackendAddressPoolsClient

NewLoadBalancerBackendAddressPoolsClient creates an instance of the LoadBalancerBackendAddressPoolsClient client.

func NewLoadBalancerBackendAddressPoolsClientWithBaseURI

func NewLoadBalancerBackendAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerBackendAddressPoolsClient

NewLoadBalancerBackendAddressPoolsClientWithBaseURI creates an instance of the LoadBalancerBackendAddressPoolsClient client.

func (LoadBalancerBackendAddressPoolsClient) Get

func (client LoadBalancerBackendAddressPoolsClient) Get(resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (result BackendAddressPool, err error)

Get gets load balancer backend address pool.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. backendAddressPoolName is the name of the backend address pool.

func (LoadBalancerBackendAddressPoolsClient) GetPreparer

func (client LoadBalancerBackendAddressPoolsClient) GetPreparer(resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancerBackendAddressPoolsClient) GetResponder

func (client LoadBalancerBackendAddressPoolsClient) GetResponder(resp *http.Response) (result BackendAddressPool, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LoadBalancerBackendAddressPoolsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LoadBalancerBackendAddressPoolsClient) List

func (client LoadBalancerBackendAddressPoolsClient) List(resourceGroupName string, loadBalancerName string) (result LoadBalancerBackendAddressPoolListResult, err error)

List gets all the load balancer backed address pools.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (LoadBalancerBackendAddressPoolsClient) ListComplete

func (client LoadBalancerBackendAddressPoolsClient) ListComplete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan BackendAddressPool, <-chan error)

ListComplete gets all elements from the list without paging.

func (LoadBalancerBackendAddressPoolsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (LoadBalancerBackendAddressPoolsClient) ListPreparer

func (client LoadBalancerBackendAddressPoolsClient) ListPreparer(resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancerBackendAddressPoolsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LoadBalancerBackendAddressPoolsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LoadBalancerFrontendIPConfigurationListResult

type LoadBalancerFrontendIPConfigurationListResult struct {
	autorest.Response `json:"-"`
	Value             *[]FrontendIPConfiguration `json:"value,omitempty"`
	NextLink          *string                    `json:"nextLink,omitempty"`
}

LoadBalancerFrontendIPConfigurationListResult is response for ListFrontendIPConfiguration API service call.

func (LoadBalancerFrontendIPConfigurationListResult) LoadBalancerFrontendIPConfigurationListResultPreparer

func (client LoadBalancerFrontendIPConfigurationListResult) LoadBalancerFrontendIPConfigurationListResultPreparer() (*http.Request, error)

LoadBalancerFrontendIPConfigurationListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LoadBalancerFrontendIPConfigurationsClient

type LoadBalancerFrontendIPConfigurationsClient struct {
	ManagementClient
}

LoadBalancerFrontendIPConfigurationsClient is the network Client

func NewLoadBalancerFrontendIPConfigurationsClient

func NewLoadBalancerFrontendIPConfigurationsClient(subscriptionID string) LoadBalancerFrontendIPConfigurationsClient

NewLoadBalancerFrontendIPConfigurationsClient creates an instance of the LoadBalancerFrontendIPConfigurationsClient client.

func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI

func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerFrontendIPConfigurationsClient

NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI creates an instance of the LoadBalancerFrontendIPConfigurationsClient client.

func (LoadBalancerFrontendIPConfigurationsClient) Get

func (client LoadBalancerFrontendIPConfigurationsClient) Get(resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (result FrontendIPConfiguration, err error)

Get gets load balancer frontend IP configuration.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. frontendIPConfigurationName is the name of the frontend IP configuration.

func (LoadBalancerFrontendIPConfigurationsClient) GetPreparer

func (client LoadBalancerFrontendIPConfigurationsClient) GetPreparer(resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancerFrontendIPConfigurationsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LoadBalancerFrontendIPConfigurationsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LoadBalancerFrontendIPConfigurationsClient) List

func (client LoadBalancerFrontendIPConfigurationsClient) List(resourceGroupName string, loadBalancerName string) (result LoadBalancerFrontendIPConfigurationListResult, err error)

List gets all the load balancer frontend IP configurations.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (LoadBalancerFrontendIPConfigurationsClient) ListComplete

func (client LoadBalancerFrontendIPConfigurationsClient) ListComplete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan FrontendIPConfiguration, <-chan error)

ListComplete gets all elements from the list without paging.

func (LoadBalancerFrontendIPConfigurationsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (LoadBalancerFrontendIPConfigurationsClient) ListPreparer

func (client LoadBalancerFrontendIPConfigurationsClient) ListPreparer(resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancerFrontendIPConfigurationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LoadBalancerFrontendIPConfigurationsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LoadBalancerListResult

type LoadBalancerListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LoadBalancer `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

LoadBalancerListResult is response for ListLoadBalancers API service call.

func (LoadBalancerListResult) LoadBalancerListResultPreparer

func (client LoadBalancerListResult) LoadBalancerListResultPreparer() (*http.Request, error)

LoadBalancerListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LoadBalancerLoadBalancingRuleListResult

type LoadBalancerLoadBalancingRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LoadBalancingRule `json:"value,omitempty"`
	NextLink          *string              `json:"nextLink,omitempty"`
}

LoadBalancerLoadBalancingRuleListResult is response for ListLoadBalancingRule API service call.

func (LoadBalancerLoadBalancingRuleListResult) LoadBalancerLoadBalancingRuleListResultPreparer

func (client LoadBalancerLoadBalancingRuleListResult) LoadBalancerLoadBalancingRuleListResultPreparer() (*http.Request, error)

LoadBalancerLoadBalancingRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LoadBalancerLoadBalancingRulesClient

type LoadBalancerLoadBalancingRulesClient struct {
	ManagementClient
}

LoadBalancerLoadBalancingRulesClient is the network Client

func NewLoadBalancerLoadBalancingRulesClient

func NewLoadBalancerLoadBalancingRulesClient(subscriptionID string) LoadBalancerLoadBalancingRulesClient

NewLoadBalancerLoadBalancingRulesClient creates an instance of the LoadBalancerLoadBalancingRulesClient client.

func NewLoadBalancerLoadBalancingRulesClientWithBaseURI

func NewLoadBalancerLoadBalancingRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerLoadBalancingRulesClient

NewLoadBalancerLoadBalancingRulesClientWithBaseURI creates an instance of the LoadBalancerLoadBalancingRulesClient client.

func (LoadBalancerLoadBalancingRulesClient) Get

func (client LoadBalancerLoadBalancingRulesClient) Get(resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (result LoadBalancingRule, err error)

Get gets the specified load balancer load balancing rule.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. loadBalancingRuleName is the name of the load balancing rule.

func (LoadBalancerLoadBalancingRulesClient) GetPreparer

func (client LoadBalancerLoadBalancingRulesClient) GetPreparer(resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancerLoadBalancingRulesClient) GetResponder

func (client LoadBalancerLoadBalancingRulesClient) GetResponder(resp *http.Response) (result LoadBalancingRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LoadBalancerLoadBalancingRulesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LoadBalancerLoadBalancingRulesClient) List

func (client LoadBalancerLoadBalancingRulesClient) List(resourceGroupName string, loadBalancerName string) (result LoadBalancerLoadBalancingRuleListResult, err error)

List gets all the load balancing rules in a load balancer.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (LoadBalancerLoadBalancingRulesClient) ListComplete

func (client LoadBalancerLoadBalancingRulesClient) ListComplete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan LoadBalancingRule, <-chan error)

ListComplete gets all elements from the list without paging.

func (LoadBalancerLoadBalancingRulesClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (LoadBalancerLoadBalancingRulesClient) ListPreparer

func (client LoadBalancerLoadBalancingRulesClient) ListPreparer(resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancerLoadBalancingRulesClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LoadBalancerLoadBalancingRulesClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LoadBalancerNetworkInterfacesClient

type LoadBalancerNetworkInterfacesClient struct {
	ManagementClient
}

LoadBalancerNetworkInterfacesClient is the network Client

func NewLoadBalancerNetworkInterfacesClient

func NewLoadBalancerNetworkInterfacesClient(subscriptionID string) LoadBalancerNetworkInterfacesClient

NewLoadBalancerNetworkInterfacesClient creates an instance of the LoadBalancerNetworkInterfacesClient client.

func NewLoadBalancerNetworkInterfacesClientWithBaseURI

func NewLoadBalancerNetworkInterfacesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerNetworkInterfacesClient

NewLoadBalancerNetworkInterfacesClientWithBaseURI creates an instance of the LoadBalancerNetworkInterfacesClient client.

func (LoadBalancerNetworkInterfacesClient) List

func (client LoadBalancerNetworkInterfacesClient) List(resourceGroupName string, loadBalancerName string) (result InterfaceListResult, err error)

List gets associated load balancer network interfaces.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (LoadBalancerNetworkInterfacesClient) ListComplete

func (client LoadBalancerNetworkInterfacesClient) ListComplete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan Interface, <-chan error)

ListComplete gets all elements from the list without paging.

func (LoadBalancerNetworkInterfacesClient) ListNextResults

func (client LoadBalancerNetworkInterfacesClient) ListNextResults(lastResults InterfaceListResult) (result InterfaceListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (LoadBalancerNetworkInterfacesClient) ListPreparer

func (client LoadBalancerNetworkInterfacesClient) ListPreparer(resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancerNetworkInterfacesClient) ListResponder

func (client LoadBalancerNetworkInterfacesClient) ListResponder(resp *http.Response) (result InterfaceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LoadBalancerNetworkInterfacesClient) ListSender

func (client LoadBalancerNetworkInterfacesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LoadBalancerProbeListResult

type LoadBalancerProbeListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Probe `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

LoadBalancerProbeListResult is response for ListProbe API service call.

func (LoadBalancerProbeListResult) LoadBalancerProbeListResultPreparer

func (client LoadBalancerProbeListResult) LoadBalancerProbeListResultPreparer() (*http.Request, error)

LoadBalancerProbeListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LoadBalancerProbesClient

type LoadBalancerProbesClient struct {
	ManagementClient
}

LoadBalancerProbesClient is the network Client

func NewLoadBalancerProbesClient

func NewLoadBalancerProbesClient(subscriptionID string) LoadBalancerProbesClient

NewLoadBalancerProbesClient creates an instance of the LoadBalancerProbesClient client.

func NewLoadBalancerProbesClientWithBaseURI

func NewLoadBalancerProbesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerProbesClient

NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient client.

func (LoadBalancerProbesClient) Get

func (client LoadBalancerProbesClient) Get(resourceGroupName string, loadBalancerName string, probeName string) (result Probe, err error)

Get gets load balancer probe.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. probeName is the name of the probe.

func (LoadBalancerProbesClient) GetPreparer

func (client LoadBalancerProbesClient) GetPreparer(resourceGroupName string, loadBalancerName string, probeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancerProbesClient) GetResponder

func (client LoadBalancerProbesClient) GetResponder(resp *http.Response) (result Probe, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LoadBalancerProbesClient) GetSender

func (client LoadBalancerProbesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LoadBalancerProbesClient) List

func (client LoadBalancerProbesClient) List(resourceGroupName string, loadBalancerName string) (result LoadBalancerProbeListResult, err error)

List gets all the load balancer probes.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (LoadBalancerProbesClient) ListComplete

func (client LoadBalancerProbesClient) ListComplete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan Probe, <-chan error)

ListComplete gets all elements from the list without paging.

func (LoadBalancerProbesClient) ListNextResults

func (client LoadBalancerProbesClient) ListNextResults(lastResults LoadBalancerProbeListResult) (result LoadBalancerProbeListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (LoadBalancerProbesClient) ListPreparer

func (client LoadBalancerProbesClient) ListPreparer(resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancerProbesClient) ListResponder

func (client LoadBalancerProbesClient) ListResponder(resp *http.Response) (result LoadBalancerProbeListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LoadBalancerProbesClient) ListSender

func (client LoadBalancerProbesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LoadBalancerPropertiesFormat

type LoadBalancerPropertiesFormat struct {
	FrontendIPConfigurations *[]FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	BackendAddressPools      *[]BackendAddressPool      `json:"backendAddressPools,omitempty"`
	LoadBalancingRules       *[]LoadBalancingRule       `json:"loadBalancingRules,omitempty"`
	Probes                   *[]Probe                   `json:"probes,omitempty"`
	InboundNatRules          *[]InboundNatRule          `json:"inboundNatRules,omitempty"`
	InboundNatPools          *[]InboundNatPool          `json:"inboundNatPools,omitempty"`
	OutboundNatRules         *[]OutboundNatRule         `json:"outboundNatRules,omitempty"`
	ResourceGUID             *string                    `json:"resourceGuid,omitempty"`
	ProvisioningState        *string                    `json:"provisioningState,omitempty"`
}

LoadBalancerPropertiesFormat is properties of the load balancer.

type LoadBalancerSku

type LoadBalancerSku struct {
	Name LoadBalancerSkuName `json:"name,omitempty"`
}

LoadBalancerSku is SKU of a load balancer

type LoadBalancerSkuName

type LoadBalancerSkuName string

LoadBalancerSkuName enumerates the values for load balancer sku name.

const (
	// LoadBalancerSkuNameBasic specifies the load balancer sku name basic state for load balancer sku name.
	LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic"
	// LoadBalancerSkuNameStandard specifies the load balancer sku name standard state for load balancer sku name.
	LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard"
)

type LoadBalancersClient

type LoadBalancersClient struct {
	ManagementClient
}

LoadBalancersClient is the network Client

func NewLoadBalancersClient

func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient

NewLoadBalancersClient creates an instance of the LoadBalancersClient client.

func NewLoadBalancersClientWithBaseURI

func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient

NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client.

func (LoadBalancersClient) CreateOrUpdate

func (client LoadBalancersClient) CreateOrUpdate(resourceGroupName string, loadBalancerName string, parameters LoadBalancer, cancel <-chan struct{}) (<-chan LoadBalancer, <-chan error)

CreateOrUpdate creates or updates a load balancer. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. parameters is parameters supplied to the create or update load balancer operation.

func (LoadBalancersClient) CreateOrUpdatePreparer

func (client LoadBalancersClient) CreateOrUpdatePreparer(resourceGroupName string, loadBalancerName string, parameters LoadBalancer, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LoadBalancersClient) CreateOrUpdateResponder

func (client LoadBalancersClient) CreateOrUpdateResponder(resp *http.Response) (result LoadBalancer, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (LoadBalancersClient) CreateOrUpdateSender

func (client LoadBalancersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (LoadBalancersClient) Delete

func (client LoadBalancersClient) Delete(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified load balancer. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer.

func (LoadBalancersClient) DeletePreparer

func (client LoadBalancersClient) DeletePreparer(resourceGroupName string, loadBalancerName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LoadBalancersClient) DeleteResponder

func (client LoadBalancersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LoadBalancersClient) DeleteSender

func (client LoadBalancersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LoadBalancersClient) Get

func (client LoadBalancersClient) Get(resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error)

Get gets the specified load balancer.

resourceGroupName is the name of the resource group. loadBalancerName is the name of the load balancer. expand is expands referenced resources.

func (LoadBalancersClient) GetPreparer

func (client LoadBalancersClient) GetPreparer(resourceGroupName string, loadBalancerName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancersClient) GetResponder

func (client LoadBalancersClient) GetResponder(resp *http.Response) (result LoadBalancer, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LoadBalancersClient) GetSender

func (client LoadBalancersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LoadBalancersClient) List

func (client LoadBalancersClient) List(resourceGroupName string) (result LoadBalancerListResult, err error)

List gets all the load balancers in a resource group.

resourceGroupName is the name of the resource group.

func (LoadBalancersClient) ListAll

func (client LoadBalancersClient) ListAll() (result LoadBalancerListResult, err error)

ListAll gets all the load balancers in a subscription.

func (LoadBalancersClient) ListAllComplete

func (client LoadBalancersClient) ListAllComplete(cancel <-chan struct{}) (<-chan LoadBalancer, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (LoadBalancersClient) ListAllNextResults

func (client LoadBalancersClient) ListAllNextResults(lastResults LoadBalancerListResult) (result LoadBalancerListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (LoadBalancersClient) ListAllPreparer

func (client LoadBalancersClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (LoadBalancersClient) ListAllResponder

func (client LoadBalancersClient) ListAllResponder(resp *http.Response) (result LoadBalancerListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (LoadBalancersClient) ListAllSender

func (client LoadBalancersClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (LoadBalancersClient) ListComplete

func (client LoadBalancersClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan LoadBalancer, <-chan error)

ListComplete gets all elements from the list without paging.

func (LoadBalancersClient) ListNextResults

func (client LoadBalancersClient) ListNextResults(lastResults LoadBalancerListResult) (result LoadBalancerListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (LoadBalancersClient) ListPreparer

func (client LoadBalancersClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancersClient) ListResponder

func (client LoadBalancersClient) ListResponder(resp *http.Response) (result LoadBalancerListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LoadBalancersClient) ListSender

func (client LoadBalancersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type LoadBalancingRule

type LoadBalancingRule struct {
	autorest.Response                  `json:"-"`
	ID                                 *string `json:"id,omitempty"`
	*LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`
	Name                               *string `json:"name,omitempty"`
	Etag                               *string `json:"etag,omitempty"`
}

LoadBalancingRule is a load balancing rule for a load balancer.

type LoadBalancingRulePropertiesFormat

type LoadBalancingRulePropertiesFormat struct {
	FrontendIPConfiguration *SubResource      `json:"frontendIPConfiguration,omitempty"`
	BackendAddressPool      *SubResource      `json:"backendAddressPool,omitempty"`
	Probe                   *SubResource      `json:"probe,omitempty"`
	Protocol                TransportProtocol `json:"protocol,omitempty"`
	LoadDistribution        LoadDistribution  `json:"loadDistribution,omitempty"`
	FrontendPort            *int32            `json:"frontendPort,omitempty"`
	BackendPort             *int32            `json:"backendPort,omitempty"`
	IdleTimeoutInMinutes    *int32            `json:"idleTimeoutInMinutes,omitempty"`
	EnableFloatingIP        *bool             `json:"enableFloatingIP,omitempty"`
	DisableOutboundSnat     *bool             `json:"disableOutboundSnat,omitempty"`
	ProvisioningState       *string           `json:"provisioningState,omitempty"`
}

LoadBalancingRulePropertiesFormat is properties of the load balancer.

type LoadDistribution

type LoadDistribution string

LoadDistribution enumerates the values for load distribution.

const (
	// Default specifies the default state for load distribution.
	Default LoadDistribution = "Default"
	// SourceIP specifies the source ip state for load distribution.
	SourceIP LoadDistribution = "SourceIP"
	// SourceIPProtocol specifies the source ip protocol state for load distribution.
	SourceIPProtocol LoadDistribution = "SourceIPProtocol"
)

type LocalNetworkGateway

type LocalNetworkGateway struct {
	autorest.Response                    `json:"-"`
	ID                                   *string             `json:"id,omitempty"`
	Name                                 *string             `json:"name,omitempty"`
	Type                                 *string             `json:"type,omitempty"`
	Location                             *string             `json:"location,omitempty"`
	Tags                                 *map[string]*string `json:"tags,omitempty"`
	*LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
	Etag                                 *string `json:"etag,omitempty"`
}

LocalNetworkGateway is a common class for general resource information

type LocalNetworkGatewayListResult

type LocalNetworkGatewayListResult struct {
	autorest.Response `json:"-"`
	Value             *[]LocalNetworkGateway `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

LocalNetworkGatewayListResult is response for ListLocalNetworkGateways API service call.

func (LocalNetworkGatewayListResult) LocalNetworkGatewayListResultPreparer

func (client LocalNetworkGatewayListResult) LocalNetworkGatewayListResultPreparer() (*http.Request, error)

LocalNetworkGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type LocalNetworkGatewayPropertiesFormat

type LocalNetworkGatewayPropertiesFormat struct {
	LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"`
	GatewayIPAddress         *string       `json:"gatewayIpAddress,omitempty"`
	BgpSettings              *BgpSettings  `json:"bgpSettings,omitempty"`
	ResourceGUID             *string       `json:"resourceGuid,omitempty"`
	ProvisioningState        *string       `json:"provisioningState,omitempty"`
}

LocalNetworkGatewayPropertiesFormat is localNetworkGateway properties

type LocalNetworkGatewaysClient

type LocalNetworkGatewaysClient struct {
	ManagementClient
}

LocalNetworkGatewaysClient is the network Client

func NewLocalNetworkGatewaysClient

func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClient creates an instance of the LocalNetworkGatewaysClient client.

func NewLocalNetworkGatewaysClientWithBaseURI

func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client.

func (LocalNetworkGatewaysClient) CreateOrUpdate

func (client LocalNetworkGatewaysClient) CreateOrUpdate(resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway, cancel <-chan struct{}) (<-chan LocalNetworkGateway, <-chan error)

CreateOrUpdate creates or updates a local network gateway in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network gateway. parameters is parameters supplied to the create or update local network gateway operation.

func (LocalNetworkGatewaysClient) CreateOrUpdatePreparer

func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LocalNetworkGatewaysClient) CreateOrUpdateResponder

func (client LocalNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result LocalNetworkGateway, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (LocalNetworkGatewaysClient) CreateOrUpdateSender

func (client LocalNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (LocalNetworkGatewaysClient) Delete

func (client LocalNetworkGatewaysClient) Delete(resourceGroupName string, localNetworkGatewayName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified local network gateway. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network gateway.

func (LocalNetworkGatewaysClient) DeletePreparer

func (client LocalNetworkGatewaysClient) DeletePreparer(resourceGroupName string, localNetworkGatewayName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LocalNetworkGatewaysClient) DeleteResponder

func (client LocalNetworkGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LocalNetworkGatewaysClient) DeleteSender

func (client LocalNetworkGatewaysClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LocalNetworkGatewaysClient) Get

func (client LocalNetworkGatewaysClient) Get(resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, err error)

Get gets the specified local network gateway in a resource group.

resourceGroupName is the name of the resource group. localNetworkGatewayName is the name of the local network gateway.

func (LocalNetworkGatewaysClient) GetPreparer

func (client LocalNetworkGatewaysClient) GetPreparer(resourceGroupName string, localNetworkGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LocalNetworkGatewaysClient) GetResponder

func (client LocalNetworkGatewaysClient) GetResponder(resp *http.Response) (result LocalNetworkGateway, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LocalNetworkGatewaysClient) GetSender

func (client LocalNetworkGatewaysClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LocalNetworkGatewaysClient) List

func (client LocalNetworkGatewaysClient) List(resourceGroupName string) (result LocalNetworkGatewayListResult, err error)

List gets all the local network gateways in a resource group.

resourceGroupName is the name of the resource group.

func (LocalNetworkGatewaysClient) ListComplete

func (client LocalNetworkGatewaysClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan LocalNetworkGateway, <-chan error)

ListComplete gets all elements from the list without paging.

func (LocalNetworkGatewaysClient) ListNextResults

func (client LocalNetworkGatewaysClient) ListNextResults(lastResults LocalNetworkGatewayListResult) (result LocalNetworkGatewayListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (LocalNetworkGatewaysClient) ListPreparer

func (client LocalNetworkGatewaysClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LocalNetworkGatewaysClient) ListResponder

func (client LocalNetworkGatewaysClient) ListResponder(resp *http.Response) (result LocalNetworkGatewayListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LocalNetworkGatewaysClient) ListSender

func (client LocalNetworkGatewaysClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

ManagementClient is the base client for Network.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

func (ManagementClient) CheckDNSNameAvailability

func (client ManagementClient) CheckDNSNameAvailability(location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error)

CheckDNSNameAvailability checks whether a domain name in the cloudapp.azure.com zone is available for use.

location is the location of the domain name. domainNameLabel is the domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.

func (ManagementClient) CheckDNSNameAvailabilityPreparer

func (client ManagementClient) CheckDNSNameAvailabilityPreparer(location string, domainNameLabel string) (*http.Request, error)

CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request.

func (ManagementClient) CheckDNSNameAvailabilityResponder

func (client ManagementClient) CheckDNSNameAvailabilityResponder(resp *http.Response) (result DNSNameAvailabilityResult, err error)

CheckDNSNameAvailabilityResponder handles the response to the CheckDNSNameAvailability request. The method always closes the http.Response Body.

func (ManagementClient) CheckDNSNameAvailabilitySender

func (client ManagementClient) CheckDNSNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckDNSNameAvailabilitySender sends the CheckDNSNameAvailability request. The method will close the http.Response Body if it receives an error.

type NextHopParameters

type NextHopParameters struct {
	TargetResourceID     *string `json:"targetResourceId,omitempty"`
	SourceIPAddress      *string `json:"sourceIPAddress,omitempty"`
	DestinationIPAddress *string `json:"destinationIPAddress,omitempty"`
	TargetNicResourceID  *string `json:"targetNicResourceId,omitempty"`
}

NextHopParameters is parameters that define the source and destination endpoint.

type NextHopResult

type NextHopResult struct {
	autorest.Response `json:"-"`
	NextHopType       NextHopType `json:"nextHopType,omitempty"`
	NextHopIPAddress  *string     `json:"nextHopIpAddress,omitempty"`
	RouteTableID      *string     `json:"routeTableId,omitempty"`
}

NextHopResult is the information about next hop from the specified VM.

type NextHopType

type NextHopType string

NextHopType enumerates the values for next hop type.

const (
	// NextHopTypeHyperNetGateway specifies the next hop type hyper net gateway state for next hop type.
	NextHopTypeHyperNetGateway NextHopType = "HyperNetGateway"
	// NextHopTypeInternet specifies the next hop type internet state for next hop type.
	NextHopTypeInternet NextHopType = "Internet"
	// NextHopTypeNone specifies the next hop type none state for next hop type.
	NextHopTypeNone NextHopType = "None"
	// NextHopTypeVirtualAppliance specifies the next hop type virtual appliance state for next hop type.
	NextHopTypeVirtualAppliance NextHopType = "VirtualAppliance"
	// NextHopTypeVirtualNetworkGateway specifies the next hop type virtual network gateway state for next hop type.
	NextHopTypeVirtualNetworkGateway NextHopType = "VirtualNetworkGateway"
	// NextHopTypeVnetLocal specifies the next hop type vnet local state for next hop type.
	NextHopTypeVnetLocal NextHopType = "VnetLocal"
)

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// Failed specifies the failed state for operation status.
	Failed OperationStatus = "Failed"
	// InProgress specifies the in progress state for operation status.
	InProgress OperationStatus = "InProgress"
	// Succeeded specifies the succeeded state for operation status.
	Succeeded OperationStatus = "Succeeded"
)

type Origin

type Origin string

Origin enumerates the values for origin.

const (
	// OriginInbound specifies the origin inbound state for origin.
	OriginInbound Origin = "Inbound"
	// OriginLocal specifies the origin local state for origin.
	OriginLocal Origin = "Local"
	// OriginOutbound specifies the origin outbound state for origin.
	OriginOutbound Origin = "Outbound"
)

type OutboundNatRule

type OutboundNatRule struct {
	ID                               *string `json:"id,omitempty"`
	*OutboundNatRulePropertiesFormat `json:"properties,omitempty"`
	Name                             *string `json:"name,omitempty"`
	Etag                             *string `json:"etag,omitempty"`
}

OutboundNatRule is outbound NAT pool of the load balancer.

type OutboundNatRulePropertiesFormat

type OutboundNatRulePropertiesFormat struct {
	AllocatedOutboundPorts   *int32         `json:"allocatedOutboundPorts,omitempty"`
	FrontendIPConfigurations *[]SubResource `json:"frontendIPConfigurations,omitempty"`
	BackendAddressPool       *SubResource   `json:"backendAddressPool,omitempty"`
	ProvisioningState        *string        `json:"provisioningState,omitempty"`
}

OutboundNatRulePropertiesFormat is outbound NAT pool of the load balancer.

type PacketCapture

type PacketCapture struct {
	*PacketCaptureParameters `json:"properties,omitempty"`
}

PacketCapture is parameters that define the create packet capture operation.

type PacketCaptureFilter

type PacketCaptureFilter struct {
	Protocol        PcProtocol `json:"protocol,omitempty"`
	LocalIPAddress  *string    `json:"localIPAddress,omitempty"`
	RemoteIPAddress *string    `json:"remoteIPAddress,omitempty"`
	LocalPort       *string    `json:"localPort,omitempty"`
	RemotePort      *string    `json:"remotePort,omitempty"`
}

PacketCaptureFilter is filter that is applied to packet capture request. Multiple filters can be applied.

type PacketCaptureListResult

type PacketCaptureListResult struct {
	autorest.Response `json:"-"`
	Value             *[]PacketCaptureResult `json:"value,omitempty"`
}

PacketCaptureListResult is list of packet capture sessions.

type PacketCaptureParameters

type PacketCaptureParameters struct {
	Target                  *string                       `json:"target,omitempty"`
	BytesToCapturePerPacket *int32                        `json:"bytesToCapturePerPacket,omitempty"`
	TotalBytesPerSession    *int32                        `json:"totalBytesPerSession,omitempty"`
	TimeLimitInSeconds      *int32                        `json:"timeLimitInSeconds,omitempty"`
	StorageLocation         *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`
	Filters                 *[]PacketCaptureFilter        `json:"filters,omitempty"`
}

PacketCaptureParameters is parameters that define the create packet capture operation.

type PacketCaptureQueryStatusResult

type PacketCaptureQueryStatusResult struct {
	autorest.Response   `json:"-"`
	Name                *string    `json:"name,omitempty"`
	ID                  *string    `json:"id,omitempty"`
	CaptureStartTime    *date.Time `json:"captureStartTime,omitempty"`
	PacketCaptureStatus PcStatus   `json:"packetCaptureStatus,omitempty"`
	StopReason          *string    `json:"stopReason,omitempty"`
	PacketCaptureError  *[]PcError `json:"packetCaptureError,omitempty"`
}

PacketCaptureQueryStatusResult is status of packet capture session.

type PacketCaptureResult

type PacketCaptureResult struct {
	autorest.Response              `json:"-"`
	Name                           *string `json:"name,omitempty"`
	ID                             *string `json:"id,omitempty"`
	Etag                           *string `json:"etag,omitempty"`
	*PacketCaptureResultProperties `json:"properties,omitempty"`
}

PacketCaptureResult is information about packet capture session.

type PacketCaptureResultProperties

type PacketCaptureResultProperties struct {
	Target                  *string                       `json:"target,omitempty"`
	BytesToCapturePerPacket *int32                        `json:"bytesToCapturePerPacket,omitempty"`
	TotalBytesPerSession    *int32                        `json:"totalBytesPerSession,omitempty"`
	TimeLimitInSeconds      *int32                        `json:"timeLimitInSeconds,omitempty"`
	StorageLocation         *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`
	Filters                 *[]PacketCaptureFilter        `json:"filters,omitempty"`
	ProvisioningState       ProvisioningState             `json:"provisioningState,omitempty"`
}

PacketCaptureResultProperties is describes the properties of a packet capture session.

type PacketCaptureStorageLocation

type PacketCaptureStorageLocation struct {
	StorageID   *string `json:"storageId,omitempty"`
	StoragePath *string `json:"storagePath,omitempty"`
	FilePath    *string `json:"filePath,omitempty"`
}

PacketCaptureStorageLocation is describes the storage location for a packet capture session.

type PacketCapturesClient

type PacketCapturesClient struct {
	ManagementClient
}

PacketCapturesClient is the network Client

func NewPacketCapturesClient

func NewPacketCapturesClient(subscriptionID string) PacketCapturesClient

NewPacketCapturesClient creates an instance of the PacketCapturesClient client.

func NewPacketCapturesClientWithBaseURI

func NewPacketCapturesClientWithBaseURI(baseURI string, subscriptionID string) PacketCapturesClient

NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient client.

func (PacketCapturesClient) Create

func (client PacketCapturesClient) Create(resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture, cancel <-chan struct{}) (<-chan PacketCaptureResult, <-chan error)

Create create and start a packet capture on the specified VM. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. packetCaptureName is the name of the packet capture session. parameters is parameters that define the create packet capture operation.

func (PacketCapturesClient) CreatePreparer

func (client PacketCapturesClient) CreatePreparer(resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture, cancel <-chan struct{}) (*http.Request, error)

CreatePreparer prepares the Create request.

func (PacketCapturesClient) CreateResponder

func (client PacketCapturesClient) CreateResponder(resp *http.Response) (result PacketCaptureResult, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (PacketCapturesClient) CreateSender

func (client PacketCapturesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (PacketCapturesClient) Delete

func (client PacketCapturesClient) Delete(resourceGroupName string, networkWatcherName string, packetCaptureName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified packet capture session. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. packetCaptureName is the name of the packet capture session.

func (PacketCapturesClient) DeletePreparer

func (client PacketCapturesClient) DeletePreparer(resourceGroupName string, networkWatcherName string, packetCaptureName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PacketCapturesClient) DeleteResponder

func (client PacketCapturesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PacketCapturesClient) DeleteSender

func (client PacketCapturesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PacketCapturesClient) Get

func (client PacketCapturesClient) Get(resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCaptureResult, err error)

Get gets a packet capture session by name.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. packetCaptureName is the name of the packet capture session.

func (PacketCapturesClient) GetPreparer

func (client PacketCapturesClient) GetPreparer(resourceGroupName string, networkWatcherName string, packetCaptureName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PacketCapturesClient) GetResponder

func (client PacketCapturesClient) GetResponder(resp *http.Response) (result PacketCaptureResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PacketCapturesClient) GetSender

func (client PacketCapturesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PacketCapturesClient) GetStatus

func (client PacketCapturesClient) GetStatus(resourceGroupName string, networkWatcherName string, packetCaptureName string, cancel <-chan struct{}) (<-chan PacketCaptureQueryStatusResult, <-chan error)

GetStatus query the status of a running packet capture session. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the Network Watcher resource. packetCaptureName is the name given to the packet capture session.

func (PacketCapturesClient) GetStatusPreparer

func (client PacketCapturesClient) GetStatusPreparer(resourceGroupName string, networkWatcherName string, packetCaptureName string, cancel <-chan struct{}) (*http.Request, error)

GetStatusPreparer prepares the GetStatus request.

func (PacketCapturesClient) GetStatusResponder

func (client PacketCapturesClient) GetStatusResponder(resp *http.Response) (result PacketCaptureQueryStatusResult, err error)

GetStatusResponder handles the response to the GetStatus request. The method always closes the http.Response Body.

func (PacketCapturesClient) GetStatusSender

func (client PacketCapturesClient) GetStatusSender(req *http.Request) (*http.Response, error)

GetStatusSender sends the GetStatus request. The method will close the http.Response Body if it receives an error.

func (PacketCapturesClient) List

func (client PacketCapturesClient) List(resourceGroupName string, networkWatcherName string) (result PacketCaptureListResult, err error)

List lists all packet capture sessions within the specified resource group.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the Network Watcher resource.

func (PacketCapturesClient) ListPreparer

func (client PacketCapturesClient) ListPreparer(resourceGroupName string, networkWatcherName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PacketCapturesClient) ListResponder

func (client PacketCapturesClient) ListResponder(resp *http.Response) (result PacketCaptureListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PacketCapturesClient) ListSender

func (client PacketCapturesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PacketCapturesClient) Stop

func (client PacketCapturesClient) Stop(resourceGroupName string, networkWatcherName string, packetCaptureName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Stop stops a specified packet capture session. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. packetCaptureName is the name of the packet capture session.

func (PacketCapturesClient) StopPreparer

func (client PacketCapturesClient) StopPreparer(resourceGroupName string, networkWatcherName string, packetCaptureName string, cancel <-chan struct{}) (*http.Request, error)

StopPreparer prepares the Stop request.

func (PacketCapturesClient) StopResponder

func (client PacketCapturesClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (PacketCapturesClient) StopSender

func (client PacketCapturesClient) StopSender(req *http.Request) (*http.Response, error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

type PatchRouteFilter

type PatchRouteFilter struct {
	ID                           *string `json:"id,omitempty"`
	*RouteFilterPropertiesFormat `json:"properties,omitempty"`
	Name                         *string             `json:"name,omitempty"`
	Etag                         *string             `json:"etag,omitempty"`
	Type                         *string             `json:"type,omitempty"`
	Tags                         *map[string]*string `json:"tags,omitempty"`
}

PatchRouteFilter is route Filter Resource.

type PatchRouteFilterRule

type PatchRouteFilterRule struct {
	ID                               *string `json:"id,omitempty"`
	*RouteFilterRulePropertiesFormat `json:"properties,omitempty"`
	Name                             *string             `json:"name,omitempty"`
	Etag                             *string             `json:"etag,omitempty"`
	Tags                             *map[string]*string `json:"tags,omitempty"`
}

PatchRouteFilterRule is route Filter Rule Resource

type PcError

type PcError string

PcError enumerates the values for pc error.

const (
	// AgentStopped specifies the agent stopped state for pc error.
	AgentStopped PcError = "AgentStopped"
	// CaptureFailed specifies the capture failed state for pc error.
	CaptureFailed PcError = "CaptureFailed"
	// InternalError specifies the internal error state for pc error.
	InternalError PcError = "InternalError"
	// LocalFileFailed specifies the local file failed state for pc error.
	LocalFileFailed PcError = "LocalFileFailed"
	// StorageFailed specifies the storage failed state for pc error.
	StorageFailed PcError = "StorageFailed"
)

type PcProtocol

type PcProtocol string

PcProtocol enumerates the values for pc protocol.

const (
	// PcProtocolAny specifies the pc protocol any state for pc protocol.
	PcProtocolAny PcProtocol = "Any"
	// PcProtocolTCP specifies the pc protocol tcp state for pc protocol.
	PcProtocolTCP PcProtocol = "TCP"
	// PcProtocolUDP specifies the pc protocol udp state for pc protocol.
	PcProtocolUDP PcProtocol = "UDP"
)

type PcStatus

type PcStatus string

PcStatus enumerates the values for pc status.

const (
	// PcStatusError specifies the pc status error state for pc status.
	PcStatusError PcStatus = "Error"
	// PcStatusNotStarted specifies the pc status not started state for pc status.
	PcStatusNotStarted PcStatus = "NotStarted"
	// PcStatusRunning specifies the pc status running state for pc status.
	PcStatusRunning PcStatus = "Running"
	// PcStatusStopped specifies the pc status stopped state for pc status.
	PcStatusStopped PcStatus = "Stopped"
	// PcStatusUnknown specifies the pc status unknown state for pc status.
	PcStatusUnknown PcStatus = "Unknown"
)

type PfsGroup

type PfsGroup string

PfsGroup enumerates the values for pfs group.

const (
	// PfsGroupECP256 specifies the pfs group ecp256 state for pfs group.
	PfsGroupECP256 PfsGroup = "ECP256"
	// PfsGroupECP384 specifies the pfs group ecp384 state for pfs group.
	PfsGroupECP384 PfsGroup = "ECP384"
	// PfsGroupNone specifies the pfs group none state for pfs group.
	PfsGroupNone PfsGroup = "None"
	// PfsGroupPFS1 specifies the pfs group pfs1 state for pfs group.
	PfsGroupPFS1 PfsGroup = "PFS1"
	// PfsGroupPFS2 specifies the pfs group pfs2 state for pfs group.
	PfsGroupPFS2 PfsGroup = "PFS2"
	// PfsGroupPFS2048 specifies the pfs group pfs2048 state for pfs group.
	PfsGroupPFS2048 PfsGroup = "PFS2048"
	// PfsGroupPFS24 specifies the pfs group pfs24 state for pfs group.
	PfsGroupPFS24 PfsGroup = "PFS24"
)

type Probe

type Probe struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	*ProbePropertiesFormat `json:"properties,omitempty"`
	Name                   *string `json:"name,omitempty"`
	Etag                   *string `json:"etag,omitempty"`
}

Probe is a load balancer probe.

type ProbePropertiesFormat

type ProbePropertiesFormat struct {
	LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
	Protocol           ProbeProtocol  `json:"protocol,omitempty"`
	Port               *int32         `json:"port,omitempty"`
	IntervalInSeconds  *int32         `json:"intervalInSeconds,omitempty"`
	NumberOfProbes     *int32         `json:"numberOfProbes,omitempty"`
	RequestPath        *string        `json:"requestPath,omitempty"`
	ProvisioningState  *string        `json:"provisioningState,omitempty"`
}

ProbePropertiesFormat is load balancer probe resource.

type ProbeProtocol

type ProbeProtocol string

ProbeProtocol enumerates the values for probe protocol.

const (
	// ProbeProtocolHTTP specifies the probe protocol http state for probe protocol.
	ProbeProtocolHTTP ProbeProtocol = "Http"
	// ProbeProtocolTCP specifies the probe protocol tcp state for probe protocol.
	ProbeProtocolTCP ProbeProtocol = "Tcp"
)

type ProcessorArchitecture

type ProcessorArchitecture string

ProcessorArchitecture enumerates the values for processor architecture.

const (
	// Amd64 specifies the amd 64 state for processor architecture.
	Amd64 ProcessorArchitecture = "Amd64"
	// X86 specifies the x86 state for processor architecture.
	X86 ProcessorArchitecture = "X86"
)

type Protocol

type Protocol string

Protocol enumerates the values for protocol.

const (
	// ProtocolTCP specifies the protocol tcp state for protocol.
	ProtocolTCP Protocol = "TCP"
	// ProtocolUDP specifies the protocol udp state for protocol.
	ProtocolUDP Protocol = "UDP"
)

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateDeleting specifies the provisioning state deleting state for provisioning state.
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed specifies the provisioning state failed state for provisioning state.
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateSucceeded specifies the provisioning state succeeded state for provisioning state.
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating specifies the provisioning state updating state for provisioning state.
	ProvisioningStateUpdating ProvisioningState = "Updating"
)

type PublicIPAddress

type PublicIPAddress struct {
	autorest.Response                `json:"-"`
	ID                               *string             `json:"id,omitempty"`
	Name                             *string             `json:"name,omitempty"`
	Type                             *string             `json:"type,omitempty"`
	Location                         *string             `json:"location,omitempty"`
	Tags                             *map[string]*string `json:"tags,omitempty"`
	Sku                              *PublicIPAddressSku `json:"sku,omitempty"`
	*PublicIPAddressPropertiesFormat `json:"properties,omitempty"`
	Etag                             *string   `json:"etag,omitempty"`
	Zones                            *[]string `json:"zones,omitempty"`
}

PublicIPAddress is public IP address resource.

type PublicIPAddressDNSSettings

type PublicIPAddressDNSSettings struct {
	DomainNameLabel *string `json:"domainNameLabel,omitempty"`
	Fqdn            *string `json:"fqdn,omitempty"`
	ReverseFqdn     *string `json:"reverseFqdn,omitempty"`
}

PublicIPAddressDNSSettings is contains FQDN of the DNS record associated with the public IP address

type PublicIPAddressListResult

type PublicIPAddressListResult struct {
	autorest.Response `json:"-"`
	Value             *[]PublicIPAddress `json:"value,omitempty"`
	NextLink          *string            `json:"nextLink,omitempty"`
}

PublicIPAddressListResult is response for ListPublicIpAddresses API service call.

func (PublicIPAddressListResult) PublicIPAddressListResultPreparer

func (client PublicIPAddressListResult) PublicIPAddressListResultPreparer() (*http.Request, error)

PublicIPAddressListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type PublicIPAddressPropertiesFormat

type PublicIPAddressPropertiesFormat struct {
	PublicIPAllocationMethod IPAllocationMethod          `json:"publicIPAllocationMethod,omitempty"`
	PublicIPAddressVersion   IPVersion                   `json:"publicIPAddressVersion,omitempty"`
	IPConfiguration          *IPConfiguration            `json:"ipConfiguration,omitempty"`
	DNSSettings              *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"`
	IPAddress                *string                     `json:"ipAddress,omitempty"`
	IdleTimeoutInMinutes     *int32                      `json:"idleTimeoutInMinutes,omitempty"`
	ResourceGUID             *string                     `json:"resourceGuid,omitempty"`
	ProvisioningState        *string                     `json:"provisioningState,omitempty"`
}

PublicIPAddressPropertiesFormat is public IP address properties.

type PublicIPAddressSku

type PublicIPAddressSku struct {
	Name PublicIPAddressSkuName `json:"name,omitempty"`
}

PublicIPAddressSku is SKU of a public IP address

type PublicIPAddressSkuName

type PublicIPAddressSkuName string

PublicIPAddressSkuName enumerates the values for public ip address sku name.

const (
	// PublicIPAddressSkuNameBasic specifies the public ip address sku name basic state for public ip address sku name.
	PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic"
	// PublicIPAddressSkuNameStandard specifies the public ip address sku name standard state for public ip address sku
	// name.
	PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard"
)

type PublicIPAddressesClient

type PublicIPAddressesClient struct {
	ManagementClient
}

PublicIPAddressesClient is the network Client

func NewPublicIPAddressesClient

func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient

NewPublicIPAddressesClient creates an instance of the PublicIPAddressesClient client.

func NewPublicIPAddressesClientWithBaseURI

func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient

NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client.

func (PublicIPAddressesClient) CreateOrUpdate

func (client PublicIPAddressesClient) CreateOrUpdate(resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, cancel <-chan struct{}) (<-chan PublicIPAddress, <-chan error)

CreateOrUpdate creates or updates a static or dynamic public IP address. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. publicIPAddressName is the name of the public IP address. parameters is parameters supplied to the create or update public IP address operation.

func (PublicIPAddressesClient) CreateOrUpdatePreparer

func (client PublicIPAddressesClient) CreateOrUpdatePreparer(resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PublicIPAddressesClient) CreateOrUpdateResponder

func (client PublicIPAddressesClient) CreateOrUpdateResponder(resp *http.Response) (result PublicIPAddress, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) CreateOrUpdateSender

func (client PublicIPAddressesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) Delete

func (client PublicIPAddressesClient) Delete(resourceGroupName string, publicIPAddressName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified public IP address. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. publicIPAddressName is the name of the subnet.

func (PublicIPAddressesClient) DeletePreparer

func (client PublicIPAddressesClient) DeletePreparer(resourceGroupName string, publicIPAddressName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PublicIPAddressesClient) DeleteResponder

func (client PublicIPAddressesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) DeleteSender

func (client PublicIPAddressesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) Get

func (client PublicIPAddressesClient) Get(resourceGroupName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)

Get gets the specified public IP address in a specified resource group.

resourceGroupName is the name of the resource group. publicIPAddressName is the name of the subnet. expand is expands referenced resources.

func (PublicIPAddressesClient) GetPreparer

func (client PublicIPAddressesClient) GetPreparer(resourceGroupName string, publicIPAddressName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PublicIPAddressesClient) GetResponder

func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result PublicIPAddress, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) GetSender

func (client PublicIPAddressesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)

GetVirtualMachineScaleSetPublicIPAddress get the specified public IP address in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the name of the network interface. IPConfigurationName is the name of the IP configuration. publicIPAddressName is the name of the public IP Address. expand is expands referenced resources.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressPreparer

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressPreparer(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (*http.Request, error)

GetVirtualMachineScaleSetPublicIPAddressPreparer prepares the GetVirtualMachineScaleSetPublicIPAddress request.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressResponder

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressResponder(resp *http.Response) (result PublicIPAddress, err error)

GetVirtualMachineScaleSetPublicIPAddressResponder handles the response to the GetVirtualMachineScaleSetPublicIPAddress request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressSender

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressSender(req *http.Request) (*http.Response, error)

GetVirtualMachineScaleSetPublicIPAddressSender sends the GetVirtualMachineScaleSetPublicIPAddress request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) List

func (client PublicIPAddressesClient) List(resourceGroupName string) (result PublicIPAddressListResult, err error)

List gets all public IP addresses in a resource group.

resourceGroupName is the name of the resource group.

func (PublicIPAddressesClient) ListAll

func (client PublicIPAddressesClient) ListAll() (result PublicIPAddressListResult, err error)

ListAll gets all the public IP addresses in a subscription.

func (PublicIPAddressesClient) ListAllComplete

func (client PublicIPAddressesClient) ListAllComplete(cancel <-chan struct{}) (<-chan PublicIPAddress, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (PublicIPAddressesClient) ListAllNextResults

func (client PublicIPAddressesClient) ListAllNextResults(lastResults PublicIPAddressListResult) (result PublicIPAddressListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (PublicIPAddressesClient) ListAllPreparer

func (client PublicIPAddressesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (PublicIPAddressesClient) ListAllResponder

func (client PublicIPAddressesClient) ListAllResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) ListAllSender

func (client PublicIPAddressesClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) ListComplete

func (client PublicIPAddressesClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan PublicIPAddress, <-chan error)

ListComplete gets all elements from the list without paging.

func (PublicIPAddressesClient) ListNextResults

func (client PublicIPAddressesClient) ListNextResults(lastResults PublicIPAddressListResult) (result PublicIPAddressListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (PublicIPAddressesClient) ListPreparer

func (client PublicIPAddressesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PublicIPAddressesClient) ListResponder

func (client PublicIPAddressesClient) ListResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) ListSender

func (client PublicIPAddressesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses(resourceGroupName string, virtualMachineScaleSetName string) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetPublicIPAddresses gets information about all public IP addresses on a virtual machine scale set level.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesComplete

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesComplete(resourceGroupName string, virtualMachineScaleSetName string, cancel <-chan struct{}) (<-chan PublicIPAddress, <-chan error)

ListVirtualMachineScaleSetPublicIPAddressesComplete gets all elements from the list without paging.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesNextResults

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesNextResults(lastResults PublicIPAddressListResult) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetPublicIPAddressesNextResults retrieves the next set of results, if any.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesPreparer

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesPreparer(resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)

ListVirtualMachineScaleSetPublicIPAddressesPreparer prepares the ListVirtualMachineScaleSetPublicIPAddresses request.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesResponder

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetPublicIPAddressesResponder handles the response to the ListVirtualMachineScaleSetPublicIPAddresses request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesSender

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesSender(req *http.Request) (*http.Response, error)

ListVirtualMachineScaleSetPublicIPAddressesSender sends the ListVirtualMachineScaleSetPublicIPAddresses request. The method will close the http.Response Body if it receives an error.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetVMPublicIPAddresses gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the virtual machine scale set. virtualmachineIndex is the virtual machine index. networkInterfaceName is the network interface name. IPConfigurationName is the IP configuration name.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesComplete

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesComplete(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, cancel <-chan struct{}) (<-chan PublicIPAddress, <-chan error)

ListVirtualMachineScaleSetVMPublicIPAddressesComplete gets all elements from the list without paging.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesNextResults

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesNextResults(lastResults PublicIPAddressListResult) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetVMPublicIPAddressesNextResults retrieves the next set of results, if any.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesPreparer

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesPreparer(resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (*http.Request, error)

ListVirtualMachineScaleSetVMPublicIPAddressesPreparer prepares the ListVirtualMachineScaleSetVMPublicIPAddresses request.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesResponder

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetVMPublicIPAddressesResponder handles the response to the ListVirtualMachineScaleSetVMPublicIPAddresses request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesSender

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesSender(req *http.Request) (*http.Response, error)

ListVirtualMachineScaleSetVMPublicIPAddressesSender sends the ListVirtualMachineScaleSetVMPublicIPAddresses request. The method will close the http.Response Body if it receives an error.

type QueryTroubleshootingParameters

type QueryTroubleshootingParameters struct {
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

QueryTroubleshootingParameters is parameters that define the resource to query the troubleshooting result.

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is common resource representation.

type ResourceNavigationLink struct {
	ID                            *string `json:"id,omitempty"`
	*ResourceNavigationLinkFormat `json:"properties,omitempty"`
	Name                          *string `json:"name,omitempty"`
	Etag                          *string `json:"etag,omitempty"`
}

ResourceNavigationLink is resourceNavigationLink resource.

type ResourceNavigationLinkFormat

type ResourceNavigationLinkFormat struct {
	LinkedResourceType *string `json:"linkedResourceType,omitempty"`
	Link               *string `json:"link,omitempty"`
	ProvisioningState  *string `json:"provisioningState,omitempty"`
}

ResourceNavigationLinkFormat is properties of ResourceNavigationLink.

type RetentionPolicyParameters

type RetentionPolicyParameters struct {
	Days    *int32 `json:"days,omitempty"`
	Enabled *bool  `json:"enabled,omitempty"`
}

RetentionPolicyParameters is parameters that define the retention policy for flow log.

type Route

type Route struct {
	autorest.Response      `json:"-"`
	ID                     *string `json:"id,omitempty"`
	*RoutePropertiesFormat `json:"properties,omitempty"`
	Name                   *string `json:"name,omitempty"`
	Etag                   *string `json:"etag,omitempty"`
}

Route is route resource

type RouteFilter

type RouteFilter struct {
	autorest.Response            `json:"-"`
	ID                           *string             `json:"id,omitempty"`
	Name                         *string             `json:"name,omitempty"`
	Type                         *string             `json:"type,omitempty"`
	Location                     *string             `json:"location,omitempty"`
	Tags                         *map[string]*string `json:"tags,omitempty"`
	*RouteFilterPropertiesFormat `json:"properties,omitempty"`
	Etag                         *string `json:"etag,omitempty"`
}

RouteFilter is route Filter Resource.

type RouteFilterListResult

type RouteFilterListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RouteFilter `json:"value,omitempty"`
	NextLink          *string        `json:"nextLink,omitempty"`
}

RouteFilterListResult is response for the ListRouteFilters API service call.

func (RouteFilterListResult) RouteFilterListResultPreparer

func (client RouteFilterListResult) RouteFilterListResultPreparer() (*http.Request, error)

RouteFilterListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RouteFilterPropertiesFormat

type RouteFilterPropertiesFormat struct {
	Rules             *[]RouteFilterRule            `json:"rules,omitempty"`
	Peerings          *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
	ProvisioningState *string                       `json:"provisioningState,omitempty"`
}

RouteFilterPropertiesFormat is route Filter Resource

type RouteFilterRule

type RouteFilterRule struct {
	autorest.Response                `json:"-"`
	ID                               *string `json:"id,omitempty"`
	*RouteFilterRulePropertiesFormat `json:"properties,omitempty"`
	Name                             *string             `json:"name,omitempty"`
	Location                         *string             `json:"location,omitempty"`
	Etag                             *string             `json:"etag,omitempty"`
	Tags                             *map[string]*string `json:"tags,omitempty"`
}

RouteFilterRule is route Filter Rule Resource

type RouteFilterRuleListResult

type RouteFilterRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RouteFilterRule `json:"value,omitempty"`
	NextLink          *string            `json:"nextLink,omitempty"`
}

RouteFilterRuleListResult is response for the ListRouteFilterRules API service call

func (RouteFilterRuleListResult) RouteFilterRuleListResultPreparer

func (client RouteFilterRuleListResult) RouteFilterRuleListResultPreparer() (*http.Request, error)

RouteFilterRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RouteFilterRulePropertiesFormat

type RouteFilterRulePropertiesFormat struct {
	Access              Access    `json:"access,omitempty"`
	RouteFilterRuleType *string   `json:"routeFilterRuleType,omitempty"`
	Communities         *[]string `json:"communities,omitempty"`
	ProvisioningState   *string   `json:"provisioningState,omitempty"`
}

RouteFilterRulePropertiesFormat is route Filter Rule Resource

type RouteFilterRulesClient

type RouteFilterRulesClient struct {
	ManagementClient
}

RouteFilterRulesClient is the network Client

func NewRouteFilterRulesClient

func NewRouteFilterRulesClient(subscriptionID string) RouteFilterRulesClient

NewRouteFilterRulesClient creates an instance of the RouteFilterRulesClient client.

func NewRouteFilterRulesClientWithBaseURI

func NewRouteFilterRulesClientWithBaseURI(baseURI string, subscriptionID string) RouteFilterRulesClient

NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient client.

func (RouteFilterRulesClient) CreateOrUpdate

func (client RouteFilterRulesClient) CreateOrUpdate(resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule, cancel <-chan struct{}) (<-chan RouteFilterRule, <-chan error)

CreateOrUpdate creates or updates a route in the specified route filter. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName is the name of the route filter rule. routeFilterRuleParameters is parameters supplied to the create or update route filter rule operation.

func (RouteFilterRulesClient) CreateOrUpdatePreparer

func (client RouteFilterRulesClient) CreateOrUpdatePreparer(resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RouteFilterRulesClient) CreateOrUpdateResponder

func (client RouteFilterRulesClient) CreateOrUpdateResponder(resp *http.Response) (result RouteFilterRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RouteFilterRulesClient) CreateOrUpdateSender

func (client RouteFilterRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RouteFilterRulesClient) Delete

func (client RouteFilterRulesClient) Delete(resourceGroupName string, routeFilterName string, ruleName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified rule from a route filter. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName is the name of the rule.

func (RouteFilterRulesClient) DeletePreparer

func (client RouteFilterRulesClient) DeletePreparer(resourceGroupName string, routeFilterName string, ruleName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RouteFilterRulesClient) DeleteResponder

func (client RouteFilterRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RouteFilterRulesClient) DeleteSender

func (client RouteFilterRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RouteFilterRulesClient) Get

func (client RouteFilterRulesClient) Get(resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRule, err error)

Get gets the specified rule from a route filter.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName is the name of the rule.

func (RouteFilterRulesClient) GetPreparer

func (client RouteFilterRulesClient) GetPreparer(resourceGroupName string, routeFilterName string, ruleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RouteFilterRulesClient) GetResponder

func (client RouteFilterRulesClient) GetResponder(resp *http.Response) (result RouteFilterRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RouteFilterRulesClient) GetSender

func (client RouteFilterRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RouteFilterRulesClient) ListByRouteFilter

func (client RouteFilterRulesClient) ListByRouteFilter(resourceGroupName string, routeFilterName string) (result RouteFilterRuleListResult, err error)

ListByRouteFilter gets all RouteFilterRules in a route filter.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter.

func (RouteFilterRulesClient) ListByRouteFilterComplete

func (client RouteFilterRulesClient) ListByRouteFilterComplete(resourceGroupName string, routeFilterName string, cancel <-chan struct{}) (<-chan RouteFilterRule, <-chan error)

ListByRouteFilterComplete gets all elements from the list without paging.

func (RouteFilterRulesClient) ListByRouteFilterNextResults

func (client RouteFilterRulesClient) ListByRouteFilterNextResults(lastResults RouteFilterRuleListResult) (result RouteFilterRuleListResult, err error)

ListByRouteFilterNextResults retrieves the next set of results, if any.

func (RouteFilterRulesClient) ListByRouteFilterPreparer

func (client RouteFilterRulesClient) ListByRouteFilterPreparer(resourceGroupName string, routeFilterName string) (*http.Request, error)

ListByRouteFilterPreparer prepares the ListByRouteFilter request.

func (RouteFilterRulesClient) ListByRouteFilterResponder

func (client RouteFilterRulesClient) ListByRouteFilterResponder(resp *http.Response) (result RouteFilterRuleListResult, err error)

ListByRouteFilterResponder handles the response to the ListByRouteFilter request. The method always closes the http.Response Body.

func (RouteFilterRulesClient) ListByRouteFilterSender

func (client RouteFilterRulesClient) ListByRouteFilterSender(req *http.Request) (*http.Response, error)

ListByRouteFilterSender sends the ListByRouteFilter request. The method will close the http.Response Body if it receives an error.

func (RouteFilterRulesClient) Update

func (client RouteFilterRulesClient) Update(resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters PatchRouteFilterRule, cancel <-chan struct{}) (<-chan RouteFilterRule, <-chan error)

Update updates a route in the specified route filter. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. ruleName is the name of the route filter rule. routeFilterRuleParameters is parameters supplied to the update route filter rule operation.

func (RouteFilterRulesClient) UpdatePreparer

func (client RouteFilterRulesClient) UpdatePreparer(resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters PatchRouteFilterRule, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RouteFilterRulesClient) UpdateResponder

func (client RouteFilterRulesClient) UpdateResponder(resp *http.Response) (result RouteFilterRule, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RouteFilterRulesClient) UpdateSender

func (client RouteFilterRulesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RouteFiltersClient

type RouteFiltersClient struct {
	ManagementClient
}

RouteFiltersClient is the network Client

func NewRouteFiltersClient

func NewRouteFiltersClient(subscriptionID string) RouteFiltersClient

NewRouteFiltersClient creates an instance of the RouteFiltersClient client.

func NewRouteFiltersClientWithBaseURI

func NewRouteFiltersClientWithBaseURI(baseURI string, subscriptionID string) RouteFiltersClient

NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient client.

func (RouteFiltersClient) CreateOrUpdate

func (client RouteFiltersClient) CreateOrUpdate(resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter, cancel <-chan struct{}) (<-chan RouteFilter, <-chan error)

CreateOrUpdate creates or updates a route filter in a specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. routeFilterParameters is parameters supplied to the create or update route filter operation.

func (RouteFiltersClient) CreateOrUpdatePreparer

func (client RouteFiltersClient) CreateOrUpdatePreparer(resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RouteFiltersClient) CreateOrUpdateResponder

func (client RouteFiltersClient) CreateOrUpdateResponder(resp *http.Response) (result RouteFilter, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RouteFiltersClient) CreateOrUpdateSender

func (client RouteFiltersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RouteFiltersClient) Delete

func (client RouteFiltersClient) Delete(resourceGroupName string, routeFilterName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified route filter. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter.

func (RouteFiltersClient) DeletePreparer

func (client RouteFiltersClient) DeletePreparer(resourceGroupName string, routeFilterName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RouteFiltersClient) DeleteResponder

func (client RouteFiltersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RouteFiltersClient) DeleteSender

func (client RouteFiltersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RouteFiltersClient) Get

func (client RouteFiltersClient) Get(resourceGroupName string, routeFilterName string, expand string) (result RouteFilter, err error)

Get gets the specified route filter.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. expand is expands referenced express route bgp peering resources.

func (RouteFiltersClient) GetPreparer

func (client RouteFiltersClient) GetPreparer(resourceGroupName string, routeFilterName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RouteFiltersClient) GetResponder

func (client RouteFiltersClient) GetResponder(resp *http.Response) (result RouteFilter, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RouteFiltersClient) GetSender

func (client RouteFiltersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RouteFiltersClient) List

func (client RouteFiltersClient) List() (result RouteFilterListResult, err error)

List gets all route filters in a subscription.

func (RouteFiltersClient) ListByResourceGroup

func (client RouteFiltersClient) ListByResourceGroup(resourceGroupName string) (result RouteFilterListResult, err error)

ListByResourceGroup gets all route filters in a resource group.

resourceGroupName is the name of the resource group.

func (RouteFiltersClient) ListByResourceGroupComplete

func (client RouteFiltersClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan RouteFilter, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (RouteFiltersClient) ListByResourceGroupNextResults

func (client RouteFiltersClient) ListByResourceGroupNextResults(lastResults RouteFilterListResult) (result RouteFilterListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (RouteFiltersClient) ListByResourceGroupPreparer

func (client RouteFiltersClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (RouteFiltersClient) ListByResourceGroupResponder

func (client RouteFiltersClient) ListByResourceGroupResponder(resp *http.Response) (result RouteFilterListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (RouteFiltersClient) ListByResourceGroupSender

func (client RouteFiltersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (RouteFiltersClient) ListComplete

func (client RouteFiltersClient) ListComplete(cancel <-chan struct{}) (<-chan RouteFilter, <-chan error)

ListComplete gets all elements from the list without paging.

func (RouteFiltersClient) ListNextResults

func (client RouteFiltersClient) ListNextResults(lastResults RouteFilterListResult) (result RouteFilterListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (RouteFiltersClient) ListPreparer

func (client RouteFiltersClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (RouteFiltersClient) ListResponder

func (client RouteFiltersClient) ListResponder(resp *http.Response) (result RouteFilterListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RouteFiltersClient) ListSender

func (client RouteFiltersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (RouteFiltersClient) Update

func (client RouteFiltersClient) Update(resourceGroupName string, routeFilterName string, routeFilterParameters PatchRouteFilter, cancel <-chan struct{}) (<-chan RouteFilter, <-chan error)

Update updates a route filter in a specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeFilterName is the name of the route filter. routeFilterParameters is parameters supplied to the update route filter operation.

func (RouteFiltersClient) UpdatePreparer

func (client RouteFiltersClient) UpdatePreparer(resourceGroupName string, routeFilterName string, routeFilterParameters PatchRouteFilter, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RouteFiltersClient) UpdateResponder

func (client RouteFiltersClient) UpdateResponder(resp *http.Response) (result RouteFilter, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RouteFiltersClient) UpdateSender

func (client RouteFiltersClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RouteListResult

type RouteListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Route `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

RouteListResult is response for the ListRoute API service call

func (RouteListResult) RouteListResultPreparer

func (client RouteListResult) RouteListResultPreparer() (*http.Request, error)

RouteListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RouteNextHopType

type RouteNextHopType string

RouteNextHopType enumerates the values for route next hop type.

const (
	// RouteNextHopTypeInternet specifies the route next hop type internet state for route next hop type.
	RouteNextHopTypeInternet RouteNextHopType = "Internet"
	// RouteNextHopTypeNone specifies the route next hop type none state for route next hop type.
	RouteNextHopTypeNone RouteNextHopType = "None"
	// RouteNextHopTypeVirtualAppliance specifies the route next hop type virtual appliance state for route next hop type.
	RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance"
	// RouteNextHopTypeVirtualNetworkGateway specifies the route next hop type virtual network gateway state for route next
	// hop type.
	RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway"
	// RouteNextHopTypeVnetLocal specifies the route next hop type vnet local state for route next hop type.
	RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal"
)

type RoutePropertiesFormat

type RoutePropertiesFormat struct {
	AddressPrefix     *string          `json:"addressPrefix,omitempty"`
	NextHopType       RouteNextHopType `json:"nextHopType,omitempty"`
	NextHopIPAddress  *string          `json:"nextHopIpAddress,omitempty"`
	ProvisioningState *string          `json:"provisioningState,omitempty"`
}

RoutePropertiesFormat is route resource

type RouteTable

type RouteTable struct {
	autorest.Response           `json:"-"`
	ID                          *string             `json:"id,omitempty"`
	Name                        *string             `json:"name,omitempty"`
	Type                        *string             `json:"type,omitempty"`
	Location                    *string             `json:"location,omitempty"`
	Tags                        *map[string]*string `json:"tags,omitempty"`
	*RouteTablePropertiesFormat `json:"properties,omitempty"`
	Etag                        *string `json:"etag,omitempty"`
}

RouteTable is route table resource.

type RouteTableListResult

type RouteTableListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RouteTable `json:"value,omitempty"`
	NextLink          *string       `json:"nextLink,omitempty"`
}

RouteTableListResult is response for the ListRouteTable API service call.

func (RouteTableListResult) RouteTableListResultPreparer

func (client RouteTableListResult) RouteTableListResultPreparer() (*http.Request, error)

RouteTableListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RouteTablePropertiesFormat

type RouteTablePropertiesFormat struct {
	Routes            *[]Route  `json:"routes,omitempty"`
	Subnets           *[]Subnet `json:"subnets,omitempty"`
	ProvisioningState *string   `json:"provisioningState,omitempty"`
}

RouteTablePropertiesFormat is route Table resource

type RouteTablesClient

type RouteTablesClient struct {
	ManagementClient
}

RouteTablesClient is the network Client

func NewRouteTablesClient

func NewRouteTablesClient(subscriptionID string) RouteTablesClient

NewRouteTablesClient creates an instance of the RouteTablesClient client.

func NewRouteTablesClientWithBaseURI

func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient

NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client.

func (RouteTablesClient) CreateOrUpdate

func (client RouteTablesClient) CreateOrUpdate(resourceGroupName string, routeTableName string, parameters RouteTable, cancel <-chan struct{}) (<-chan RouteTable, <-chan error)

CreateOrUpdate create or updates a route table in a specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. parameters is parameters supplied to the create or update route table operation.

func (RouteTablesClient) CreateOrUpdatePreparer

func (client RouteTablesClient) CreateOrUpdatePreparer(resourceGroupName string, routeTableName string, parameters RouteTable, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RouteTablesClient) CreateOrUpdateResponder

func (client RouteTablesClient) CreateOrUpdateResponder(resp *http.Response) (result RouteTable, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RouteTablesClient) CreateOrUpdateSender

func (client RouteTablesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RouteTablesClient) Delete

func (client RouteTablesClient) Delete(resourceGroupName string, routeTableName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified route table. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table.

func (RouteTablesClient) DeletePreparer

func (client RouteTablesClient) DeletePreparer(resourceGroupName string, routeTableName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RouteTablesClient) DeleteResponder

func (client RouteTablesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RouteTablesClient) DeleteSender

func (client RouteTablesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RouteTablesClient) Get

func (client RouteTablesClient) Get(resourceGroupName string, routeTableName string, expand string) (result RouteTable, err error)

Get gets the specified route table.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. expand is expands referenced resources.

func (RouteTablesClient) GetPreparer

func (client RouteTablesClient) GetPreparer(resourceGroupName string, routeTableName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RouteTablesClient) GetResponder

func (client RouteTablesClient) GetResponder(resp *http.Response) (result RouteTable, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RouteTablesClient) GetSender

func (client RouteTablesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RouteTablesClient) List

func (client RouteTablesClient) List(resourceGroupName string) (result RouteTableListResult, err error)

List gets all route tables in a resource group.

resourceGroupName is the name of the resource group.

func (RouteTablesClient) ListAll

func (client RouteTablesClient) ListAll() (result RouteTableListResult, err error)

ListAll gets all route tables in a subscription.

func (RouteTablesClient) ListAllComplete

func (client RouteTablesClient) ListAllComplete(cancel <-chan struct{}) (<-chan RouteTable, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (RouteTablesClient) ListAllNextResults

func (client RouteTablesClient) ListAllNextResults(lastResults RouteTableListResult) (result RouteTableListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (RouteTablesClient) ListAllPreparer

func (client RouteTablesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (RouteTablesClient) ListAllResponder

func (client RouteTablesClient) ListAllResponder(resp *http.Response) (result RouteTableListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (RouteTablesClient) ListAllSender

func (client RouteTablesClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (RouteTablesClient) ListComplete

func (client RouteTablesClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan RouteTable, <-chan error)

ListComplete gets all elements from the list without paging.

func (RouteTablesClient) ListNextResults

func (client RouteTablesClient) ListNextResults(lastResults RouteTableListResult) (result RouteTableListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (RouteTablesClient) ListPreparer

func (client RouteTablesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (RouteTablesClient) ListResponder

func (client RouteTablesClient) ListResponder(resp *http.Response) (result RouteTableListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RouteTablesClient) ListSender

func (client RouteTablesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type RoutesClient

type RoutesClient struct {
	ManagementClient
}

RoutesClient is the network Client

func NewRoutesClient

func NewRoutesClient(subscriptionID string) RoutesClient

NewRoutesClient creates an instance of the RoutesClient client.

func NewRoutesClientWithBaseURI

func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient

NewRoutesClientWithBaseURI creates an instance of the RoutesClient client.

func (RoutesClient) CreateOrUpdate

func (client RoutesClient) CreateOrUpdate(resourceGroupName string, routeTableName string, routeName string, routeParameters Route, cancel <-chan struct{}) (<-chan Route, <-chan error)

CreateOrUpdate creates or updates a route in the specified route table. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is the name of the route. routeParameters is parameters supplied to the create or update route operation.

func (RoutesClient) CreateOrUpdatePreparer

func (client RoutesClient) CreateOrUpdatePreparer(resourceGroupName string, routeTableName string, routeName string, routeParameters Route, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RoutesClient) CreateOrUpdateResponder

func (client RoutesClient) CreateOrUpdateResponder(resp *http.Response) (result Route, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RoutesClient) CreateOrUpdateSender

func (client RoutesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RoutesClient) Delete

func (client RoutesClient) Delete(resourceGroupName string, routeTableName string, routeName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified route from a route table. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is the name of the route.

func (RoutesClient) DeletePreparer

func (client RoutesClient) DeletePreparer(resourceGroupName string, routeTableName string, routeName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RoutesClient) DeleteResponder

func (client RoutesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RoutesClient) DeleteSender

func (client RoutesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RoutesClient) Get

func (client RoutesClient) Get(resourceGroupName string, routeTableName string, routeName string) (result Route, err error)

Get gets the specified route from a route table.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table. routeName is the name of the route.

func (RoutesClient) GetPreparer

func (client RoutesClient) GetPreparer(resourceGroupName string, routeTableName string, routeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RoutesClient) GetResponder

func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RoutesClient) GetSender

func (client RoutesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RoutesClient) List

func (client RoutesClient) List(resourceGroupName string, routeTableName string) (result RouteListResult, err error)

List gets all routes in a route table.

resourceGroupName is the name of the resource group. routeTableName is the name of the route table.

func (RoutesClient) ListComplete

func (client RoutesClient) ListComplete(resourceGroupName string, routeTableName string, cancel <-chan struct{}) (<-chan Route, <-chan error)

ListComplete gets all elements from the list without paging.

func (RoutesClient) ListNextResults

func (client RoutesClient) ListNextResults(lastResults RouteListResult) (result RouteListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (RoutesClient) ListPreparer

func (client RoutesClient) ListPreparer(resourceGroupName string, routeTableName string) (*http.Request, error)

ListPreparer prepares the List request.

func (RoutesClient) ListResponder

func (client RoutesClient) ListResponder(resp *http.Response) (result RouteListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RoutesClient) ListSender

func (client RoutesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SecurityGroup

type SecurityGroup struct {
	autorest.Response              `json:"-"`
	ID                             *string             `json:"id,omitempty"`
	Name                           *string             `json:"name,omitempty"`
	Type                           *string             `json:"type,omitempty"`
	Location                       *string             `json:"location,omitempty"`
	Tags                           *map[string]*string `json:"tags,omitempty"`
	*SecurityGroupPropertiesFormat `json:"properties,omitempty"`
	Etag                           *string `json:"etag,omitempty"`
}

SecurityGroup is networkSecurityGroup resource.

type SecurityGroupListResult

type SecurityGroupListResult struct {
	autorest.Response `json:"-"`
	Value             *[]SecurityGroup `json:"value,omitempty"`
	NextLink          *string          `json:"nextLink,omitempty"`
}

SecurityGroupListResult is response for ListNetworkSecurityGroups API service call.

func (SecurityGroupListResult) SecurityGroupListResultPreparer

func (client SecurityGroupListResult) SecurityGroupListResultPreparer() (*http.Request, error)

SecurityGroupListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SecurityGroupNetworkInterface

type SecurityGroupNetworkInterface struct {
	ID                       *string                   `json:"id,omitempty"`
	SecurityRuleAssociations *SecurityRuleAssociations `json:"securityRuleAssociations,omitempty"`
}

SecurityGroupNetworkInterface is network interface and all its associated security rules.

type SecurityGroupPropertiesFormat

type SecurityGroupPropertiesFormat struct {
	SecurityRules        *[]SecurityRule `json:"securityRules,omitempty"`
	DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"`
	NetworkInterfaces    *[]Interface    `json:"networkInterfaces,omitempty"`
	Subnets              *[]Subnet       `json:"subnets,omitempty"`
	ResourceGUID         *string         `json:"resourceGuid,omitempty"`
	ProvisioningState    *string         `json:"provisioningState,omitempty"`
}

SecurityGroupPropertiesFormat is network Security Group resource.

type SecurityGroupViewParameters

type SecurityGroupViewParameters struct {
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

SecurityGroupViewParameters is parameters that define the VM to check security groups for.

type SecurityGroupViewResult

type SecurityGroupViewResult struct {
	autorest.Response `json:"-"`
	NetworkInterfaces *[]SecurityGroupNetworkInterface `json:"networkInterfaces,omitempty"`
}

SecurityGroupViewResult is the information about security rules applied to the specified VM.

type SecurityGroupsClient

type SecurityGroupsClient struct {
	ManagementClient
}

SecurityGroupsClient is the network Client

func NewSecurityGroupsClient

func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient

NewSecurityGroupsClient creates an instance of the SecurityGroupsClient client.

func NewSecurityGroupsClientWithBaseURI

func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient

NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client.

func (SecurityGroupsClient) CreateOrUpdate

func (client SecurityGroupsClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup, cancel <-chan struct{}) (<-chan SecurityGroup, <-chan error)

CreateOrUpdate creates or updates a network security group in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. parameters is parameters supplied to the create or update network security group operation.

func (SecurityGroupsClient) CreateOrUpdatePreparer

func (client SecurityGroupsClient) CreateOrUpdatePreparer(resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SecurityGroupsClient) CreateOrUpdateResponder

func (client SecurityGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SecurityGroupsClient) CreateOrUpdateSender

func (client SecurityGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SecurityGroupsClient) Delete

func (client SecurityGroupsClient) Delete(resourceGroupName string, networkSecurityGroupName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified network security group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group.

func (SecurityGroupsClient) DeletePreparer

func (client SecurityGroupsClient) DeletePreparer(resourceGroupName string, networkSecurityGroupName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecurityGroupsClient) DeleteResponder

func (client SecurityGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SecurityGroupsClient) DeleteSender

func (client SecurityGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SecurityGroupsClient) Get

func (client SecurityGroupsClient) Get(resourceGroupName string, networkSecurityGroupName string, expand string) (result SecurityGroup, err error)

Get gets the specified network security group.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. expand is expands referenced resources.

func (SecurityGroupsClient) GetPreparer

func (client SecurityGroupsClient) GetPreparer(resourceGroupName string, networkSecurityGroupName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecurityGroupsClient) GetResponder

func (client SecurityGroupsClient) GetResponder(resp *http.Response) (result SecurityGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SecurityGroupsClient) GetSender

func (client SecurityGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SecurityGroupsClient) List

func (client SecurityGroupsClient) List(resourceGroupName string) (result SecurityGroupListResult, err error)

List gets all network security groups in a resource group.

resourceGroupName is the name of the resource group.

func (SecurityGroupsClient) ListAll

func (client SecurityGroupsClient) ListAll() (result SecurityGroupListResult, err error)

ListAll gets all network security groups in a subscription.

func (SecurityGroupsClient) ListAllComplete

func (client SecurityGroupsClient) ListAllComplete(cancel <-chan struct{}) (<-chan SecurityGroup, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (SecurityGroupsClient) ListAllNextResults

func (client SecurityGroupsClient) ListAllNextResults(lastResults SecurityGroupListResult) (result SecurityGroupListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (SecurityGroupsClient) ListAllPreparer

func (client SecurityGroupsClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (SecurityGroupsClient) ListAllResponder

func (client SecurityGroupsClient) ListAllResponder(resp *http.Response) (result SecurityGroupListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (SecurityGroupsClient) ListAllSender

func (client SecurityGroupsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (SecurityGroupsClient) ListComplete

func (client SecurityGroupsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan SecurityGroup, <-chan error)

ListComplete gets all elements from the list without paging.

func (SecurityGroupsClient) ListNextResults

func (client SecurityGroupsClient) ListNextResults(lastResults SecurityGroupListResult) (result SecurityGroupListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (SecurityGroupsClient) ListPreparer

func (client SecurityGroupsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SecurityGroupsClient) ListResponder

func (client SecurityGroupsClient) ListResponder(resp *http.Response) (result SecurityGroupListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SecurityGroupsClient) ListSender

func (client SecurityGroupsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SecurityRule

type SecurityRule struct {
	autorest.Response             `json:"-"`
	ID                            *string `json:"id,omitempty"`
	*SecurityRulePropertiesFormat `json:"properties,omitempty"`
	Name                          *string `json:"name,omitempty"`
	Etag                          *string `json:"etag,omitempty"`
}

SecurityRule is network security rule.

type SecurityRuleAccess

type SecurityRuleAccess string

SecurityRuleAccess enumerates the values for security rule access.

const (
	// SecurityRuleAccessAllow specifies the security rule access allow state for security rule access.
	SecurityRuleAccessAllow SecurityRuleAccess = "Allow"
	// SecurityRuleAccessDeny specifies the security rule access deny state for security rule access.
	SecurityRuleAccessDeny SecurityRuleAccess = "Deny"
)

type SecurityRuleAssociations

type SecurityRuleAssociations struct {
	NetworkInterfaceAssociation *InterfaceAssociation           `json:"networkInterfaceAssociation,omitempty"`
	SubnetAssociation           *SubnetAssociation              `json:"subnetAssociation,omitempty"`
	DefaultSecurityRules        *[]SecurityRule                 `json:"defaultSecurityRules,omitempty"`
	EffectiveSecurityRules      *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`
}

SecurityRuleAssociations is all security rules associated with the network interface.

type SecurityRuleDirection

type SecurityRuleDirection string

SecurityRuleDirection enumerates the values for security rule direction.

const (
	// SecurityRuleDirectionInbound specifies the security rule direction inbound state for security rule direction.
	SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound"
	// SecurityRuleDirectionOutbound specifies the security rule direction outbound state for security rule direction.
	SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound"
)

type SecurityRuleListResult

type SecurityRuleListResult struct {
	autorest.Response `json:"-"`
	Value             *[]SecurityRule `json:"value,omitempty"`
	NextLink          *string         `json:"nextLink,omitempty"`
}

SecurityRuleListResult is response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group.

func (SecurityRuleListResult) SecurityRuleListResultPreparer

func (client SecurityRuleListResult) SecurityRuleListResultPreparer() (*http.Request, error)

SecurityRuleListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SecurityRulePropertiesFormat

type SecurityRulePropertiesFormat struct {
	Description                          *string                     `json:"description,omitempty"`
	Protocol                             SecurityRuleProtocol        `json:"protocol,omitempty"`
	SourcePortRange                      *string                     `json:"sourcePortRange,omitempty"`
	DestinationPortRange                 *string                     `json:"destinationPortRange,omitempty"`
	SourceAddressPrefix                  *string                     `json:"sourceAddressPrefix,omitempty"`
	SourceAddressPrefixes                *[]string                   `json:"sourceAddressPrefixes,omitempty"`
	SourceApplicationSecurityGroups      *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"`
	DestinationAddressPrefix             *string                     `json:"destinationAddressPrefix,omitempty"`
	DestinationAddressPrefixes           *[]string                   `json:"destinationAddressPrefixes,omitempty"`
	DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"`
	SourcePortRanges                     *[]string                   `json:"sourcePortRanges,omitempty"`
	DestinationPortRanges                *[]string                   `json:"destinationPortRanges,omitempty"`
	Access                               SecurityRuleAccess          `json:"access,omitempty"`
	Priority                             *int32                      `json:"priority,omitempty"`
	Direction                            SecurityRuleDirection       `json:"direction,omitempty"`
	ProvisioningState                    *string                     `json:"provisioningState,omitempty"`
}

SecurityRulePropertiesFormat is security rule resource.

type SecurityRuleProtocol

type SecurityRuleProtocol string

SecurityRuleProtocol enumerates the values for security rule protocol.

const (
	// SecurityRuleProtocolAsterisk specifies the security rule protocol asterisk state for security rule protocol.
	SecurityRuleProtocolAsterisk SecurityRuleProtocol = "*"
	// SecurityRuleProtocolTCP specifies the security rule protocol tcp state for security rule protocol.
	SecurityRuleProtocolTCP SecurityRuleProtocol = "Tcp"
	// SecurityRuleProtocolUDP specifies the security rule protocol udp state for security rule protocol.
	SecurityRuleProtocolUDP SecurityRuleProtocol = "Udp"
)

type SecurityRulesClient

type SecurityRulesClient struct {
	ManagementClient
}

SecurityRulesClient is the network Client

func NewSecurityRulesClient

func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient

NewSecurityRulesClient creates an instance of the SecurityRulesClient client.

func NewSecurityRulesClientWithBaseURI

func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient

NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client.

func (SecurityRulesClient) CreateOrUpdate

func (client SecurityRulesClient) CreateOrUpdate(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, cancel <-chan struct{}) (<-chan SecurityRule, <-chan error)

CreateOrUpdate creates or updates a security rule in the specified network security group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. securityRuleName is the name of the security rule. securityRuleParameters is parameters supplied to the create or update network security rule operation.

func (SecurityRulesClient) CreateOrUpdatePreparer

func (client SecurityRulesClient) CreateOrUpdatePreparer(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SecurityRulesClient) CreateOrUpdateResponder

func (client SecurityRulesClient) CreateOrUpdateResponder(resp *http.Response) (result SecurityRule, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SecurityRulesClient) CreateOrUpdateSender

func (client SecurityRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SecurityRulesClient) Delete

func (client SecurityRulesClient) Delete(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified network security rule. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. securityRuleName is the name of the security rule.

func (SecurityRulesClient) DeletePreparer

func (client SecurityRulesClient) DeletePreparer(resourceGroupName string, networkSecurityGroupName string, securityRuleName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecurityRulesClient) DeleteResponder

func (client SecurityRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SecurityRulesClient) DeleteSender

func (client SecurityRulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SecurityRulesClient) Get

func (client SecurityRulesClient) Get(resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, err error)

Get get the specified network security rule.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group. securityRuleName is the name of the security rule.

func (SecurityRulesClient) GetPreparer

func (client SecurityRulesClient) GetPreparer(resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecurityRulesClient) GetResponder

func (client SecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SecurityRulesClient) GetSender

func (client SecurityRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SecurityRulesClient) List

func (client SecurityRulesClient) List(resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResult, err error)

List gets all security rules in a network security group.

resourceGroupName is the name of the resource group. networkSecurityGroupName is the name of the network security group.

func (SecurityRulesClient) ListComplete

func (client SecurityRulesClient) ListComplete(resourceGroupName string, networkSecurityGroupName string, cancel <-chan struct{}) (<-chan SecurityRule, <-chan error)

ListComplete gets all elements from the list without paging.

func (SecurityRulesClient) ListNextResults

func (client SecurityRulesClient) ListNextResults(lastResults SecurityRuleListResult) (result SecurityRuleListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (SecurityRulesClient) ListPreparer

func (client SecurityRulesClient) ListPreparer(resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SecurityRulesClient) ListResponder

func (client SecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SecurityRulesClient) ListSender

func (client SecurityRulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ServiceEndpointPropertiesFormat

type ServiceEndpointPropertiesFormat struct {
	Service           *string   `json:"service,omitempty"`
	Locations         *[]string `json:"locations,omitempty"`
	ProvisioningState *string   `json:"provisioningState,omitempty"`
}

ServiceEndpointPropertiesFormat is the service endpoint properties.

type ServiceProviderProvisioningState

type ServiceProviderProvisioningState string

ServiceProviderProvisioningState enumerates the values for service provider provisioning state.

const (
	// Deprovisioning specifies the deprovisioning state for service provider provisioning state.
	Deprovisioning ServiceProviderProvisioningState = "Deprovisioning"
	// NotProvisioned specifies the not provisioned state for service provider provisioning state.
	NotProvisioned ServiceProviderProvisioningState = "NotProvisioned"
	// Provisioned specifies the provisioned state for service provider provisioning state.
	Provisioned ServiceProviderProvisioningState = "Provisioned"
	// Provisioning specifies the provisioning state for service provider provisioning state.
	Provisioning ServiceProviderProvisioningState = "Provisioning"
)

type Severity

type Severity string

Severity enumerates the values for severity.

const (
	// SeverityError specifies the severity error state for severity.
	SeverityError Severity = "Error"
	// SeverityWarning specifies the severity warning state for severity.
	SeverityWarning Severity = "Warning"
)

type String

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

String is

type SubResource

type SubResource struct {
	ID *string `json:"id,omitempty"`
}

SubResource is reference to another subresource.

type Subnet

type Subnet struct {
	autorest.Response       `json:"-"`
	ID                      *string `json:"id,omitempty"`
	*SubnetPropertiesFormat `json:"properties,omitempty"`
	Name                    *string `json:"name,omitempty"`
	Etag                    *string `json:"etag,omitempty"`
}

Subnet is subnet in a virtual network resource.

type SubnetAssociation

type SubnetAssociation struct {
	ID            *string         `json:"id,omitempty"`
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
}

SubnetAssociation is network interface and its custom security rules.

type SubnetListResult

type SubnetListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Subnet `json:"value,omitempty"`
	NextLink          *string   `json:"nextLink,omitempty"`
}

SubnetListResult is response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network

func (SubnetListResult) SubnetListResultPreparer

func (client SubnetListResult) SubnetListResultPreparer() (*http.Request, error)

SubnetListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SubnetPropertiesFormat

type SubnetPropertiesFormat struct {
	AddressPrefix           *string                            `json:"addressPrefix,omitempty"`
	NetworkSecurityGroup    *SecurityGroup                     `json:"networkSecurityGroup,omitempty"`
	RouteTable              *RouteTable                        `json:"routeTable,omitempty"`
	ServiceEndpoints        *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"`
	IPConfigurations        *[]IPConfiguration                 `json:"ipConfigurations,omitempty"`
	ResourceNavigationLinks *[]ResourceNavigationLink          `json:"resourceNavigationLinks,omitempty"`
	ProvisioningState       *string                            `json:"provisioningState,omitempty"`
}

SubnetPropertiesFormat is properties of the subnet.

type SubnetsClient

type SubnetsClient struct {
	ManagementClient
}

SubnetsClient is the network Client

func NewSubnetsClient

func NewSubnetsClient(subscriptionID string) SubnetsClient

NewSubnetsClient creates an instance of the SubnetsClient client.

func NewSubnetsClientWithBaseURI

func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient

NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client.

func (SubnetsClient) CreateOrUpdate

func (client SubnetsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, cancel <-chan struct{}) (<-chan Subnet, <-chan error)

CreateOrUpdate creates or updates a subnet in the specified virtual network. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. subnetName is the name of the subnet. subnetParameters is parameters supplied to the create or update subnet operation.

func (SubnetsClient) CreateOrUpdatePreparer

func (client SubnetsClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SubnetsClient) CreateOrUpdateResponder

func (client SubnetsClient) CreateOrUpdateResponder(resp *http.Response) (result Subnet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SubnetsClient) CreateOrUpdateSender

func (client SubnetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SubnetsClient) Delete

func (client SubnetsClient) Delete(resourceGroupName string, virtualNetworkName string, subnetName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified subnet. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. subnetName is the name of the subnet.

func (SubnetsClient) DeletePreparer

func (client SubnetsClient) DeletePreparer(resourceGroupName string, virtualNetworkName string, subnetName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SubnetsClient) DeleteResponder

func (client SubnetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SubnetsClient) DeleteSender

func (client SubnetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SubnetsClient) Get

func (client SubnetsClient) Get(resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result Subnet, err error)

Get gets the specified subnet by virtual network and resource group.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. subnetName is the name of the subnet. expand is expands referenced resources.

func (SubnetsClient) GetPreparer

func (client SubnetsClient) GetPreparer(resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SubnetsClient) GetResponder

func (client SubnetsClient) GetResponder(resp *http.Response) (result Subnet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SubnetsClient) GetSender

func (client SubnetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SubnetsClient) List

func (client SubnetsClient) List(resourceGroupName string, virtualNetworkName string) (result SubnetListResult, err error)

List gets all subnets in a virtual network.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network.

func (SubnetsClient) ListComplete

func (client SubnetsClient) ListComplete(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (<-chan Subnet, <-chan error)

ListComplete gets all elements from the list without paging.

func (SubnetsClient) ListNextResults

func (client SubnetsClient) ListNextResults(lastResults SubnetListResult) (result SubnetListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (SubnetsClient) ListPreparer

func (client SubnetsClient) ListPreparer(resourceGroupName string, virtualNetworkName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SubnetsClient) ListResponder

func (client SubnetsClient) ListResponder(resp *http.Response) (result SubnetListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SubnetsClient) ListSender

func (client SubnetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Topology

type Topology struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	CreatedDateTime   *date.Time          `json:"createdDateTime,omitempty"`
	LastModified      *date.Time          `json:"lastModified,omitempty"`
	Resources         *[]TopologyResource `json:"resources,omitempty"`
}

Topology is topology of the specified resource group.

type TopologyAssociation

type TopologyAssociation struct {
	Name            *string         `json:"name,omitempty"`
	ResourceID      *string         `json:"resourceId,omitempty"`
	AssociationType AssociationType `json:"associationType,omitempty"`
}

TopologyAssociation is resources that have an association with the parent resource.

type TopologyParameters

type TopologyParameters struct {
	TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"`
}

TopologyParameters is parameters that define the representation of topology.

type TopologyResource

type TopologyResource struct {
	Name         *string                `json:"name,omitempty"`
	ID           *string                `json:"id,omitempty"`
	Location     *string                `json:"location,omitempty"`
	Associations *[]TopologyAssociation `json:"associations,omitempty"`
}

TopologyResource is the network resource topology information for the given resource group.

type TransportProtocol

type TransportProtocol string

TransportProtocol enumerates the values for transport protocol.

const (
	// TransportProtocolAll specifies the transport protocol all state for transport protocol.
	TransportProtocolAll TransportProtocol = "All"
	// TransportProtocolTCP specifies the transport protocol tcp state for transport protocol.
	TransportProtocolTCP TransportProtocol = "Tcp"
	// TransportProtocolUDP specifies the transport protocol udp state for transport protocol.
	TransportProtocolUDP TransportProtocol = "Udp"
)

type TroubleshootingDetails

type TroubleshootingDetails struct {
	ID                 *string                              `json:"id,omitempty"`
	ReasonType         *string                              `json:"reasonType,omitempty"`
	Summary            *string                              `json:"summary,omitempty"`
	Detail             *string                              `json:"detail,omitempty"`
	RecommendedActions *[]TroubleshootingRecommendedActions `json:"recommendedActions,omitempty"`
}

TroubleshootingDetails is information gained from troubleshooting of specified resource.

type TroubleshootingParameters

type TroubleshootingParameters struct {
	TargetResourceID           *string `json:"targetResourceId,omitempty"`
	*TroubleshootingProperties `json:"properties,omitempty"`
}

TroubleshootingParameters is parameters that define the resource to troubleshoot.

type TroubleshootingProperties

type TroubleshootingProperties struct {
	StorageID   *string `json:"storageId,omitempty"`
	StoragePath *string `json:"storagePath,omitempty"`
}

TroubleshootingProperties is storage location provided for troubleshoot.

type TroubleshootingRecommendedActions

type TroubleshootingRecommendedActions struct {
	ActionID      *string `json:"actionId,omitempty"`
	ActionText    *string `json:"actionText,omitempty"`
	ActionURI     *string `json:"actionUri,omitempty"`
	ActionURIText *string `json:"actionUriText,omitempty"`
}

TroubleshootingRecommendedActions is recommended actions based on discovered issues.

type TroubleshootingResult

type TroubleshootingResult struct {
	autorest.Response `json:"-"`
	StartTime         *date.Time                `json:"startTime,omitempty"`
	EndTime           *date.Time                `json:"endTime,omitempty"`
	Code              *string                   `json:"code,omitempty"`
	Results           *[]TroubleshootingDetails `json:"results,omitempty"`
}

TroubleshootingResult is troubleshooting information gained from specified resource.

type TunnelConnectionHealth

type TunnelConnectionHealth struct {
	Tunnel                           *string                               `json:"tunnel,omitempty"`
	ConnectionStatus                 VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	IngressBytesTransferred          *int64                                `json:"ingressBytesTransferred,omitempty"`
	EgressBytesTransferred           *int64                                `json:"egressBytesTransferred,omitempty"`
	LastConnectionEstablishedUtcTime *string                               `json:"lastConnectionEstablishedUtcTime,omitempty"`
}

TunnelConnectionHealth is virtualNetworkGatewayConnection properties

type Usage

type Usage struct {
	ID           *string    `json:"id,omitempty"`
	Unit         *string    `json:"unit,omitempty"`
	CurrentValue *int64     `json:"currentValue,omitempty"`
	Limit        *int64     `json:"limit,omitempty"`
	Name         *UsageName `json:"name,omitempty"`
}

Usage is describes network resource usage.

type UsageName

type UsageName struct {
	Value          *string `json:"value,omitempty"`
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageName is the usage names.

type UsagesClient

type UsagesClient struct {
	ManagementClient
}

UsagesClient is the network Client

func NewUsagesClient

func NewUsagesClient(subscriptionID string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client.

func (UsagesClient) List

func (client UsagesClient) List(location string) (result UsagesListResult, err error)

List list network usages for a subscription.

location is the location where resource usage is queried.

func (UsagesClient) ListComplete

func (client UsagesClient) ListComplete(location string, cancel <-chan struct{}) (<-chan Usage, <-chan error)

ListComplete gets all elements from the list without paging.

func (UsagesClient) ListNextResults

func (client UsagesClient) ListNextResults(lastResults UsagesListResult) (result UsagesListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (UsagesClient) ListPreparer

func (client UsagesClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsagesClient) ListResponder

func (client UsagesClient) ListResponder(resp *http.Response) (result UsagesListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (UsagesClient) ListSender

func (client UsagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type UsagesListResult

type UsagesListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Usage `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

UsagesListResult is the list usages operation response.

func (UsagesListResult) UsagesListResultPreparer

func (client UsagesListResult) UsagesListResultPreparer() (*http.Request, error)

UsagesListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VerificationIPFlowParameters

type VerificationIPFlowParameters struct {
	TargetResourceID    *string   `json:"targetResourceId,omitempty"`
	Direction           Direction `json:"direction,omitempty"`
	Protocol            Protocol  `json:"protocol,omitempty"`
	LocalPort           *string   `json:"localPort,omitempty"`
	RemotePort          *string   `json:"remotePort,omitempty"`
	LocalIPAddress      *string   `json:"localIPAddress,omitempty"`
	RemoteIPAddress     *string   `json:"remoteIPAddress,omitempty"`
	TargetNicResourceID *string   `json:"targetNicResourceId,omitempty"`
}

VerificationIPFlowParameters is parameters that define the IP flow to be verified.

type VerificationIPFlowResult

type VerificationIPFlowResult struct {
	autorest.Response `json:"-"`
	Access            Access  `json:"access,omitempty"`
	RuleName          *string `json:"ruleName,omitempty"`
}

VerificationIPFlowResult is results of IP flow verification on the target resource.

type VirtualNetwork

type VirtualNetwork struct {
	autorest.Response               `json:"-"`
	ID                              *string             `json:"id,omitempty"`
	Name                            *string             `json:"name,omitempty"`
	Type                            *string             `json:"type,omitempty"`
	Location                        *string             `json:"location,omitempty"`
	Tags                            *map[string]*string `json:"tags,omitempty"`
	*VirtualNetworkPropertiesFormat `json:"properties,omitempty"`
	Etag                            *string `json:"etag,omitempty"`
}

VirtualNetwork is virtual Network resource.

type VirtualNetworkConnectionGatewayReference

type VirtualNetworkConnectionGatewayReference struct {
	ID *string `json:"id,omitempty"`
}

VirtualNetworkConnectionGatewayReference is a reference to VirtualNetworkGateway or LocalNetworkGateway resource.

type VirtualNetworkGateway

type VirtualNetworkGateway struct {
	autorest.Response                      `json:"-"`
	ID                                     *string             `json:"id,omitempty"`
	Name                                   *string             `json:"name,omitempty"`
	Type                                   *string             `json:"type,omitempty"`
	Location                               *string             `json:"location,omitempty"`
	Tags                                   *map[string]*string `json:"tags,omitempty"`
	*VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
	Etag                                   *string `json:"etag,omitempty"`
}

VirtualNetworkGateway is a common class for general resource information

type VirtualNetworkGatewayConnection

type VirtualNetworkGatewayConnection struct {
	autorest.Response                                `json:"-"`
	ID                                               *string             `json:"id,omitempty"`
	Name                                             *string             `json:"name,omitempty"`
	Type                                             *string             `json:"type,omitempty"`
	Location                                         *string             `json:"location,omitempty"`
	Tags                                             *map[string]*string `json:"tags,omitempty"`
	*VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"`
	Etag                                             *string `json:"etag,omitempty"`
}

VirtualNetworkGatewayConnection is a common class for general resource information

type VirtualNetworkGatewayConnectionListEntity

type VirtualNetworkGatewayConnectionListEntity struct {
	ID                                                         *string             `json:"id,omitempty"`
	Name                                                       *string             `json:"name,omitempty"`
	Type                                                       *string             `json:"type,omitempty"`
	Location                                                   *string             `json:"location,omitempty"`
	Tags                                                       *map[string]*string `json:"tags,omitempty"`
	*VirtualNetworkGatewayConnectionListEntityPropertiesFormat `json:"properties,omitempty"`
	Etag                                                       *string `json:"etag,omitempty"`
}

VirtualNetworkGatewayConnectionListEntity is a common class for general resource information

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat struct {
	AuthorizationKey               *string                                   `json:"authorizationKey,omitempty"`
	VirtualNetworkGateway1         *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway1,omitempty"`
	VirtualNetworkGateway2         *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway2,omitempty"`
	LocalNetworkGateway2           *VirtualNetworkConnectionGatewayReference `json:"localNetworkGateway2,omitempty"`
	ConnectionType                 VirtualNetworkGatewayConnectionType       `json:"connectionType,omitempty"`
	RoutingWeight                  *int32                                    `json:"routingWeight,omitempty"`
	SharedKey                      *string                                   `json:"sharedKey,omitempty"`
	ConnectionStatus               VirtualNetworkGatewayConnectionStatus     `json:"connectionStatus,omitempty"`
	TunnelConnectionStatus         *[]TunnelConnectionHealth                 `json:"tunnelConnectionStatus,omitempty"`
	EgressBytesTransferred         *int64                                    `json:"egressBytesTransferred,omitempty"`
	IngressBytesTransferred        *int64                                    `json:"ingressBytesTransferred,omitempty"`
	Peer                           *SubResource                              `json:"peer,omitempty"`
	EnableBgp                      *bool                                     `json:"enableBgp,omitempty"`
	UsePolicyBasedTrafficSelectors *bool                                     `json:"usePolicyBasedTrafficSelectors,omitempty"`
	IpsecPolicies                  *[]IpsecPolicy                            `json:"ipsecPolicies,omitempty"`
	ResourceGUID                   *string                                   `json:"resourceGuid,omitempty"`
	ProvisioningState              *string                                   `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayConnectionListEntityPropertiesFormat is virtualNetworkGatewayConnection properties

type VirtualNetworkGatewayConnectionListResult

type VirtualNetworkGatewayConnectionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkGatewayConnection `json:"value,omitempty"`
	NextLink          *string                            `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayConnectionListResult is response for the ListVirtualNetworkGatewayConnections API service call

func (VirtualNetworkGatewayConnectionListResult) VirtualNetworkGatewayConnectionListResultPreparer

func (client VirtualNetworkGatewayConnectionListResult) VirtualNetworkGatewayConnectionListResultPreparer() (*http.Request, error)

VirtualNetworkGatewayConnectionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkGatewayConnectionPropertiesFormat

type VirtualNetworkGatewayConnectionPropertiesFormat struct {
	AuthorizationKey               *string                               `json:"authorizationKey,omitempty"`
	VirtualNetworkGateway1         *VirtualNetworkGateway                `json:"virtualNetworkGateway1,omitempty"`
	VirtualNetworkGateway2         *VirtualNetworkGateway                `json:"virtualNetworkGateway2,omitempty"`
	LocalNetworkGateway2           *LocalNetworkGateway                  `json:"localNetworkGateway2,omitempty"`
	ConnectionType                 VirtualNetworkGatewayConnectionType   `json:"connectionType,omitempty"`
	RoutingWeight                  *int32                                `json:"routingWeight,omitempty"`
	SharedKey                      *string                               `json:"sharedKey,omitempty"`
	ConnectionStatus               VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	TunnelConnectionStatus         *[]TunnelConnectionHealth             `json:"tunnelConnectionStatus,omitempty"`
	EgressBytesTransferred         *int64                                `json:"egressBytesTransferred,omitempty"`
	IngressBytesTransferred        *int64                                `json:"ingressBytesTransferred,omitempty"`
	Peer                           *SubResource                          `json:"peer,omitempty"`
	EnableBgp                      *bool                                 `json:"enableBgp,omitempty"`
	UsePolicyBasedTrafficSelectors *bool                                 `json:"usePolicyBasedTrafficSelectors,omitempty"`
	IpsecPolicies                  *[]IpsecPolicy                        `json:"ipsecPolicies,omitempty"`
	ResourceGUID                   *string                               `json:"resourceGuid,omitempty"`
	ProvisioningState              *string                               `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayConnectionPropertiesFormat is virtualNetworkGatewayConnection properties

type VirtualNetworkGatewayConnectionStatus

type VirtualNetworkGatewayConnectionStatus string

VirtualNetworkGatewayConnectionStatus enumerates the values for virtual network gateway connection status.

const (
	// VirtualNetworkGatewayConnectionStatusConnected specifies the virtual network gateway connection status connected
	// state for virtual network gateway connection status.
	VirtualNetworkGatewayConnectionStatusConnected VirtualNetworkGatewayConnectionStatus = "Connected"
	// VirtualNetworkGatewayConnectionStatusConnecting specifies the virtual network gateway connection status connecting
	// state for virtual network gateway connection status.
	VirtualNetworkGatewayConnectionStatusConnecting VirtualNetworkGatewayConnectionStatus = "Connecting"
	// VirtualNetworkGatewayConnectionStatusNotConnected specifies the virtual network gateway connection status not
	// connected state for virtual network gateway connection status.
	VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected"
	// VirtualNetworkGatewayConnectionStatusUnknown specifies the virtual network gateway connection status unknown state
	// for virtual network gateway connection status.
	VirtualNetworkGatewayConnectionStatusUnknown VirtualNetworkGatewayConnectionStatus = "Unknown"
)

type VirtualNetworkGatewayConnectionType

type VirtualNetworkGatewayConnectionType string

VirtualNetworkGatewayConnectionType enumerates the values for virtual network gateway connection type.

const (
	// ExpressRoute specifies the express route state for virtual network gateway connection type.
	ExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
	// IPsec specifies the i psec state for virtual network gateway connection type.
	IPsec VirtualNetworkGatewayConnectionType = "IPsec"
	// Vnet2Vnet specifies the vnet 2 vnet state for virtual network gateway connection type.
	Vnet2Vnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
	// VPNClient specifies the vpn client state for virtual network gateway connection type.
	VPNClient VirtualNetworkGatewayConnectionType = "VPNClient"
)

type VirtualNetworkGatewayConnectionsClient

type VirtualNetworkGatewayConnectionsClient struct {
	ManagementClient
}

VirtualNetworkGatewayConnectionsClient is the network Client

func NewVirtualNetworkGatewayConnectionsClient

func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClient creates an instance of the VirtualNetworkGatewayConnectionsClient client.

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the VirtualNetworkGatewayConnectionsClient client.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdate

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection, cancel <-chan struct{}) (<-chan VirtualNetworkGatewayConnection, <-chan error)

CreateOrUpdate creates or updates a virtual network gateway connection in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway connection. parameters is parameters supplied to the create or update virtual network gateway connection operation.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewayConnectionsClient) Delete

func (client VirtualNetworkGatewayConnectionsClient) Delete(resourceGroupName string, virtualNetworkGatewayConnectionName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified virtual network Gateway connection. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway connection.

func (VirtualNetworkGatewayConnectionsClient) DeletePreparer

func (client VirtualNetworkGatewayConnectionsClient) DeletePreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkGatewayConnectionsClient) DeleteResponder

func (client VirtualNetworkGatewayConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) DeleteSender

func (client VirtualNetworkGatewayConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewayConnectionsClient) Get

func (client VirtualNetworkGatewayConnectionsClient) Get(resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, err error)

Get gets the specified virtual network gateway connection by resource group.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway connection.

func (VirtualNetworkGatewayConnectionsClient) GetPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkGatewayConnectionsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string) (result ConnectionSharedKey, err error)

GetSharedKey the Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection shared key name.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string) (*http.Request, error)

GetSharedKeyPreparer prepares the GetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKey, err error)

GetSharedKeyResponder handles the response to the GetSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeySender

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeySender(req *http.Request) (*http.Response, error)

GetSharedKeySender sends the GetSharedKey request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewayConnectionsClient) List

List the List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.

resourceGroupName is the name of the resource group.

func (VirtualNetworkGatewayConnectionsClient) ListComplete

func (client VirtualNetworkGatewayConnectionsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualNetworkGatewayConnection, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualNetworkGatewayConnectionsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworkGatewayConnectionsClient) ListPreparer

func (client VirtualNetworkGatewayConnectionsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkGatewayConnectionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey, cancel <-chan struct{}) (<-chan ConnectionResetSharedKey, <-chan error)

ResetSharedKey the VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection reset shared key Name. parameters is parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey, cancel <-chan struct{}) (*http.Request, error)

ResetSharedKeyPreparer prepares the ResetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyResponder(resp *http.Response) (result ConnectionResetSharedKey, err error)

ResetSharedKeyResponder handles the response to the ResetSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeySender(req *http.Request) (*http.Response, error)

ResetSharedKeySender sends the ResetSharedKey request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKey

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKey(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey, cancel <-chan struct{}) (<-chan ConnectionSharedKey, <-chan error)

SetSharedKey the Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the virtual network gateway connection name. parameters is parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey, cancel <-chan struct{}) (*http.Request, error)

SetSharedKeyPreparer prepares the SetSharedKey request.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyResponder(resp *http.Response) (result ConnectionSharedKey, err error)

SetSharedKeyResponder handles the response to the SetSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeySender

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeySender(req *http.Request) (*http.Response, error)

SetSharedKeySender sends the SetSharedKey request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayIPConfiguration struct {
	ID                                                    *string `json:"id,omitempty"`
	*VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                                  *string `json:"name,omitempty"`
	Etag                                                  *string `json:"etag,omitempty"`
}

VirtualNetworkGatewayIPConfiguration is IP configuration for virtual network gateway

type VirtualNetworkGatewayIPConfigurationPropertiesFormat

type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct {
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	Subnet                    *SubResource       `json:"subnet,omitempty"`
	PublicIPAddress           *SubResource       `json:"publicIPAddress,omitempty"`
	ProvisioningState         *string            `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayIPConfigurationPropertiesFormat is properties of VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayListConnectionsResult

type VirtualNetworkGatewayListConnectionsResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkGatewayConnectionListEntity `json:"value,omitempty"`
	NextLink          *string                                      `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayListConnectionsResult is response for the VirtualNetworkGatewayListConnections API service call

func (VirtualNetworkGatewayListConnectionsResult) VirtualNetworkGatewayListConnectionsResultPreparer

func (client VirtualNetworkGatewayListConnectionsResult) VirtualNetworkGatewayListConnectionsResultPreparer() (*http.Request, error)

VirtualNetworkGatewayListConnectionsResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkGatewayListResult

type VirtualNetworkGatewayListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkGateway `json:"value,omitempty"`
	NextLink          *string                  `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayListResult is response for the ListVirtualNetworkGateways API service call.

func (VirtualNetworkGatewayListResult) VirtualNetworkGatewayListResultPreparer

func (client VirtualNetworkGatewayListResult) VirtualNetworkGatewayListResultPreparer() (*http.Request, error)

VirtualNetworkGatewayListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkGatewayPropertiesFormat

type VirtualNetworkGatewayPropertiesFormat struct {
	IPConfigurations       *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"`
	GatewayType            VirtualNetworkGatewayType               `json:"gatewayType,omitempty"`
	VpnType                VpnType                                 `json:"vpnType,omitempty"`
	EnableBgp              *bool                                   `json:"enableBgp,omitempty"`
	ActiveActive           *bool                                   `json:"activeActive,omitempty"`
	GatewayDefaultSite     *SubResource                            `json:"gatewayDefaultSite,omitempty"`
	Sku                    *VirtualNetworkGatewaySku               `json:"sku,omitempty"`
	VpnClientConfiguration *VpnClientConfiguration                 `json:"vpnClientConfiguration,omitempty"`
	BgpSettings            *BgpSettings                            `json:"bgpSettings,omitempty"`
	ResourceGUID           *string                                 `json:"resourceGuid,omitempty"`
	ProvisioningState      *string                                 `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayPropertiesFormat is virtualNetworkGateway properties

type VirtualNetworkGatewaySku

type VirtualNetworkGatewaySku struct {
	Name     VirtualNetworkGatewaySkuName `json:"name,omitempty"`
	Tier     VirtualNetworkGatewaySkuTier `json:"tier,omitempty"`
	Capacity *int32                       `json:"capacity,omitempty"`
}

VirtualNetworkGatewaySku is virtualNetworkGatewaySku details

type VirtualNetworkGatewaySkuName

type VirtualNetworkGatewaySkuName string

VirtualNetworkGatewaySkuName enumerates the values for virtual network gateway sku name.

const (
	// VirtualNetworkGatewaySkuNameBasic specifies the virtual network gateway sku name basic state for virtual network
	// gateway sku name.
	VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic"
	// VirtualNetworkGatewaySkuNameHighPerformance specifies the virtual network gateway sku name high performance state
	// for virtual network gateway sku name.
	VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance"
	// VirtualNetworkGatewaySkuNameStandard specifies the virtual network gateway sku name standard state for virtual
	// network gateway sku name.
	VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard"
	// VirtualNetworkGatewaySkuNameUltraPerformance specifies the virtual network gateway sku name ultra performance state
	// for virtual network gateway sku name.
	VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance"
	// VirtualNetworkGatewaySkuNameVpnGw1 specifies the virtual network gateway sku name vpn gw 1 state for virtual network
	// gateway sku name.
	VirtualNetworkGatewaySkuNameVpnGw1 VirtualNetworkGatewaySkuName = "VpnGw1"
	// VirtualNetworkGatewaySkuNameVpnGw2 specifies the virtual network gateway sku name vpn gw 2 state for virtual network
	// gateway sku name.
	VirtualNetworkGatewaySkuNameVpnGw2 VirtualNetworkGatewaySkuName = "VpnGw2"
	// VirtualNetworkGatewaySkuNameVpnGw3 specifies the virtual network gateway sku name vpn gw 3 state for virtual network
	// gateway sku name.
	VirtualNetworkGatewaySkuNameVpnGw3 VirtualNetworkGatewaySkuName = "VpnGw3"
)

type VirtualNetworkGatewaySkuTier

type VirtualNetworkGatewaySkuTier string

VirtualNetworkGatewaySkuTier enumerates the values for virtual network gateway sku tier.

const (
	// VirtualNetworkGatewaySkuTierBasic specifies the virtual network gateway sku tier basic state for virtual network
	// gateway sku tier.
	VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic"
	// VirtualNetworkGatewaySkuTierHighPerformance specifies the virtual network gateway sku tier high performance state
	// for virtual network gateway sku tier.
	VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance"
	// VirtualNetworkGatewaySkuTierStandard specifies the virtual network gateway sku tier standard state for virtual
	// network gateway sku tier.
	VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard"
	// VirtualNetworkGatewaySkuTierUltraPerformance specifies the virtual network gateway sku tier ultra performance state
	// for virtual network gateway sku tier.
	VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance"
	// VirtualNetworkGatewaySkuTierVpnGw1 specifies the virtual network gateway sku tier vpn gw 1 state for virtual network
	// gateway sku tier.
	VirtualNetworkGatewaySkuTierVpnGw1 VirtualNetworkGatewaySkuTier = "VpnGw1"
	// VirtualNetworkGatewaySkuTierVpnGw2 specifies the virtual network gateway sku tier vpn gw 2 state for virtual network
	// gateway sku tier.
	VirtualNetworkGatewaySkuTierVpnGw2 VirtualNetworkGatewaySkuTier = "VpnGw2"
	// VirtualNetworkGatewaySkuTierVpnGw3 specifies the virtual network gateway sku tier vpn gw 3 state for virtual network
	// gateway sku tier.
	VirtualNetworkGatewaySkuTierVpnGw3 VirtualNetworkGatewaySkuTier = "VpnGw3"
)

type VirtualNetworkGatewayType

type VirtualNetworkGatewayType string

VirtualNetworkGatewayType enumerates the values for virtual network gateway type.

const (
	// VirtualNetworkGatewayTypeExpressRoute specifies the virtual network gateway type express route state for virtual
	// network gateway type.
	VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute"
	// VirtualNetworkGatewayTypeVpn specifies the virtual network gateway type vpn state for virtual network gateway type.
	VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn"
)

type VirtualNetworkGatewaysClient

type VirtualNetworkGatewaysClient struct {
	ManagementClient
}

VirtualNetworkGatewaysClient is the network Client

func NewVirtualNetworkGatewaysClient

func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClient creates an instance of the VirtualNetworkGatewaysClient client.

func NewVirtualNetworkGatewaysClientWithBaseURI

func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client.

func (VirtualNetworkGatewaysClient) CreateOrUpdate

func (client VirtualNetworkGatewaysClient) CreateOrUpdate(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, cancel <-chan struct{}) (<-chan VirtualNetworkGateway, <-chan error)

CreateOrUpdate creates or updates a virtual network gateway in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to create or update virtual network gateway operation.

func (VirtualNetworkGatewaysClient) CreateOrUpdatePreparer

func (client VirtualNetworkGatewaysClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkGatewaysClient) CreateOrUpdateResponder

func (client VirtualNetworkGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkGateway, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) CreateOrUpdateSender

func (client VirtualNetworkGatewaysClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) Delete

func (client VirtualNetworkGatewaysClient) Delete(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified virtual network gateway. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) DeletePreparer

func (client VirtualNetworkGatewaysClient) DeletePreparer(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkGatewaysClient) DeleteResponder

func (client VirtualNetworkGatewaysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) DeleteSender

func (client VirtualNetworkGatewaysClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) GenerateVpnProfile

func (client VirtualNetworkGatewaysClient) GenerateVpnProfile(resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters, cancel <-chan struct{}) (<-chan String, <-chan error)

GenerateVpnProfile generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to the generate virtual network gateway VPN client package operation.

func (VirtualNetworkGatewaysClient) GenerateVpnProfilePreparer

func (client VirtualNetworkGatewaysClient) GenerateVpnProfilePreparer(resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters, cancel <-chan struct{}) (*http.Request, error)

GenerateVpnProfilePreparer prepares the GenerateVpnProfile request.

func (VirtualNetworkGatewaysClient) GenerateVpnProfileResponder

func (client VirtualNetworkGatewaysClient) GenerateVpnProfileResponder(resp *http.Response) (result String, err error)

GenerateVpnProfileResponder handles the response to the GenerateVpnProfile request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GenerateVpnProfileSender

func (client VirtualNetworkGatewaysClient) GenerateVpnProfileSender(req *http.Request) (*http.Response, error)

GenerateVpnProfileSender sends the GenerateVpnProfile request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) Generatevpnclientpackage

func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters, cancel <-chan struct{}) (<-chan String, <-chan error)

Generatevpnclientpackage generates VPN client package for P2S client of the virtual network gateway in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. parameters is parameters supplied to the generate virtual network gateway VPN client package operation.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer(resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters, cancel <-chan struct{}) (*http.Request, error)

GeneratevpnclientpackagePreparer prepares the Generatevpnclientpackage request.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageResponder(resp *http.Response) (result String, err error)

GeneratevpnclientpackageResponder handles the response to the Generatevpnclientpackage request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackageSender(req *http.Request) (*http.Response, error)

GeneratevpnclientpackageSender sends the Generatevpnclientpackage request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) Get

func (client VirtualNetworkGatewaysClient) Get(resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, err error)

Get gets the specified virtual network gateway by resource group.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutes

func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutes(resourceGroupName string, virtualNetworkGatewayName string, peer string, cancel <-chan struct{}) (<-chan GatewayRouteListResult, <-chan error)

GetAdvertisedRoutes this operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. peer is the IP address of the peer

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutesPreparer

func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesPreparer(resourceGroupName string, virtualNetworkGatewayName string, peer string, cancel <-chan struct{}) (*http.Request, error)

GetAdvertisedRoutesPreparer prepares the GetAdvertisedRoutes request.

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutesResponder

func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesResponder(resp *http.Response) (result GatewayRouteListResult, err error)

GetAdvertisedRoutesResponder handles the response to the GetAdvertisedRoutes request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutesSender

func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesSender(req *http.Request) (*http.Response, error)

GetAdvertisedRoutesSender sends the GetAdvertisedRoutes request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) GetBgpPeerStatus

func (client VirtualNetworkGatewaysClient) GetBgpPeerStatus(resourceGroupName string, virtualNetworkGatewayName string, peer string, cancel <-chan struct{}) (<-chan BgpPeerStatusListResult, <-chan error)

GetBgpPeerStatus the GetBgpPeerStatus operation retrieves the status of all BGP peers. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. peer is the IP address of the peer to retrieve the status of.

func (VirtualNetworkGatewaysClient) GetBgpPeerStatusPreparer

func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusPreparer(resourceGroupName string, virtualNetworkGatewayName string, peer string, cancel <-chan struct{}) (*http.Request, error)

GetBgpPeerStatusPreparer prepares the GetBgpPeerStatus request.

func (VirtualNetworkGatewaysClient) GetBgpPeerStatusResponder

func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusResponder(resp *http.Response) (result BgpPeerStatusListResult, err error)

GetBgpPeerStatusResponder handles the response to the GetBgpPeerStatus request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetBgpPeerStatusSender

func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusSender(req *http.Request) (*http.Response, error)

GetBgpPeerStatusSender sends the GetBgpPeerStatus request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) GetLearnedRoutes

func (client VirtualNetworkGatewaysClient) GetLearnedRoutes(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (<-chan GatewayRouteListResult, <-chan error)

GetLearnedRoutes this operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetLearnedRoutesPreparer

func (client VirtualNetworkGatewaysClient) GetLearnedRoutesPreparer(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (*http.Request, error)

GetLearnedRoutesPreparer prepares the GetLearnedRoutes request.

func (VirtualNetworkGatewaysClient) GetLearnedRoutesResponder

func (client VirtualNetworkGatewaysClient) GetLearnedRoutesResponder(resp *http.Response) (result GatewayRouteListResult, err error)

GetLearnedRoutesResponder handles the response to the GetLearnedRoutes request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetLearnedRoutesSender

func (client VirtualNetworkGatewaysClient) GetLearnedRoutesSender(req *http.Request) (*http.Response, error)

GetLearnedRoutesSender sends the GetLearnedRoutes request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) GetPreparer

func (client VirtualNetworkGatewaysClient) GetPreparer(resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkGatewaysClient) GetResponder

func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetSender

func (client VirtualNetworkGatewaysClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURL

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURL(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (<-chan String, <-chan error)

GetVpnProfilePackageURL gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURLPreparer

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLPreparer(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (*http.Request, error)

GetVpnProfilePackageURLPreparer prepares the GetVpnProfilePackageURL request.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURLResponder

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLResponder(resp *http.Response) (result String, err error)

GetVpnProfilePackageURLResponder handles the response to the GetVpnProfilePackageURL request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURLSender

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLSender(req *http.Request) (*http.Response, error)

GetVpnProfilePackageURLSender sends the GetVpnProfilePackageURL request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) List

func (client VirtualNetworkGatewaysClient) List(resourceGroupName string) (result VirtualNetworkGatewayListResult, err error)

List gets all virtual network gateways by resource group.

resourceGroupName is the name of the resource group.

func (VirtualNetworkGatewaysClient) ListComplete

func (client VirtualNetworkGatewaysClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualNetworkGateway, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualNetworkGatewaysClient) ListConnections

func (client VirtualNetworkGatewaysClient) ListConnections(resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewayListConnectionsResult, err error)

ListConnections gets all the connections in a virtual network gateway.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) ListConnectionsComplete

func (client VirtualNetworkGatewaysClient) ListConnectionsComplete(resourceGroupName string, virtualNetworkGatewayName string, cancel <-chan struct{}) (<-chan VirtualNetworkGatewayConnectionListEntity, <-chan error)

ListConnectionsComplete gets all elements from the list without paging.

func (VirtualNetworkGatewaysClient) ListConnectionsNextResults

ListConnectionsNextResults retrieves the next set of results, if any.

func (VirtualNetworkGatewaysClient) ListConnectionsPreparer

func (client VirtualNetworkGatewaysClient) ListConnectionsPreparer(resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

ListConnectionsPreparer prepares the ListConnections request.

func (VirtualNetworkGatewaysClient) ListConnectionsResponder

func (client VirtualNetworkGatewaysClient) ListConnectionsResponder(resp *http.Response) (result VirtualNetworkGatewayListConnectionsResult, err error)

ListConnectionsResponder handles the response to the ListConnections request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) ListConnectionsSender

func (client VirtualNetworkGatewaysClient) ListConnectionsSender(req *http.Request) (*http.Response, error)

ListConnectionsSender sends the ListConnections request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworkGatewaysClient) ListPreparer

func (client VirtualNetworkGatewaysClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkGatewaysClient) ListResponder

func (client VirtualNetworkGatewaysClient) ListResponder(resp *http.Response) (result VirtualNetworkGatewayListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) ListSender

func (client VirtualNetworkGatewaysClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) Reset

func (client VirtualNetworkGatewaysClient) Reset(resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string, cancel <-chan struct{}) (<-chan VirtualNetworkGateway, <-chan error)

Reset resets the primary of the virtual network gateway in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway. gatewayVip is virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.

func (VirtualNetworkGatewaysClient) ResetPreparer

func (client VirtualNetworkGatewaysClient) ResetPreparer(resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string, cancel <-chan struct{}) (*http.Request, error)

ResetPreparer prepares the Reset request.

func (VirtualNetworkGatewaysClient) ResetResponder

func (client VirtualNetworkGatewaysClient) ResetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)

ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) ResetSender

func (client VirtualNetworkGatewaysClient) ResetSender(req *http.Request) (*http.Response, error)

ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) SupportedVpnDevices

func (client VirtualNetworkGatewaysClient) SupportedVpnDevices(resourceGroupName string, virtualNetworkGatewayName string) (result String, err error)

SupportedVpnDevices gets a xml format representation for supported vpn devices.

resourceGroupName is the name of the resource group. virtualNetworkGatewayName is the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) SupportedVpnDevicesPreparer

func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesPreparer(resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

SupportedVpnDevicesPreparer prepares the SupportedVpnDevices request.

func (VirtualNetworkGatewaysClient) SupportedVpnDevicesResponder

func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesResponder(resp *http.Response) (result String, err error)

SupportedVpnDevicesResponder handles the response to the SupportedVpnDevices request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) SupportedVpnDevicesSender

func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesSender(req *http.Request) (*http.Response, error)

SupportedVpnDevicesSender sends the SupportedVpnDevices request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (result String, err error)

VpnDeviceConfigurationScript gets a xml format representation for vpn device configuration script.

resourceGroupName is the name of the resource group. virtualNetworkGatewayConnectionName is the name of the virtual network gateway connection for which the configuration script is generated. parameters is parameters supplied to the generate vpn device script operation.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptPreparer

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptPreparer(resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (*http.Request, error)

VpnDeviceConfigurationScriptPreparer prepares the VpnDeviceConfigurationScript request.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptResponder

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptResponder(resp *http.Response) (result String, err error)

VpnDeviceConfigurationScriptResponder handles the response to the VpnDeviceConfigurationScript request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptSender

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptSender(req *http.Request) (*http.Response, error)

VpnDeviceConfigurationScriptSender sends the VpnDeviceConfigurationScript request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkListResult

type VirtualNetworkListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetwork `json:"value,omitempty"`
	NextLink          *string           `json:"nextLink,omitempty"`
}

VirtualNetworkListResult is response for the ListVirtualNetworks API service call.

func (VirtualNetworkListResult) VirtualNetworkListResultPreparer

func (client VirtualNetworkListResult) VirtualNetworkListResultPreparer() (*http.Request, error)

VirtualNetworkListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkListUsageResult

type VirtualNetworkListUsageResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkUsage `json:"value,omitempty"`
	NextLink          *string                `json:"nextLink,omitempty"`
}

VirtualNetworkListUsageResult is response for the virtual networks GetUsage API service call.

func (VirtualNetworkListUsageResult) VirtualNetworkListUsageResultPreparer

func (client VirtualNetworkListUsageResult) VirtualNetworkListUsageResultPreparer() (*http.Request, error)

VirtualNetworkListUsageResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkPeering

type VirtualNetworkPeering struct {
	autorest.Response                      `json:"-"`
	ID                                     *string `json:"id,omitempty"`
	*VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"`
	Name                                   *string `json:"name,omitempty"`
	Etag                                   *string `json:"etag,omitempty"`
}

VirtualNetworkPeering is peerings in a virtual network resource.

type VirtualNetworkPeeringListResult

type VirtualNetworkPeeringListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualNetworkPeering `json:"value,omitempty"`
	NextLink          *string                  `json:"nextLink,omitempty"`
}

VirtualNetworkPeeringListResult is response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network.

func (VirtualNetworkPeeringListResult) VirtualNetworkPeeringListResultPreparer

func (client VirtualNetworkPeeringListResult) VirtualNetworkPeeringListResultPreparer() (*http.Request, error)

VirtualNetworkPeeringListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualNetworkPeeringPropertiesFormat

type VirtualNetworkPeeringPropertiesFormat struct {
	AllowVirtualNetworkAccess *bool                      `json:"allowVirtualNetworkAccess,omitempty"`
	AllowForwardedTraffic     *bool                      `json:"allowForwardedTraffic,omitempty"`
	AllowGatewayTransit       *bool                      `json:"allowGatewayTransit,omitempty"`
	UseRemoteGateways         *bool                      `json:"useRemoteGateways,omitempty"`
	RemoteVirtualNetwork      *SubResource               `json:"remoteVirtualNetwork,omitempty"`
	PeeringState              VirtualNetworkPeeringState `json:"peeringState,omitempty"`
	ProvisioningState         *string                    `json:"provisioningState,omitempty"`
}

VirtualNetworkPeeringPropertiesFormat is properties of the virtual network peering.

type VirtualNetworkPeeringState

type VirtualNetworkPeeringState string

VirtualNetworkPeeringState enumerates the values for virtual network peering state.

const (
	// Connected specifies the connected state for virtual network peering state.
	Connected VirtualNetworkPeeringState = "Connected"
	// Disconnected specifies the disconnected state for virtual network peering state.
	Disconnected VirtualNetworkPeeringState = "Disconnected"
	// Initiated specifies the initiated state for virtual network peering state.
	Initiated VirtualNetworkPeeringState = "Initiated"
)

type VirtualNetworkPeeringsClient

type VirtualNetworkPeeringsClient struct {
	ManagementClient
}

VirtualNetworkPeeringsClient is the network Client

func NewVirtualNetworkPeeringsClient

func NewVirtualNetworkPeeringsClient(subscriptionID string) VirtualNetworkPeeringsClient

NewVirtualNetworkPeeringsClient creates an instance of the VirtualNetworkPeeringsClient client.

func NewVirtualNetworkPeeringsClientWithBaseURI

func NewVirtualNetworkPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkPeeringsClient

NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient client.

func (VirtualNetworkPeeringsClient) CreateOrUpdate

func (client VirtualNetworkPeeringsClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering, cancel <-chan struct{}) (<-chan VirtualNetworkPeering, <-chan error)

CreateOrUpdate creates or updates a peering in the specified virtual network. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. virtualNetworkPeeringName is the name of the peering. virtualNetworkPeeringParameters is parameters supplied to the create or update virtual network peering operation.

func (VirtualNetworkPeeringsClient) CreateOrUpdatePreparer

func (client VirtualNetworkPeeringsClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkPeeringsClient) CreateOrUpdateResponder

func (client VirtualNetworkPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkPeering, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworkPeeringsClient) CreateOrUpdateSender

func (client VirtualNetworkPeeringsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkPeeringsClient) Delete

func (client VirtualNetworkPeeringsClient) Delete(resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified virtual network peering. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. virtualNetworkPeeringName is the name of the virtual network peering.

func (VirtualNetworkPeeringsClient) DeletePreparer

func (client VirtualNetworkPeeringsClient) DeletePreparer(resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkPeeringsClient) DeleteResponder

func (client VirtualNetworkPeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworkPeeringsClient) DeleteSender

func (client VirtualNetworkPeeringsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkPeeringsClient) Get

func (client VirtualNetworkPeeringsClient) Get(resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeering, err error)

Get gets the specified virtual network peering.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. virtualNetworkPeeringName is the name of the virtual network peering.

func (VirtualNetworkPeeringsClient) GetPreparer

func (client VirtualNetworkPeeringsClient) GetPreparer(resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkPeeringsClient) GetResponder

func (client VirtualNetworkPeeringsClient) GetResponder(resp *http.Response) (result VirtualNetworkPeering, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworkPeeringsClient) GetSender

func (client VirtualNetworkPeeringsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworkPeeringsClient) List

func (client VirtualNetworkPeeringsClient) List(resourceGroupName string, virtualNetworkName string) (result VirtualNetworkPeeringListResult, err error)

List gets all virtual network peerings in a virtual network.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network.

func (VirtualNetworkPeeringsClient) ListComplete

func (client VirtualNetworkPeeringsClient) ListComplete(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (<-chan VirtualNetworkPeering, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualNetworkPeeringsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworkPeeringsClient) ListPreparer

func (client VirtualNetworkPeeringsClient) ListPreparer(resourceGroupName string, virtualNetworkName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkPeeringsClient) ListResponder

func (client VirtualNetworkPeeringsClient) ListResponder(resp *http.Response) (result VirtualNetworkPeeringListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworkPeeringsClient) ListSender

func (client VirtualNetworkPeeringsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualNetworkPropertiesFormat

type VirtualNetworkPropertiesFormat struct {
	AddressSpace           *AddressSpace            `json:"addressSpace,omitempty"`
	DhcpOptions            *DhcpOptions             `json:"dhcpOptions,omitempty"`
	Subnets                *[]Subnet                `json:"subnets,omitempty"`
	VirtualNetworkPeerings *[]VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"`
	ResourceGUID           *string                  `json:"resourceGuid,omitempty"`
	ProvisioningState      *string                  `json:"provisioningState,omitempty"`
	EnableDdosProtection   *bool                    `json:"enableDdosProtection,omitempty"`
	EnableVMProtection     *bool                    `json:"enableVmProtection,omitempty"`
}

VirtualNetworkPropertiesFormat is properties of the virtual network.

type VirtualNetworkUsage

type VirtualNetworkUsage struct {
	CurrentValue *float64                 `json:"currentValue,omitempty"`
	ID           *string                  `json:"id,omitempty"`
	Limit        *float64                 `json:"limit,omitempty"`
	Name         *VirtualNetworkUsageName `json:"name,omitempty"`
	Unit         *string                  `json:"unit,omitempty"`
}

VirtualNetworkUsage is usage details for subnet.

type VirtualNetworkUsageName

type VirtualNetworkUsageName struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

VirtualNetworkUsageName is usage strings container.

type VirtualNetworksClient

type VirtualNetworksClient struct {
	ManagementClient
}

VirtualNetworksClient is the network Client

func NewVirtualNetworksClient

func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient

NewVirtualNetworksClient creates an instance of the VirtualNetworksClient client.

func NewVirtualNetworksClientWithBaseURI

func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient

NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client.

func (VirtualNetworksClient) CheckIPAddressAvailability

func (client VirtualNetworksClient) CheckIPAddressAvailability(resourceGroupName string, virtualNetworkName string, IPAddress string) (result IPAddressAvailabilityResult, err error)

CheckIPAddressAvailability checks whether a private IP address is available for use.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. IPAddress is the private IP address to be verified.

func (VirtualNetworksClient) CheckIPAddressAvailabilityPreparer

func (client VirtualNetworksClient) CheckIPAddressAvailabilityPreparer(resourceGroupName string, virtualNetworkName string, IPAddress string) (*http.Request, error)

CheckIPAddressAvailabilityPreparer prepares the CheckIPAddressAvailability request.

func (VirtualNetworksClient) CheckIPAddressAvailabilityResponder

func (client VirtualNetworksClient) CheckIPAddressAvailabilityResponder(resp *http.Response) (result IPAddressAvailabilityResult, err error)

CheckIPAddressAvailabilityResponder handles the response to the CheckIPAddressAvailability request. The method always closes the http.Response Body.

func (VirtualNetworksClient) CheckIPAddressAvailabilitySender

func (client VirtualNetworksClient) CheckIPAddressAvailabilitySender(req *http.Request) (*http.Response, error)

CheckIPAddressAvailabilitySender sends the CheckIPAddressAvailability request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworksClient) CreateOrUpdate

func (client VirtualNetworksClient) CreateOrUpdate(resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork, cancel <-chan struct{}) (<-chan VirtualNetwork, <-chan error)

CreateOrUpdate creates or updates a virtual network in the specified resource group. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. parameters is parameters supplied to the create or update virtual network operation

func (VirtualNetworksClient) CreateOrUpdatePreparer

func (client VirtualNetworksClient) CreateOrUpdatePreparer(resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworksClient) CreateOrUpdateResponder

func (client VirtualNetworksClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetwork, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualNetworksClient) CreateOrUpdateSender

func (client VirtualNetworksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworksClient) Delete

func (client VirtualNetworksClient) Delete(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified virtual network. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network.

func (VirtualNetworksClient) DeletePreparer

func (client VirtualNetworksClient) DeletePreparer(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworksClient) DeleteResponder

func (client VirtualNetworksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualNetworksClient) DeleteSender

func (client VirtualNetworksClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworksClient) Get

func (client VirtualNetworksClient) Get(resourceGroupName string, virtualNetworkName string, expand string) (result VirtualNetwork, err error)

Get gets the specified virtual network by resource group.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network. expand is expands referenced resources.

func (VirtualNetworksClient) GetPreparer

func (client VirtualNetworksClient) GetPreparer(resourceGroupName string, virtualNetworkName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworksClient) GetResponder

func (client VirtualNetworksClient) GetResponder(resp *http.Response) (result VirtualNetwork, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualNetworksClient) GetSender

func (client VirtualNetworksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworksClient) List

func (client VirtualNetworksClient) List(resourceGroupName string) (result VirtualNetworkListResult, err error)

List gets all virtual networks in a resource group.

resourceGroupName is the name of the resource group.

func (VirtualNetworksClient) ListAll

func (client VirtualNetworksClient) ListAll() (result VirtualNetworkListResult, err error)

ListAll gets all virtual networks in a subscription.

func (VirtualNetworksClient) ListAllComplete

func (client VirtualNetworksClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualNetwork, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (VirtualNetworksClient) ListAllNextResults

func (client VirtualNetworksClient) ListAllNextResults(lastResults VirtualNetworkListResult) (result VirtualNetworkListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (VirtualNetworksClient) ListAllPreparer

func (client VirtualNetworksClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualNetworksClient) ListAllResponder

func (client VirtualNetworksClient) ListAllResponder(resp *http.Response) (result VirtualNetworkListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (VirtualNetworksClient) ListAllSender

func (client VirtualNetworksClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworksClient) ListComplete

func (client VirtualNetworksClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualNetwork, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualNetworksClient) ListNextResults

func (client VirtualNetworksClient) ListNextResults(lastResults VirtualNetworkListResult) (result VirtualNetworkListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (VirtualNetworksClient) ListPreparer

func (client VirtualNetworksClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworksClient) ListResponder

func (client VirtualNetworksClient) ListResponder(resp *http.Response) (result VirtualNetworkListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualNetworksClient) ListSender

func (client VirtualNetworksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualNetworksClient) ListUsage

func (client VirtualNetworksClient) ListUsage(resourceGroupName string, virtualNetworkName string) (result VirtualNetworkListUsageResult, err error)

ListUsage lists usage stats.

resourceGroupName is the name of the resource group. virtualNetworkName is the name of the virtual network.

func (VirtualNetworksClient) ListUsageComplete

func (client VirtualNetworksClient) ListUsageComplete(resourceGroupName string, virtualNetworkName string, cancel <-chan struct{}) (<-chan VirtualNetworkUsage, <-chan error)

ListUsageComplete gets all elements from the list without paging.

func (VirtualNetworksClient) ListUsageNextResults

func (client VirtualNetworksClient) ListUsageNextResults(lastResults VirtualNetworkListUsageResult) (result VirtualNetworkListUsageResult, err error)

ListUsageNextResults retrieves the next set of results, if any.

func (VirtualNetworksClient) ListUsagePreparer

func (client VirtualNetworksClient) ListUsagePreparer(resourceGroupName string, virtualNetworkName string) (*http.Request, error)

ListUsagePreparer prepares the ListUsage request.

func (VirtualNetworksClient) ListUsageResponder

func (client VirtualNetworksClient) ListUsageResponder(resp *http.Response) (result VirtualNetworkListUsageResult, err error)

ListUsageResponder handles the response to the ListUsage request. The method always closes the http.Response Body.

func (VirtualNetworksClient) ListUsageSender

func (client VirtualNetworksClient) ListUsageSender(req *http.Request) (*http.Response, error)

ListUsageSender sends the ListUsage request. The method will close the http.Response Body if it receives an error.

type VpnClientConfiguration

type VpnClientConfiguration struct {
	VpnClientAddressPool         *AddressSpace                  `json:"vpnClientAddressPool,omitempty"`
	VpnClientRootCertificates    *[]VpnClientRootCertificate    `json:"vpnClientRootCertificates,omitempty"`
	VpnClientRevokedCertificates *[]VpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"`
	VpnClientProtocols           *[]VpnClientProtocol           `json:"vpnClientProtocols,omitempty"`
	RadiusServerAddress          *string                        `json:"radiusServerAddress,omitempty"`
	RadiusServerSecret           *string                        `json:"radiusServerSecret,omitempty"`
}

VpnClientConfiguration is vpnClientConfiguration for P2S client.

type VpnClientParameters

type VpnClientParameters struct {
	ProcessorArchitecture       ProcessorArchitecture `json:"processorArchitecture,omitempty"`
	AuthenticationMethod        AuthenticationMethod  `json:"authenticationMethod,omitempty"`
	RadiusServerAuthCertificate *string               `json:"radiusServerAuthCertificate,omitempty"`
	ClientRootCertificates      *[]string             `json:"clientRootCertificates,omitempty"`
}

VpnClientParameters is vpn Client Parameters for package generation

type VpnClientProtocol

type VpnClientProtocol string

VpnClientProtocol enumerates the values for vpn client protocol.

const (
	// IkeV2 specifies the ike v2 state for vpn client protocol.
	IkeV2 VpnClientProtocol = "IkeV2"
	// SSTP specifies the sstp state for vpn client protocol.
	SSTP VpnClientProtocol = "SSTP"
)

type VpnClientRevokedCertificate

type VpnClientRevokedCertificate struct {
	ID                                           *string `json:"id,omitempty"`
	*VpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"`
	Name                                         *string `json:"name,omitempty"`
	Etag                                         *string `json:"etag,omitempty"`
}

VpnClientRevokedCertificate is VPN client revoked certificate of virtual network gateway.

type VpnClientRevokedCertificatePropertiesFormat

type VpnClientRevokedCertificatePropertiesFormat struct {
	Thumbprint        *string `json:"thumbprint,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VpnClientRevokedCertificatePropertiesFormat is properties of the revoked VPN client certificate of virtual network gateway.

type VpnClientRootCertificate

type VpnClientRootCertificate struct {
	ID                                        *string `json:"id,omitempty"`
	*VpnClientRootCertificatePropertiesFormat `json:"properties,omitempty"`
	Name                                      *string `json:"name,omitempty"`
	Etag                                      *string `json:"etag,omitempty"`
}

VpnClientRootCertificate is VPN client root certificate of virtual network gateway

type VpnClientRootCertificatePropertiesFormat

type VpnClientRootCertificatePropertiesFormat struct {
	PublicCertData    *string `json:"publicCertData,omitempty"`
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VpnClientRootCertificatePropertiesFormat is properties of SSL certificates of application gateway

type VpnDeviceScriptParameters

type VpnDeviceScriptParameters struct {
	Vendor          *string `json:"vendor,omitempty"`
	DeviceFamily    *string `json:"deviceFamily,omitempty"`
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
}

VpnDeviceScriptParameters is vpn device configuration script generation parameters

type VpnType

type VpnType string

VpnType enumerates the values for vpn type.

const (
	// PolicyBased specifies the policy based state for vpn type.
	PolicyBased VpnType = "PolicyBased"
	// RouteBased specifies the route based state for vpn type.
	RouteBased VpnType = "RouteBased"
)

type Watcher

type Watcher struct {
	autorest.Response        `json:"-"`
	ID                       *string             `json:"id,omitempty"`
	Name                     *string             `json:"name,omitempty"`
	Type                     *string             `json:"type,omitempty"`
	Location                 *string             `json:"location,omitempty"`
	Tags                     *map[string]*string `json:"tags,omitempty"`
	Etag                     *string             `json:"etag,omitempty"`
	*WatcherPropertiesFormat `json:"properties,omitempty"`
}

Watcher is network watcher in a resource group.

type WatcherListResult

type WatcherListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Watcher `json:"value,omitempty"`
}

WatcherListResult is list of network watcher resources.

type WatcherPropertiesFormat

type WatcherPropertiesFormat struct {
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

WatcherPropertiesFormat is the network watcher properties.

type WatchersClient

type WatchersClient struct {
	ManagementClient
}

WatchersClient is the network Client

func NewWatchersClient

func NewWatchersClient(subscriptionID string) WatchersClient

NewWatchersClient creates an instance of the WatchersClient client.

func NewWatchersClientWithBaseURI

func NewWatchersClientWithBaseURI(baseURI string, subscriptionID string) WatchersClient

NewWatchersClientWithBaseURI creates an instance of the WatchersClient client.

func (WatchersClient) CheckConnectivity

func (client WatchersClient) CheckConnectivity(resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters, cancel <-chan struct{}) (<-chan ConnectivityInformation, <-chan error)

CheckConnectivity verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that determine how the connectivity check will be performed.

func (WatchersClient) CheckConnectivityPreparer

func (client WatchersClient) CheckConnectivityPreparer(resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters, cancel <-chan struct{}) (*http.Request, error)

CheckConnectivityPreparer prepares the CheckConnectivity request.

func (WatchersClient) CheckConnectivityResponder

func (client WatchersClient) CheckConnectivityResponder(resp *http.Response) (result ConnectivityInformation, err error)

CheckConnectivityResponder handles the response to the CheckConnectivity request. The method always closes the http.Response Body.

func (WatchersClient) CheckConnectivitySender

func (client WatchersClient) CheckConnectivitySender(req *http.Request) (*http.Response, error)

CheckConnectivitySender sends the CheckConnectivity request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) CreateOrUpdate

func (client WatchersClient) CreateOrUpdate(resourceGroupName string, networkWatcherName string, parameters Watcher) (result Watcher, err error)

CreateOrUpdate creates or updates a network watcher in the specified resource group.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. parameters is parameters that define the network watcher resource.

func (WatchersClient) CreateOrUpdatePreparer

func (client WatchersClient) CreateOrUpdatePreparer(resourceGroupName string, networkWatcherName string, parameters Watcher) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WatchersClient) CreateOrUpdateResponder

func (client WatchersClient) CreateOrUpdateResponder(resp *http.Response) (result Watcher, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (WatchersClient) CreateOrUpdateSender

func (client WatchersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) Delete

func (client WatchersClient) Delete(resourceGroupName string, networkWatcherName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified network watcher resource. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher.

func (WatchersClient) DeletePreparer

func (client WatchersClient) DeletePreparer(resourceGroupName string, networkWatcherName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WatchersClient) DeleteResponder

func (client WatchersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (WatchersClient) DeleteSender

func (client WatchersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) Get

func (client WatchersClient) Get(resourceGroupName string, networkWatcherName string) (result Watcher, err error)

Get gets the specified network watcher by resource group.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher.

func (WatchersClient) GetAzureReachabilityReport

func (client WatchersClient) GetAzureReachabilityReport(resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters, cancel <-chan struct{}) (<-chan AzureReachabilityReport, <-chan error)

GetAzureReachabilityReport gets the relative latency score for internet service providers from a specified location to Azure regions. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that determine Azure reachability report configuration.

func (WatchersClient) GetAzureReachabilityReportPreparer

func (client WatchersClient) GetAzureReachabilityReportPreparer(resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters, cancel <-chan struct{}) (*http.Request, error)

GetAzureReachabilityReportPreparer prepares the GetAzureReachabilityReport request.

func (WatchersClient) GetAzureReachabilityReportResponder

func (client WatchersClient) GetAzureReachabilityReportResponder(resp *http.Response) (result AzureReachabilityReport, err error)

GetAzureReachabilityReportResponder handles the response to the GetAzureReachabilityReport request. The method always closes the http.Response Body.

func (WatchersClient) GetAzureReachabilityReportSender

func (client WatchersClient) GetAzureReachabilityReportSender(req *http.Request) (*http.Response, error)

GetAzureReachabilityReportSender sends the GetAzureReachabilityReport request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetFlowLogStatus

func (client WatchersClient) GetFlowLogStatus(resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters, cancel <-chan struct{}) (<-chan FlowLogInformation, <-chan error)

GetFlowLogStatus queries status of flow log on a specified resource. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that define a resource to query flow log status.

func (WatchersClient) GetFlowLogStatusPreparer

func (client WatchersClient) GetFlowLogStatusPreparer(resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters, cancel <-chan struct{}) (*http.Request, error)

GetFlowLogStatusPreparer prepares the GetFlowLogStatus request.

func (WatchersClient) GetFlowLogStatusResponder

func (client WatchersClient) GetFlowLogStatusResponder(resp *http.Response) (result FlowLogInformation, err error)

GetFlowLogStatusResponder handles the response to the GetFlowLogStatus request. The method always closes the http.Response Body.

func (WatchersClient) GetFlowLogStatusSender

func (client WatchersClient) GetFlowLogStatusSender(req *http.Request) (*http.Response, error)

GetFlowLogStatusSender sends the GetFlowLogStatus request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetNextHop

func (client WatchersClient) GetNextHop(resourceGroupName string, networkWatcherName string, parameters NextHopParameters, cancel <-chan struct{}) (<-chan NextHopResult, <-chan error)

GetNextHop gets the next hop from the specified VM. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. parameters is parameters that define the source and destination endpoint.

func (WatchersClient) GetNextHopPreparer

func (client WatchersClient) GetNextHopPreparer(resourceGroupName string, networkWatcherName string, parameters NextHopParameters, cancel <-chan struct{}) (*http.Request, error)

GetNextHopPreparer prepares the GetNextHop request.

func (WatchersClient) GetNextHopResponder

func (client WatchersClient) GetNextHopResponder(resp *http.Response) (result NextHopResult, err error)

GetNextHopResponder handles the response to the GetNextHop request. The method always closes the http.Response Body.

func (WatchersClient) GetNextHopSender

func (client WatchersClient) GetNextHopSender(req *http.Request) (*http.Response, error)

GetNextHopSender sends the GetNextHop request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetPreparer

func (client WatchersClient) GetPreparer(resourceGroupName string, networkWatcherName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WatchersClient) GetResponder

func (client WatchersClient) GetResponder(resp *http.Response) (result Watcher, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (WatchersClient) GetSender

func (client WatchersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetTopology

func (client WatchersClient) GetTopology(resourceGroupName string, networkWatcherName string, parameters TopologyParameters) (result Topology, err error)

GetTopology gets the current network topology by resource group.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. parameters is parameters that define the representation of topology.

func (WatchersClient) GetTopologyPreparer

func (client WatchersClient) GetTopologyPreparer(resourceGroupName string, networkWatcherName string, parameters TopologyParameters) (*http.Request, error)

GetTopologyPreparer prepares the GetTopology request.

func (WatchersClient) GetTopologyResponder

func (client WatchersClient) GetTopologyResponder(resp *http.Response) (result Topology, err error)

GetTopologyResponder handles the response to the GetTopology request. The method always closes the http.Response Body.

func (WatchersClient) GetTopologySender

func (client WatchersClient) GetTopologySender(req *http.Request) (*http.Response, error)

GetTopologySender sends the GetTopology request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetTroubleshooting

func (client WatchersClient) GetTroubleshooting(resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters, cancel <-chan struct{}) (<-chan TroubleshootingResult, <-chan error)

GetTroubleshooting initiate troubleshooting on a specified resource This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that define the resource to troubleshoot.

func (WatchersClient) GetTroubleshootingPreparer

func (client WatchersClient) GetTroubleshootingPreparer(resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters, cancel <-chan struct{}) (*http.Request, error)

GetTroubleshootingPreparer prepares the GetTroubleshooting request.

func (WatchersClient) GetTroubleshootingResponder

func (client WatchersClient) GetTroubleshootingResponder(resp *http.Response) (result TroubleshootingResult, err error)

GetTroubleshootingResponder handles the response to the GetTroubleshooting request. The method always closes the http.Response Body.

func (WatchersClient) GetTroubleshootingResult

func (client WatchersClient) GetTroubleshootingResult(resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters, cancel <-chan struct{}) (<-chan TroubleshootingResult, <-chan error)

GetTroubleshootingResult get the last completed troubleshooting result on a specified resource This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that define the resource to query the troubleshooting result.

func (WatchersClient) GetTroubleshootingResultPreparer

func (client WatchersClient) GetTroubleshootingResultPreparer(resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters, cancel <-chan struct{}) (*http.Request, error)

GetTroubleshootingResultPreparer prepares the GetTroubleshootingResult request.

func (WatchersClient) GetTroubleshootingResultResponder

func (client WatchersClient) GetTroubleshootingResultResponder(resp *http.Response) (result TroubleshootingResult, err error)

GetTroubleshootingResultResponder handles the response to the GetTroubleshootingResult request. The method always closes the http.Response Body.

func (WatchersClient) GetTroubleshootingResultSender

func (client WatchersClient) GetTroubleshootingResultSender(req *http.Request) (*http.Response, error)

GetTroubleshootingResultSender sends the GetTroubleshootingResult request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetTroubleshootingSender

func (client WatchersClient) GetTroubleshootingSender(req *http.Request) (*http.Response, error)

GetTroubleshootingSender sends the GetTroubleshooting request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) GetVMSecurityRules

func (client WatchersClient) GetVMSecurityRules(resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters, cancel <-chan struct{}) (<-chan SecurityGroupViewResult, <-chan error)

GetVMSecurityRules gets the configured and effective security group rules on the specified VM. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. parameters is parameters that define the VM to check security groups for.

func (WatchersClient) GetVMSecurityRulesPreparer

func (client WatchersClient) GetVMSecurityRulesPreparer(resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters, cancel <-chan struct{}) (*http.Request, error)

GetVMSecurityRulesPreparer prepares the GetVMSecurityRules request.

func (WatchersClient) GetVMSecurityRulesResponder

func (client WatchersClient) GetVMSecurityRulesResponder(resp *http.Response) (result SecurityGroupViewResult, err error)

GetVMSecurityRulesResponder handles the response to the GetVMSecurityRules request. The method always closes the http.Response Body.

func (WatchersClient) GetVMSecurityRulesSender

func (client WatchersClient) GetVMSecurityRulesSender(req *http.Request) (*http.Response, error)

GetVMSecurityRulesSender sends the GetVMSecurityRules request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) List

func (client WatchersClient) List(resourceGroupName string) (result WatcherListResult, err error)

List gets all network watchers by resource group.

resourceGroupName is the name of the resource group.

func (WatchersClient) ListAll

func (client WatchersClient) ListAll() (result WatcherListResult, err error)

ListAll gets all network watchers by subscription.

func (WatchersClient) ListAllPreparer

func (client WatchersClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (WatchersClient) ListAllResponder

func (client WatchersClient) ListAllResponder(resp *http.Response) (result WatcherListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (WatchersClient) ListAllSender

func (client WatchersClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) ListAvailableProviders

func (client WatchersClient) ListAvailableProviders(resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters, cancel <-chan struct{}) (<-chan AvailableProvidersList, <-chan error)

ListAvailableProviders lists all available internet service providers for a specified Azure region. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that scope the list of available providers.

func (WatchersClient) ListAvailableProvidersPreparer

func (client WatchersClient) ListAvailableProvidersPreparer(resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters, cancel <-chan struct{}) (*http.Request, error)

ListAvailableProvidersPreparer prepares the ListAvailableProviders request.

func (WatchersClient) ListAvailableProvidersResponder

func (client WatchersClient) ListAvailableProvidersResponder(resp *http.Response) (result AvailableProvidersList, err error)

ListAvailableProvidersResponder handles the response to the ListAvailableProviders request. The method always closes the http.Response Body.

func (WatchersClient) ListAvailableProvidersSender

func (client WatchersClient) ListAvailableProvidersSender(req *http.Request) (*http.Response, error)

ListAvailableProvidersSender sends the ListAvailableProviders request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) ListPreparer

func (client WatchersClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (WatchersClient) ListResponder

func (client WatchersClient) ListResponder(resp *http.Response) (result WatcherListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (WatchersClient) ListSender

func (client WatchersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) SetFlowLogConfiguration

func (client WatchersClient) SetFlowLogConfiguration(resourceGroupName string, networkWatcherName string, parameters FlowLogInformation, cancel <-chan struct{}) (<-chan FlowLogInformation, <-chan error)

SetFlowLogConfiguration configures flow log on a specified resource. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the network watcher resource group. networkWatcherName is the name of the network watcher resource. parameters is parameters that define the configuration of flow log.

func (WatchersClient) SetFlowLogConfigurationPreparer

func (client WatchersClient) SetFlowLogConfigurationPreparer(resourceGroupName string, networkWatcherName string, parameters FlowLogInformation, cancel <-chan struct{}) (*http.Request, error)

SetFlowLogConfigurationPreparer prepares the SetFlowLogConfiguration request.

func (WatchersClient) SetFlowLogConfigurationResponder

func (client WatchersClient) SetFlowLogConfigurationResponder(resp *http.Response) (result FlowLogInformation, err error)

SetFlowLogConfigurationResponder handles the response to the SetFlowLogConfiguration request. The method always closes the http.Response Body.

func (WatchersClient) SetFlowLogConfigurationSender

func (client WatchersClient) SetFlowLogConfigurationSender(req *http.Request) (*http.Response, error)

SetFlowLogConfigurationSender sends the SetFlowLogConfiguration request. The method will close the http.Response Body if it receives an error.

func (WatchersClient) VerifyIPFlow

func (client WatchersClient) VerifyIPFlow(resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters, cancel <-chan struct{}) (<-chan VerificationIPFlowResult, <-chan error)

VerifyIPFlow verify IP flow from the specified VM to a location given the currently configured NSG rules. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. networkWatcherName is the name of the network watcher. parameters is parameters that define the IP flow to be verified.

func (WatchersClient) VerifyIPFlowPreparer

func (client WatchersClient) VerifyIPFlowPreparer(resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters, cancel <-chan struct{}) (*http.Request, error)

VerifyIPFlowPreparer prepares the VerifyIPFlow request.

func (WatchersClient) VerifyIPFlowResponder

func (client WatchersClient) VerifyIPFlowResponder(resp *http.Response) (result VerificationIPFlowResult, err error)

VerifyIPFlowResponder handles the response to the VerifyIPFlow request. The method always closes the http.Response Body.

func (WatchersClient) VerifyIPFlowSender

func (client WatchersClient) VerifyIPFlowSender(req *http.Request) (*http.Response, error)

VerifyIPFlowSender sends the VerifyIPFlow request. The method will close the http.Response Body if it receives an error.

Jump to

Keyboard shortcuts

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