network

package
v10.0.3-beta+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package network implements the Azure ARM Network service API version .

Composite Swagger for 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"`
}

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 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"`
}

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"`
}

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"`
	ProvisioningState          *string                               `json:"provisioningState,omitempty"`
	ConnectionDraining         *ApplicationGatewayConnectionDraining `json:"connectionDraining,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 *SubResource                                `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"`
}

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"`
}

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"`
}

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"`
}

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"`
}

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"`
	ProvisioningState   *string      `json:"provisioningState,omitempty"`
}

ApplicationGatewayPathRulePropertiesFormat is properties of probe 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"`
}

ApplicationGatewayProbe is probe of the application gateway.

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"`
	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"`
	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 ApplicationGatewayRequestRoutingRule

type ApplicationGatewayRequestRoutingRule struct {
	ID                                                    *string `json:"id,omitempty"`
	*ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`
	Name                                                  *string `json:"name,omitempty"`
	Etag                                                  *string `json:"etag,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"`
	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"`
}

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 ApplicationGatewaySslPolicy

type ApplicationGatewaySslPolicy struct {
	DisabledSslProtocols *[]ApplicationGatewaySslProtocol `json:"disabledSslProtocols,omitempty"`
}

ApplicationGatewaySslPolicy is application gateway SSL policy.

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"`
}

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"`
	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 composite Swagger for 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) 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) 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) 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) 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 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 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 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 BGPCommunity

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

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

type BackendAddressPool

type BackendAddressPool struct {
	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 composite Swagger for 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) 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 DNSNameAvailabilityResult

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

DNSNameAvailabilityResult is response for the CheckDnsNameAvailability API service call.

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"`
}

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                         SecurityRuleProtocol  `json:"protocol,omitempty"`
	SourcePortRange                  *string               `json:"sourcePortRange,omitempty"`
	DestinationPortRange             *string               `json:"destinationPortRange,omitempty"`
	SourceAddressPrefix              *string               `json:"sourceAddressPrefix,omitempty"`
	DestinationAddressPrefix         *string               `json:"destinationAddressPrefix,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 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 composite Swagger for 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) 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"`
	AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,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"`
}

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 composite Swagger for 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) 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 composite Swagger for 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) 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) 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 composite Swagger for 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) 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 {
	ID                                       *string `json:"id,omitempty"`
	*FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	Name                                     *string `json:"name,omitempty"`
	Etag                                     *string `json:"etag,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 iPConfiguration

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 {
	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 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 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 {
	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 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"`
	ProvisioningState                     *string                                 `json:"provisioningState,omitempty"`
}

InterfaceIPConfigurationPropertiesFormat is properties of IP configuration.

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 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 composite Swagger for 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) 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) 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) 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) 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 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"`
	*LoadBalancerPropertiesFormat `json:"properties,omitempty"`
	Etag                          *string `json:"etag,omitempty"`
}

LoadBalancer is loadBalancer resource

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 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 LoadBalancersClient

type LoadBalancersClient struct {
	ManagementClient
}

LoadBalancersClient is the composite Swagger for 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) 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) 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 {
	ID                                 *string `json:"id,omitempty"`
	*LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`
	Name                               *string `json:"name,omitempty"`
	Etag                               *string `json:"etag,omitempty"`
}

LoadBalancingRule is a loag 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"`
	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 composite Swagger for 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) 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.net 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 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 composite Swagger for 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 (
	// Any specifies the any state for pc protocol.
	Any PcProtocol = "Any"
	// TCP specifies the tcp state for pc protocol.
	TCP PcProtocol = "TCP"
	// UDP specifies the udp state for pc protocol.
	UDP 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 {
	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

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"`
	*PublicIPAddressPropertiesFormat `json:"properties,omitempty"`
	Etag                             *string `json:"etag,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 PublicIPAddressesClient

type PublicIPAddressesClient struct {
	ManagementClient
}

PublicIPAddressesClient is the composite Swagger for 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) 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) 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) 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.

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

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 composite Swagger for 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) 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 composite Swagger for 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) 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) 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 composite Swagger for 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) 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) 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 composite Swagger for 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) 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 composite Swagger for 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) 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) 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"`
	DestinationAddressPrefix *string               `json:"destinationAddressPrefix,omitempty"`
	Access                   SecurityRuleAccess    `json:"access,omitempty"`
	Priority                 *int32                `json:"priority,omitempty"`
	Direction                SecurityRuleDirection `json:"direction,omitempty"`
	ProvisioningState        *string               `json:"provisioningState,omitempty"`
}

SecurityRulePropertiesFormat is

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 composite Swagger for 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) 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 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 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

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"`
	IPConfigurations        *[]IPConfiguration        `json:"ipConfigurations,omitempty"`
	ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"`
	ProvisioningState       *string                   `json:"provisioningState,omitempty"`
}

SubnetPropertiesFormat is

type SubnetsClient

type SubnetsClient struct {
	ManagementClient
}

SubnetsClient is the composite Swagger for 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) 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 (
	// 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 {
	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 composite Swagger for 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 lists compute usages for a subscription.

location is the location where resource usage is queried.

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 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 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 composite Swagger for 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) 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 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 composite Swagger for 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) Generatevpnclientpackage

func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result String, err error)

Generatevpnclientpackage generates VPN client package for P2S client of the virtual network gateway in the specified resource group.

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) (*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) 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) 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.

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 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

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 composite Swagger for 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) 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"`
}

VirtualNetworkPropertiesFormat is

type VirtualNetworksClient

type VirtualNetworksClient struct {
	ManagementClient
}

VirtualNetworksClient is the composite Swagger for 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) 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) 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.

type VpnClientConfiguration

type VpnClientConfiguration struct {
	VpnClientAddressPool         *AddressSpace                  `json:"vpnClientAddressPool,omitempty"`
	VpnClientRootCertificates    *[]VpnClientRootCertificate    `json:"vpnClientRootCertificates,omitempty"`
	VpnClientRevokedCertificates *[]VpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"`
}

VpnClientConfiguration is vpnClientConfiguration for P2S client.

type VpnClientParameters

type VpnClientParameters struct {
	ProcessorArchitecture ProcessorArchitecture `json:"processorArchitecture,omitempty"`
}

VpnClientParameters is vpn Client Parameters for package generation

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 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 composite Swagger for 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) 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) 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) 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