network

package
v42.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package network implements the Azure ARM Network service API version .

Network Client

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AadAuthenticationParameters

type AadAuthenticationParameters struct {
	// AadTenant - AAD Vpn authentication parameter AAD tenant.
	AadTenant *string `json:"aadTenant,omitempty"`
	// AadAudience - AAD Vpn authentication parameter AAD audience.
	AadAudience *string `json:"aadAudience,omitempty"`
	// AadIssuer - AAD Vpn authentication parameter AAD issuer.
	AadIssuer *string `json:"aadIssuer,omitempty"`
}

AadAuthenticationParameters AAD Vpn authentication type related parameters.

type Access

type Access string

Access enumerates the values for access.

const (
	// Allow ...
	Allow Access = "Allow"
	// Deny ...
	Deny Access = "Deny"
)

func PossibleAccessValues

func PossibleAccessValues() []Access

PossibleAccessValues returns an array of possible values for the Access const type.

type AddressSpace

type AddressSpace struct {
	// AddressPrefixes - A list of address blocks reserved for this virtual network in CIDR notation.
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

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

type ApplicationGateway

type ApplicationGateway struct {
	autorest.Response `json:"-"`
	// ApplicationGatewayPropertiesFormat - Properties of the application gateway.
	*ApplicationGatewayPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Zones - A list of availability zones denoting where the resource needs to come from.
	Zones *[]string `json:"zones,omitempty"`
	// Identity - The identity of the application gateway, if configured.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ApplicationGateway application gateway resource.

func (ApplicationGateway) MarshalJSON

func (ag ApplicationGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGateway.

func (*ApplicationGateway) UnmarshalJSON

func (ag *ApplicationGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGateway struct.

type ApplicationGatewayAuthenticationCertificate

type ApplicationGatewayAuthenticationCertificate struct {
	// ApplicationGatewayAuthenticationCertificatePropertiesFormat - Properties of the application gateway authentication certificate.
	*ApplicationGatewayAuthenticationCertificatePropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the authentication certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayAuthenticationCertificate authentication certificates of an application gateway.

func (ApplicationGatewayAuthenticationCertificate) MarshalJSON

func (agac ApplicationGatewayAuthenticationCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificate.

func (*ApplicationGatewayAuthenticationCertificate) UnmarshalJSON

func (agac *ApplicationGatewayAuthenticationCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAuthenticationCertificate struct.

type ApplicationGatewayAuthenticationCertificatePropertiesFormat

type ApplicationGatewayAuthenticationCertificatePropertiesFormat struct {
	// Data - Certificate public data.
	Data *string `json:"data,omitempty"`
	// ProvisioningState - The provisioning state of the authentication certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayAuthenticationCertificatePropertiesFormat authentication certificates properties of an application gateway.

type ApplicationGatewayAutoscaleConfiguration

type ApplicationGatewayAutoscaleConfiguration struct {
	// MinCapacity - Lower bound on number of Application Gateway capacity.
	MinCapacity *int32 `json:"minCapacity,omitempty"`
	// MaxCapacity - Upper bound on number of Application Gateway capacity.
	MaxCapacity *int32 `json:"maxCapacity,omitempty"`
}

ApplicationGatewayAutoscaleConfiguration application Gateway autoscale configuration.

type ApplicationGatewayAvailableSslOptions

type ApplicationGatewayAvailableSslOptions struct {
	autorest.Response `json:"-"`
	// ApplicationGatewayAvailableSslOptionsPropertiesFormat - Properties of the application gateway available SSL options.
	*ApplicationGatewayAvailableSslOptionsPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ApplicationGatewayAvailableSslOptions response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSslOptions) MarshalJSON

func (agaso ApplicationGatewayAvailableSslOptions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayAvailableSslOptions.

func (*ApplicationGatewayAvailableSslOptions) UnmarshalJSON

func (agaso *ApplicationGatewayAvailableSslOptions) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAvailableSslOptions struct.

type ApplicationGatewayAvailableSslOptionsPropertiesFormat

type ApplicationGatewayAvailableSslOptionsPropertiesFormat struct {
	// PredefinedPolicies - List of available Ssl predefined policy.
	PredefinedPolicies *[]SubResource `json:"predefinedPolicies,omitempty"`
	// DefaultPolicy - Name of the Ssl predefined policy applied by default to application gateway. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'
	DefaultPolicy ApplicationGatewaySslPolicyName `json:"defaultPolicy,omitempty"`
	// AvailableCipherSuites - List of available Ssl cipher suites.
	AvailableCipherSuites *[]ApplicationGatewaySslCipherSuite `json:"availableCipherSuites,omitempty"`
	// AvailableProtocols - List of available Ssl protocols.
	AvailableProtocols *[]ApplicationGatewaySslProtocol `json:"availableProtocols,omitempty"`
}

ApplicationGatewayAvailableSslOptionsPropertiesFormat properties of ApplicationGatewayAvailableSslOptions.

type ApplicationGatewayAvailableSslPredefinedPolicies

type ApplicationGatewayAvailableSslPredefinedPolicies struct {
	autorest.Response `json:"-"`
	// Value - List of available Ssl predefined policy.
	Value *[]ApplicationGatewaySslPredefinedPolicy `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationGatewayAvailableSslPredefinedPolicies response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSslPredefinedPolicies) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayAvailableSslPredefinedPoliciesIterator

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

ApplicationGatewayAvailableSslPredefinedPoliciesIterator provides access to a complete listing of ApplicationGatewaySslPredefinedPolicy values.

func NewApplicationGatewayAvailableSslPredefinedPoliciesIterator

func NewApplicationGatewayAvailableSslPredefinedPoliciesIterator(page ApplicationGatewayAvailableSslPredefinedPoliciesPage) ApplicationGatewayAvailableSslPredefinedPoliciesIterator

Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesIterator type.

func (*ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Response

Response returns the raw server response from the last page request.

func (ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationGatewayAvailableSslPredefinedPoliciesPage

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

ApplicationGatewayAvailableSslPredefinedPoliciesPage contains a page of ApplicationGatewaySslPredefinedPolicy values.

func NewApplicationGatewayAvailableSslPredefinedPoliciesPage

Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesPage type.

func (*ApplicationGatewayAvailableSslPredefinedPoliciesPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationGatewayAvailableSslPredefinedPoliciesPage) NextWithContext

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationGatewayAvailableSslPredefinedPoliciesPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationGatewayAvailableSslPredefinedPoliciesPage) Response

Response returns the raw server response from the last page request.

func (ApplicationGatewayAvailableSslPredefinedPoliciesPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationGatewayAvailableWafRuleSetsResult

type ApplicationGatewayAvailableWafRuleSetsResult struct {
	autorest.Response `json:"-"`
	// Value - The list of application gateway rule sets.
	Value *[]ApplicationGatewayFirewallRuleSet `json:"value,omitempty"`
}

ApplicationGatewayAvailableWafRuleSetsResult response for ApplicationGatewayAvailableWafRuleSets API service call.

type ApplicationGatewayBackendAddress

type ApplicationGatewayBackendAddress struct {
	// Fqdn - Fully qualified domain name (FQDN).
	Fqdn *string `json:"fqdn,omitempty"`
	// IPAddress - IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
}

ApplicationGatewayBackendAddress backend address of an application gateway.

type ApplicationGatewayBackendAddressPool

type ApplicationGatewayBackendAddressPool struct {
	// ApplicationGatewayBackendAddressPoolPropertiesFormat - Properties of the application gateway backend address pool.
	*ApplicationGatewayBackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the backend address pool that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayBackendAddressPool backend Address Pool of an application gateway.

func (ApplicationGatewayBackendAddressPool) MarshalJSON

func (agbap ApplicationGatewayBackendAddressPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayBackendAddressPool.

func (*ApplicationGatewayBackendAddressPool) UnmarshalJSON

func (agbap *ApplicationGatewayBackendAddressPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendAddressPool struct.

type ApplicationGatewayBackendAddressPoolPropertiesFormat

type ApplicationGatewayBackendAddressPoolPropertiesFormat struct {
	// BackendIPConfigurations - Collection of references to IPs defined in network interfaces.
	BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
	// BackendAddresses - Backend addresses.
	BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
	// ProvisioningState - The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of an application gateway.

type ApplicationGatewayBackendHTTPSettings

type ApplicationGatewayBackendHTTPSettings struct {
	// ApplicationGatewayBackendHTTPSettingsPropertiesFormat - Properties of the application gateway backend HTTP settings.
	*ApplicationGatewayBackendHTTPSettingsPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the backend http settings that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayBackendHTTPSettings backend address pool settings of an application gateway.

func (ApplicationGatewayBackendHTTPSettings) MarshalJSON

func (agbhs ApplicationGatewayBackendHTTPSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettings.

func (*ApplicationGatewayBackendHTTPSettings) UnmarshalJSON

func (agbhs *ApplicationGatewayBackendHTTPSettings) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendHTTPSettings struct.

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat struct {
	// Port - The destination port on the backend.
	Port *int32 `json:"port,omitempty"`
	// Protocol - The protocol used to communicate with the backend. Possible values include: 'HTTP', 'HTTPS'
	Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
	// CookieBasedAffinity - Cookie based affinity. Possible values include: 'Enabled', 'Disabled'
	CookieBasedAffinity ApplicationGatewayCookieBasedAffinity `json:"cookieBasedAffinity,omitempty"`
	// RequestTimeout - Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds.
	RequestTimeout *int32 `json:"requestTimeout,omitempty"`
	// Probe - Probe resource of an application gateway.
	Probe *SubResource `json:"probe,omitempty"`
	// AuthenticationCertificates - Array of references to application gateway authentication certificates.
	AuthenticationCertificates *[]SubResource `json:"authenticationCertificates,omitempty"`
	// TrustedRootCertificates - Array of references to application gateway trusted root certificates.
	TrustedRootCertificates *[]SubResource `json:"trustedRootCertificates,omitempty"`
	// ConnectionDraining - Connection draining of the backend http settings resource.
	ConnectionDraining *ApplicationGatewayConnectionDraining `json:"connectionDraining,omitempty"`
	// HostName - Host header to be sent to the backend servers.
	HostName *string `json:"hostName,omitempty"`
	// PickHostNameFromBackendAddress - Whether to pick host header should be picked from the host name of the backend server. Default value is false.
	PickHostNameFromBackendAddress *bool `json:"pickHostNameFromBackendAddress,omitempty"`
	// AffinityCookieName - Cookie name to use for the affinity cookie.
	AffinityCookieName *string `json:"affinityCookieName,omitempty"`
	// ProbeEnabled - Whether the probe is enabled. Default value is false.
	ProbeEnabled *bool `json:"probeEnabled,omitempty"`
	// Path - Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null.
	Path *string `json:"path,omitempty"`
	// ProvisioningState - The provisioning state of the backend HTTP settings resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

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

type ApplicationGatewayBackendHealth

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

ApplicationGatewayBackendHealth response for ApplicationGatewayBackendHealth API service call.

type ApplicationGatewayBackendHealthHTTPSettings

type ApplicationGatewayBackendHealthHTTPSettings struct {
	// BackendHTTPSettings - Reference of an ApplicationGatewayBackendHttpSettings resource.
	BackendHTTPSettings *ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettings,omitempty"`
	// Servers - List of ApplicationGatewayBackendHealthServer resources.
	Servers *[]ApplicationGatewayBackendHealthServer `json:"servers,omitempty"`
}

ApplicationGatewayBackendHealthHTTPSettings application gateway BackendHealthHttp settings.

type ApplicationGatewayBackendHealthOnDemand

type ApplicationGatewayBackendHealthOnDemand struct {
	autorest.Response `json:"-"`
	// BackendAddressPool - Reference of an ApplicationGatewayBackendAddressPool resource.
	BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"`
	// BackendHealthHTTPSettings - Application gateway BackendHealthHttp settings.
	BackendHealthHTTPSettings *ApplicationGatewayBackendHealthHTTPSettings `json:"backendHealthHttpSettings,omitempty"`
}

ApplicationGatewayBackendHealthOnDemand result of on demand test probe.

type ApplicationGatewayBackendHealthPool

type ApplicationGatewayBackendHealthPool struct {
	// BackendAddressPool - Reference of an ApplicationGatewayBackendAddressPool resource.
	BackendAddressPool *ApplicationGatewayBackendAddressPool `json:"backendAddressPool,omitempty"`
	// BackendHTTPSettingsCollection - List of ApplicationGatewayBackendHealthHttpSettings resources.
	BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHealthHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
}

ApplicationGatewayBackendHealthPool application gateway BackendHealth pool.

type ApplicationGatewayBackendHealthServer

type ApplicationGatewayBackendHealthServer struct {
	// Address - IP address or FQDN of backend server.
	Address *string `json:"address,omitempty"`
	// IPConfiguration - Reference of IP configuration of backend server.
	IPConfiguration *InterfaceIPConfiguration `json:"ipConfiguration,omitempty"`
	// Health - Health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'
	Health ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"`
	// HealthProbeLog - Health Probe Log.
	HealthProbeLog *string `json:"healthProbeLog,omitempty"`
}

ApplicationGatewayBackendHealthServer application gateway backendhealth http settings.

type ApplicationGatewayBackendHealthServerHealth

type ApplicationGatewayBackendHealthServerHealth string

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

const (
	// Down ...
	Down ApplicationGatewayBackendHealthServerHealth = "Down"
	// Draining ...
	Draining ApplicationGatewayBackendHealthServerHealth = "Draining"
	// Partial ...
	Partial ApplicationGatewayBackendHealthServerHealth = "Partial"
	// Unknown ...
	Unknown ApplicationGatewayBackendHealthServerHealth = "Unknown"
	// Up ...
	Up ApplicationGatewayBackendHealthServerHealth = "Up"
)

func PossibleApplicationGatewayBackendHealthServerHealthValues

func PossibleApplicationGatewayBackendHealthServerHealthValues() []ApplicationGatewayBackendHealthServerHealth

PossibleApplicationGatewayBackendHealthServerHealthValues returns an array of possible values for the ApplicationGatewayBackendHealthServerHealth const type.

type ApplicationGatewayConnectionDraining

type ApplicationGatewayConnectionDraining struct {
	// Enabled - Whether connection draining is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`
	// DrainTimeoutInSec - The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.
	DrainTimeoutInSec *int32 `json:"drainTimeoutInSec,omitempty"`
}

ApplicationGatewayConnectionDraining 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 ...
	Disabled ApplicationGatewayCookieBasedAffinity = "Disabled"
	// Enabled ...
	Enabled ApplicationGatewayCookieBasedAffinity = "Enabled"
)

func PossibleApplicationGatewayCookieBasedAffinityValues

func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity

PossibleApplicationGatewayCookieBasedAffinityValues returns an array of possible values for the ApplicationGatewayCookieBasedAffinity const type.

type ApplicationGatewayCustomError

type ApplicationGatewayCustomError struct {
	// StatusCode - Status code of the application gateway customer error. Possible values include: 'HTTPStatus403', 'HTTPStatus502'
	StatusCode ApplicationGatewayCustomErrorStatusCode `json:"statusCode,omitempty"`
	// CustomErrorPageURL - Error page URL of the application gateway customer error.
	CustomErrorPageURL *string `json:"customErrorPageUrl,omitempty"`
}

ApplicationGatewayCustomError customer error of an application gateway.

type ApplicationGatewayCustomErrorStatusCode

type ApplicationGatewayCustomErrorStatusCode string

ApplicationGatewayCustomErrorStatusCode enumerates the values for application gateway custom error status code.

const (
	// HTTPStatus403 ...
	HTTPStatus403 ApplicationGatewayCustomErrorStatusCode = "HttpStatus403"
	// HTTPStatus502 ...
	HTTPStatus502 ApplicationGatewayCustomErrorStatusCode = "HttpStatus502"
)

func PossibleApplicationGatewayCustomErrorStatusCodeValues

func PossibleApplicationGatewayCustomErrorStatusCodeValues() []ApplicationGatewayCustomErrorStatusCode

PossibleApplicationGatewayCustomErrorStatusCodeValues returns an array of possible values for the ApplicationGatewayCustomErrorStatusCode const type.

type ApplicationGatewayFirewallDisabledRuleGroup

type ApplicationGatewayFirewallDisabledRuleGroup struct {
	// RuleGroupName - The name of the rule group that will be disabled.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`
	// Rules - The list of rules that will be disabled. If null, all rules of the rule group will be disabled.
	Rules *[]int32 `json:"rules,omitempty"`
}

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

type ApplicationGatewayFirewallExclusion

type ApplicationGatewayFirewallExclusion struct {
	// MatchVariable - The variable to be excluded.
	MatchVariable *string `json:"matchVariable,omitempty"`
	// SelectorMatchOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
	SelectorMatchOperator *string `json:"selectorMatchOperator,omitempty"`
	// Selector - When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
	Selector *string `json:"selector,omitempty"`
}

ApplicationGatewayFirewallExclusion allow to exclude some variable satisfy the condition for the WAF check.

type ApplicationGatewayFirewallMode

type ApplicationGatewayFirewallMode string

ApplicationGatewayFirewallMode enumerates the values for application gateway firewall mode.

const (
	// Detection ...
	Detection ApplicationGatewayFirewallMode = "Detection"
	// Prevention ...
	Prevention ApplicationGatewayFirewallMode = "Prevention"
)

func PossibleApplicationGatewayFirewallModeValues

func PossibleApplicationGatewayFirewallModeValues() []ApplicationGatewayFirewallMode

PossibleApplicationGatewayFirewallModeValues returns an array of possible values for the ApplicationGatewayFirewallMode const type.

type ApplicationGatewayFirewallRule

type ApplicationGatewayFirewallRule struct {
	// RuleID - The identifier of the web application firewall rule.
	RuleID *int32 `json:"ruleId,omitempty"`
	// Description - The description of the web application firewall rule.
	Description *string `json:"description,omitempty"`
}

ApplicationGatewayFirewallRule a web application firewall rule.

type ApplicationGatewayFirewallRuleGroup

type ApplicationGatewayFirewallRuleGroup struct {
	// RuleGroupName - The name of the web application firewall rule group.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`
	// Description - The description of the web application firewall rule group.
	Description *string `json:"description,omitempty"`
	// Rules - The rules of the web application firewall rule group.
	Rules *[]ApplicationGatewayFirewallRule `json:"rules,omitempty"`
}

ApplicationGatewayFirewallRuleGroup a web application firewall rule group.

type ApplicationGatewayFirewallRuleSet

type ApplicationGatewayFirewallRuleSet struct {
	// ApplicationGatewayFirewallRuleSetPropertiesFormat - Properties of the application gateway firewall rule set.
	*ApplicationGatewayFirewallRuleSetPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ApplicationGatewayFirewallRuleSet a web application firewall rule set.

func (ApplicationGatewayFirewallRuleSet) MarshalJSON

func (agfrs ApplicationGatewayFirewallRuleSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayFirewallRuleSet.

func (*ApplicationGatewayFirewallRuleSet) UnmarshalJSON

func (agfrs *ApplicationGatewayFirewallRuleSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFirewallRuleSet struct.

type ApplicationGatewayFirewallRuleSetPropertiesFormat

type ApplicationGatewayFirewallRuleSetPropertiesFormat struct {
	// ProvisioningState - The provisioning state of the web application firewall rule set. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// RuleSetType - The type of the web application firewall rule set.
	RuleSetType *string `json:"ruleSetType,omitempty"`
	// RuleSetVersion - The version of the web application firewall rule set type.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
	// RuleGroups - The rule groups of the web application firewall rule set.
	RuleGroups *[]ApplicationGatewayFirewallRuleGroup `json:"ruleGroups,omitempty"`
}

ApplicationGatewayFirewallRuleSetPropertiesFormat properties of the web application firewall rule set.

type ApplicationGatewayFrontendIPConfiguration

type ApplicationGatewayFrontendIPConfiguration struct {
	// ApplicationGatewayFrontendIPConfigurationPropertiesFormat - Properties of the application gateway frontend IP configuration.
	*ApplicationGatewayFrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the frontend IP configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayFrontendIPConfiguration frontend IP configuration of an application gateway.

func (ApplicationGatewayFrontendIPConfiguration) MarshalJSON

func (agfic ApplicationGatewayFrontendIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfiguration.

func (*ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON

func (agfic *ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendIPConfiguration struct.

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat struct {
	// PrivateIPAddress - PrivateIPAddress of the network interface IP Configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// Subnet - Reference of the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`
	// PublicIPAddress - Reference of the PublicIP resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
	// ProvisioningState - The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendIPConfigurationPropertiesFormat properties of Frontend IP configuration of an application gateway.

type ApplicationGatewayFrontendPort

type ApplicationGatewayFrontendPort struct {
	// ApplicationGatewayFrontendPortPropertiesFormat - Properties of the application gateway frontend port.
	*ApplicationGatewayFrontendPortPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the frontend port that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayFrontendPort frontend port of an application gateway.

func (ApplicationGatewayFrontendPort) MarshalJSON

func (agfp ApplicationGatewayFrontendPort) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendPort.

func (*ApplicationGatewayFrontendPort) UnmarshalJSON

func (agfp *ApplicationGatewayFrontendPort) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendPort struct.

type ApplicationGatewayFrontendPortPropertiesFormat

type ApplicationGatewayFrontendPortPropertiesFormat struct {
	// Port - Frontend port.
	Port *int32 `json:"port,omitempty"`
	// ProvisioningState - The provisioning state of the frontend port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendPortPropertiesFormat properties of Frontend port of an application gateway.

type ApplicationGatewayHTTPListener

type ApplicationGatewayHTTPListener struct {
	// ApplicationGatewayHTTPListenerPropertiesFormat - Properties of the application gateway HTTP listener.
	*ApplicationGatewayHTTPListenerPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the HTTP listener that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayHTTPListener http listener of an application gateway.

func (ApplicationGatewayHTTPListener) MarshalJSON

func (aghl ApplicationGatewayHTTPListener) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListener.

func (*ApplicationGatewayHTTPListener) UnmarshalJSON

func (aghl *ApplicationGatewayHTTPListener) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayHTTPListener struct.

type ApplicationGatewayHTTPListenerPropertiesFormat

type ApplicationGatewayHTTPListenerPropertiesFormat struct {
	// FrontendIPConfiguration - Frontend IP configuration resource of an application gateway.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
	// FrontendPort - Frontend port resource of an application gateway.
	FrontendPort *SubResource `json:"frontendPort,omitempty"`
	// Protocol - Protocol of the HTTP listener. Possible values include: 'HTTP', 'HTTPS'
	Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
	// HostName - Host name of HTTP listener.
	HostName *string `json:"hostName,omitempty"`
	// SslCertificate - SSL certificate resource of an application gateway.
	SslCertificate *SubResource `json:"sslCertificate,omitempty"`
	// RequireServerNameIndication - Applicable only if protocol is https. Enables SNI for multi-hosting.
	RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"`
	// ProvisioningState - The provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// CustomErrorConfigurations - Custom error configurations of the HTTP listener.
	CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"`
}

ApplicationGatewayHTTPListenerPropertiesFormat properties of HTTP listener of an application gateway.

type ApplicationGatewayHeaderConfiguration

type ApplicationGatewayHeaderConfiguration struct {
	// HeaderName - Header name of the header configuration.
	HeaderName *string `json:"headerName,omitempty"`
	// HeaderValue - Header value of the header configuration.
	HeaderValue *string `json:"headerValue,omitempty"`
}

ApplicationGatewayHeaderConfiguration header configuration of the Actions set in Application Gateway.

type ApplicationGatewayIPConfiguration

type ApplicationGatewayIPConfiguration struct {
	// ApplicationGatewayIPConfigurationPropertiesFormat - Properties of the application gateway IP configuration.
	*ApplicationGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the IP configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

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

func (ApplicationGatewayIPConfiguration) MarshalJSON

func (agic ApplicationGatewayIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayIPConfiguration.

func (*ApplicationGatewayIPConfiguration) UnmarshalJSON

func (agic *ApplicationGatewayIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayIPConfiguration struct.

type ApplicationGatewayIPConfigurationPropertiesFormat

type ApplicationGatewayIPConfigurationPropertiesFormat struct {
	// Subnet - Reference of the subnet resource. A subnet from where application gateway gets its private address.
	Subnet *SubResource `json:"subnet,omitempty"`
	// ProvisioningState - The provisioning state of the application gateway IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayIPConfigurationPropertiesFormat properties of IP configuration of an application gateway.

type ApplicationGatewayListResult

type ApplicationGatewayListResult struct {
	autorest.Response `json:"-"`
	// Value - List of an application gateways in a resource group.
	Value *[]ApplicationGateway `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationGatewayListResult response for ListApplicationGateways API service call.

func (ApplicationGatewayListResult) IsEmpty

func (aglr ApplicationGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayListResultIterator

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

ApplicationGatewayListResultIterator provides access to a complete listing of ApplicationGateway values.

func NewApplicationGatewayListResultIterator

func NewApplicationGatewayListResultIterator(page ApplicationGatewayListResultPage) ApplicationGatewayListResultIterator

Creates a new instance of the ApplicationGatewayListResultIterator type.

func (*ApplicationGatewayListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationGatewayListResultIterator) NextWithContext

func (iter *ApplicationGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationGatewayListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationGatewayListResultIterator) Response

Response returns the raw server response from the last page request.

func (ApplicationGatewayListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationGatewayListResultPage

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

ApplicationGatewayListResultPage contains a page of ApplicationGateway values.

func NewApplicationGatewayListResultPage

Creates a new instance of the ApplicationGatewayListResultPage type.

func (*ApplicationGatewayListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationGatewayListResultPage) NextWithContext

func (page *ApplicationGatewayListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationGatewayListResultPage) NotDone

func (page ApplicationGatewayListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationGatewayListResultPage) Response

Response returns the raw server response from the last page request.

func (ApplicationGatewayListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationGatewayOnDemandProbe

type ApplicationGatewayOnDemandProbe struct {
	// Protocol - The protocol used for the probe. Possible values include: 'HTTP', 'HTTPS'
	Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
	// Host - Host name to send the probe to.
	Host *string `json:"host,omitempty"`
	// Path - Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>.
	Path *string `json:"path,omitempty"`
	// Timeout - The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds.
	Timeout *int32 `json:"timeout,omitempty"`
	// PickHostNameFromBackendHTTPSettings - Whether the host header should be picked from the backend http settings. Default value is false.
	PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"`
	// Match - Criterion for classifying a healthy probe response.
	Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"`
	// BackendAddressPool - Reference of backend pool of application gateway to which probe request will be sent.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
	// BackendHTTPSettings - Reference of backend http setting of application gateway to be used for test probe.
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
}

ApplicationGatewayOnDemandProbe details of on demand test probe request.

type ApplicationGatewayOperationalState

type ApplicationGatewayOperationalState string

ApplicationGatewayOperationalState enumerates the values for application gateway operational state.

const (
	// Running ...
	Running ApplicationGatewayOperationalState = "Running"
	// Starting ...
	Starting ApplicationGatewayOperationalState = "Starting"
	// Stopped ...
	Stopped ApplicationGatewayOperationalState = "Stopped"
	// Stopping ...
	Stopping ApplicationGatewayOperationalState = "Stopping"
)

func PossibleApplicationGatewayOperationalStateValues

func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState

PossibleApplicationGatewayOperationalStateValues returns an array of possible values for the ApplicationGatewayOperationalState const type.

type ApplicationGatewayPathRule

type ApplicationGatewayPathRule struct {
	// ApplicationGatewayPathRulePropertiesFormat - Properties of the application gateway path rule.
	*ApplicationGatewayPathRulePropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the path rule that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

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

func (ApplicationGatewayPathRule) MarshalJSON

func (agpr ApplicationGatewayPathRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPathRule.

func (*ApplicationGatewayPathRule) UnmarshalJSON

func (agpr *ApplicationGatewayPathRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPathRule struct.

type ApplicationGatewayPathRulePropertiesFormat

type ApplicationGatewayPathRulePropertiesFormat struct {
	// Paths - Path rules of URL path map.
	Paths *[]string `json:"paths,omitempty"`
	// BackendAddressPool - Backend address pool resource of URL path map path rule.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
	// BackendHTTPSettings - Backend http settings resource of URL path map path rule.
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
	// RedirectConfiguration - Redirect configuration resource of URL path map path rule.
	RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"`
	// RewriteRuleSet - Rewrite rule set resource of URL path map path rule.
	RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"`
	// ProvisioningState - The provisioning state of the path rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayPathRulePropertiesFormat properties of path rule of an application gateway.

type ApplicationGatewayProbe

type ApplicationGatewayProbe struct {
	// ApplicationGatewayProbePropertiesFormat - Properties of the application gateway probe.
	*ApplicationGatewayProbePropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the probe that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayProbe probe of the application gateway.

func (ApplicationGatewayProbe) MarshalJSON

func (agp ApplicationGatewayProbe) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayProbe.

func (*ApplicationGatewayProbe) UnmarshalJSON

func (agp *ApplicationGatewayProbe) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayProbe struct.

type ApplicationGatewayProbeHealthResponseMatch

type ApplicationGatewayProbeHealthResponseMatch struct {
	// Body - Body that must be contained in the health response. Default value is empty.
	Body *string `json:"body,omitempty"`
	// StatusCodes - Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
	StatusCodes *[]string `json:"statusCodes,omitempty"`
}

ApplicationGatewayProbeHealthResponseMatch application gateway probe health response match.

type ApplicationGatewayProbePropertiesFormat

type ApplicationGatewayProbePropertiesFormat struct {
	// Protocol - The protocol used for the probe. Possible values include: 'HTTP', 'HTTPS'
	Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
	// Host - Host name to send the probe to.
	Host *string `json:"host,omitempty"`
	// Path - Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>.
	Path *string `json:"path,omitempty"`
	// Interval - The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds.
	Interval *int32 `json:"interval,omitempty"`
	// Timeout - The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds.
	Timeout *int32 `json:"timeout,omitempty"`
	// UnhealthyThreshold - The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20.
	UnhealthyThreshold *int32 `json:"unhealthyThreshold,omitempty"`
	// PickHostNameFromBackendHTTPSettings - Whether the host header should be picked from the backend http settings. Default value is false.
	PickHostNameFromBackendHTTPSettings *bool `json:"pickHostNameFromBackendHttpSettings,omitempty"`
	// MinServers - Minimum number of servers that are always marked healthy. Default value is 0.
	MinServers *int32 `json:"minServers,omitempty"`
	// Match - Criterion for classifying a healthy probe response.
	Match *ApplicationGatewayProbeHealthResponseMatch `json:"match,omitempty"`
	// ProvisioningState - The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Port - Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only.
	Port *int32 `json:"port,omitempty"`
}

ApplicationGatewayProbePropertiesFormat properties of probe of an application gateway.

type ApplicationGatewayPropertiesFormat

type ApplicationGatewayPropertiesFormat struct {
	// Sku - SKU of the application gateway resource.
	Sku *ApplicationGatewaySku `json:"sku,omitempty"`
	// SslPolicy - SSL policy of the application gateway resource.
	SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"`
	// OperationalState - READ-ONLY; Operational state of the application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'
	OperationalState ApplicationGatewayOperationalState `json:"operationalState,omitempty"`
	// GatewayIPConfigurations - Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"`
	// AuthenticationCertificates - Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"`
	// TrustedRootCertificates - Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	TrustedRootCertificates *[]ApplicationGatewayTrustedRootCertificate `json:"trustedRootCertificates,omitempty"`
	// SslCertificates - SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"`
	// FrontendIPConfigurations - Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	// FrontendPorts - Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"`
	// Probes - Probes of the application gateway resource.
	Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"`
	// BackendAddressPools - Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"`
	// BackendHTTPSettingsCollection - Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
	// HTTPListeners - Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"`
	// URLPathMaps - URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	URLPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"`
	// RequestRoutingRules - Request routing rules of the application gateway resource.
	RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"`
	// RewriteRuleSets - Rewrite rules for the application gateway resource.
	RewriteRuleSets *[]ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"`
	// RedirectConfigurations - Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	RedirectConfigurations *[]ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"`
	// WebApplicationFirewallConfiguration - Web application firewall configuration.
	WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"`
	// FirewallPolicy - Reference of the FirewallPolicy resource.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`
	// EnableHTTP2 - Whether HTTP2 is enabled on the application gateway resource.
	EnableHTTP2 *bool `json:"enableHttp2,omitempty"`
	// EnableFips - Whether FIPS is enabled on the application gateway resource.
	EnableFips *bool `json:"enableFips,omitempty"`
	// AutoscaleConfiguration - Autoscale Configuration.
	AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"`
	// ResourceGUID - The resource GUID property of the application gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the application gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// CustomErrorConfigurations - Custom error configurations of the application gateway resource.
	CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"`
}

ApplicationGatewayPropertiesFormat properties of the application gateway.

type ApplicationGatewayProtocol

type ApplicationGatewayProtocol string

ApplicationGatewayProtocol enumerates the values for application gateway protocol.

const (
	// HTTP ...
	HTTP ApplicationGatewayProtocol = "Http"
	// HTTPS ...
	HTTPS ApplicationGatewayProtocol = "Https"
)

func PossibleApplicationGatewayProtocolValues

func PossibleApplicationGatewayProtocolValues() []ApplicationGatewayProtocol

PossibleApplicationGatewayProtocolValues returns an array of possible values for the ApplicationGatewayProtocol const type.

type ApplicationGatewayRedirectConfiguration

type ApplicationGatewayRedirectConfiguration struct {
	// ApplicationGatewayRedirectConfigurationPropertiesFormat - Properties of the application gateway redirect configuration.
	*ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the redirect configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayRedirectConfiguration redirect configuration of an application gateway.

func (ApplicationGatewayRedirectConfiguration) MarshalJSON

func (agrc ApplicationGatewayRedirectConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayRedirectConfiguration.

func (*ApplicationGatewayRedirectConfiguration) UnmarshalJSON

func (agrc *ApplicationGatewayRedirectConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRedirectConfiguration struct.

type ApplicationGatewayRedirectConfigurationPropertiesFormat

type ApplicationGatewayRedirectConfigurationPropertiesFormat struct {
	// RedirectType - HTTP redirection type. Possible values include: 'Permanent', 'Found', 'SeeOther', 'Temporary'
	RedirectType ApplicationGatewayRedirectType `json:"redirectType,omitempty"`
	// TargetListener - Reference to a listener to redirect the request to.
	TargetListener *SubResource `json:"targetListener,omitempty"`
	// TargetURL - Url to redirect the request to.
	TargetURL *string `json:"targetUrl,omitempty"`
	// IncludePath - Include path in the redirected url.
	IncludePath *bool `json:"includePath,omitempty"`
	// IncludeQueryString - Include query string in the redirected url.
	IncludeQueryString *bool `json:"includeQueryString,omitempty"`
	// RequestRoutingRules - Request routing specifying redirect configuration.
	RequestRoutingRules *[]SubResource `json:"requestRoutingRules,omitempty"`
	// URLPathMaps - Url path maps specifying default redirect configuration.
	URLPathMaps *[]SubResource `json:"urlPathMaps,omitempty"`
	// PathRules - Path rules specifying redirect configuration.
	PathRules *[]SubResource `json:"pathRules,omitempty"`
}

ApplicationGatewayRedirectConfigurationPropertiesFormat properties of redirect configuration of the application gateway.

type ApplicationGatewayRedirectType

type ApplicationGatewayRedirectType string

ApplicationGatewayRedirectType enumerates the values for application gateway redirect type.

const (
	// Found ...
	Found ApplicationGatewayRedirectType = "Found"
	// Permanent ...
	Permanent ApplicationGatewayRedirectType = "Permanent"
	// SeeOther ...
	SeeOther ApplicationGatewayRedirectType = "SeeOther"
	// Temporary ...
	Temporary ApplicationGatewayRedirectType = "Temporary"
)

func PossibleApplicationGatewayRedirectTypeValues

func PossibleApplicationGatewayRedirectTypeValues() []ApplicationGatewayRedirectType

PossibleApplicationGatewayRedirectTypeValues returns an array of possible values for the ApplicationGatewayRedirectType const type.

type ApplicationGatewayRequestRoutingRule

type ApplicationGatewayRequestRoutingRule struct {
	// ApplicationGatewayRequestRoutingRulePropertiesFormat - Properties of the application gateway request routing rule.
	*ApplicationGatewayRequestRoutingRulePropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the request routing rule that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayRequestRoutingRule request routing rule of an application gateway.

func (ApplicationGatewayRequestRoutingRule) MarshalJSON

func (agrrr ApplicationGatewayRequestRoutingRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRule.

func (*ApplicationGatewayRequestRoutingRule) UnmarshalJSON

func (agrrr *ApplicationGatewayRequestRoutingRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRequestRoutingRule struct.

type ApplicationGatewayRequestRoutingRulePropertiesFormat

type ApplicationGatewayRequestRoutingRulePropertiesFormat struct {
	// RuleType - Rule type. Possible values include: 'Basic', 'PathBasedRouting'
	RuleType ApplicationGatewayRequestRoutingRuleType `json:"ruleType,omitempty"`
	// Priority - Priority of the request routing rule.
	Priority *int32 `json:"priority,omitempty"`
	// BackendAddressPool - Backend address pool resource of the application gateway.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
	// BackendHTTPSettings - Backend http settings resource of the application gateway.
	BackendHTTPSettings *SubResource `json:"backendHttpSettings,omitempty"`
	// HTTPListener - Http listener resource of the application gateway.
	HTTPListener *SubResource `json:"httpListener,omitempty"`
	// URLPathMap - URL path map resource of the application gateway.
	URLPathMap *SubResource `json:"urlPathMap,omitempty"`
	// RewriteRuleSet - Rewrite Rule Set resource in Basic rule of the application gateway.
	RewriteRuleSet *SubResource `json:"rewriteRuleSet,omitempty"`
	// RedirectConfiguration - Redirect configuration resource of the application gateway.
	RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"`
	// ProvisioningState - The provisioning state of the request routing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayRequestRoutingRulePropertiesFormat 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 ...
	Basic ApplicationGatewayRequestRoutingRuleType = "Basic"
	// PathBasedRouting ...
	PathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting"
)

func PossibleApplicationGatewayRequestRoutingRuleTypeValues

func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType

PossibleApplicationGatewayRequestRoutingRuleTypeValues returns an array of possible values for the ApplicationGatewayRequestRoutingRuleType const type.

type ApplicationGatewayRewriteRule

type ApplicationGatewayRewriteRule struct {
	// Name - Name of the rewrite rule that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// RuleSequence - Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.
	RuleSequence *int32 `json:"ruleSequence,omitempty"`
	// Conditions - Conditions based on which the action set execution will be evaluated.
	Conditions *[]ApplicationGatewayRewriteRuleCondition `json:"conditions,omitempty"`
	// ActionSet - Set of actions to be done as part of the rewrite Rule.
	ActionSet *ApplicationGatewayRewriteRuleActionSet `json:"actionSet,omitempty"`
}

ApplicationGatewayRewriteRule rewrite rule of an application gateway.

type ApplicationGatewayRewriteRuleActionSet

type ApplicationGatewayRewriteRuleActionSet struct {
	// RequestHeaderConfigurations - Request Header Actions in the Action Set.
	RequestHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"requestHeaderConfigurations,omitempty"`
	// ResponseHeaderConfigurations - Response Header Actions in the Action Set.
	ResponseHeaderConfigurations *[]ApplicationGatewayHeaderConfiguration `json:"responseHeaderConfigurations,omitempty"`
}

ApplicationGatewayRewriteRuleActionSet set of actions in the Rewrite Rule in Application Gateway.

type ApplicationGatewayRewriteRuleCondition

type ApplicationGatewayRewriteRuleCondition struct {
	// Variable - The condition parameter of the RewriteRuleCondition.
	Variable *string `json:"variable,omitempty"`
	// Pattern - The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition.
	Pattern *string `json:"pattern,omitempty"`
	// IgnoreCase - Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison.
	IgnoreCase *bool `json:"ignoreCase,omitempty"`
	// Negate - Setting this value as truth will force to check the negation of the condition given by the user.
	Negate *bool `json:"negate,omitempty"`
}

ApplicationGatewayRewriteRuleCondition set of conditions in the Rewrite Rule in Application Gateway.

type ApplicationGatewayRewriteRuleSet

type ApplicationGatewayRewriteRuleSet struct {
	// ApplicationGatewayRewriteRuleSetPropertiesFormat - Properties of the application gateway rewrite rule set.
	*ApplicationGatewayRewriteRuleSetPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the rewrite rule set that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayRewriteRuleSet rewrite rule set of an application gateway.

func (ApplicationGatewayRewriteRuleSet) MarshalJSON

func (agrrs ApplicationGatewayRewriteRuleSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayRewriteRuleSet.

func (*ApplicationGatewayRewriteRuleSet) UnmarshalJSON

func (agrrs *ApplicationGatewayRewriteRuleSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRewriteRuleSet struct.

type ApplicationGatewayRewriteRuleSetPropertiesFormat

type ApplicationGatewayRewriteRuleSetPropertiesFormat struct {
	// RewriteRules - Rewrite rules in the rewrite rule set.
	RewriteRules *[]ApplicationGatewayRewriteRule `json:"rewriteRules,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the rewrite rule set resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayRewriteRuleSetPropertiesFormat properties of rewrite rule set of the application gateway.

type ApplicationGatewaySku

type ApplicationGatewaySku struct {
	// Name - Name of an application gateway SKU. Possible values include: 'StandardSmall', 'StandardMedium', 'StandardLarge', 'WAFMedium', 'WAFLarge', 'StandardV2', 'WAFV2'
	Name ApplicationGatewaySkuName `json:"name,omitempty"`
	// Tier - Tier of an application gateway. Possible values include: 'ApplicationGatewayTierStandard', 'ApplicationGatewayTierWAF', 'ApplicationGatewayTierStandardV2', 'ApplicationGatewayTierWAFV2'
	Tier ApplicationGatewayTier `json:"tier,omitempty"`
	// Capacity - Capacity (instance count) of an application gateway.
	Capacity *int32 `json:"capacity,omitempty"`
}

ApplicationGatewaySku SKU of an application gateway.

type ApplicationGatewaySkuName

type ApplicationGatewaySkuName string

ApplicationGatewaySkuName enumerates the values for application gateway sku name.

const (
	// StandardLarge ...
	StandardLarge ApplicationGatewaySkuName = "Standard_Large"
	// StandardMedium ...
	StandardMedium ApplicationGatewaySkuName = "Standard_Medium"
	// StandardSmall ...
	StandardSmall ApplicationGatewaySkuName = "Standard_Small"
	// StandardV2 ...
	StandardV2 ApplicationGatewaySkuName = "Standard_v2"
	// WAFLarge ...
	WAFLarge ApplicationGatewaySkuName = "WAF_Large"
	// WAFMedium ...
	WAFMedium ApplicationGatewaySkuName = "WAF_Medium"
	// WAFV2 ...
	WAFV2 ApplicationGatewaySkuName = "WAF_v2"
)

func PossibleApplicationGatewaySkuNameValues

func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName

PossibleApplicationGatewaySkuNameValues returns an array of possible values for the ApplicationGatewaySkuName const type.

type ApplicationGatewaySslCertificate

type ApplicationGatewaySslCertificate struct {
	// ApplicationGatewaySslCertificatePropertiesFormat - Properties of the application gateway SSL certificate.
	*ApplicationGatewaySslCertificatePropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the SSL certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewaySslCertificate SSL certificates of an application gateway.

func (ApplicationGatewaySslCertificate) MarshalJSON

func (agsc ApplicationGatewaySslCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewaySslCertificate.

func (*ApplicationGatewaySslCertificate) UnmarshalJSON

func (agsc *ApplicationGatewaySslCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslCertificate struct.

type ApplicationGatewaySslCertificatePropertiesFormat

type ApplicationGatewaySslCertificatePropertiesFormat struct {
	// Data - Base-64 encoded pfx certificate. Only applicable in PUT Request.
	Data *string `json:"data,omitempty"`
	// Password - Password for the pfx file specified in data. Only applicable in PUT request.
	Password *string `json:"password,omitempty"`
	// PublicCertData - Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request.
	PublicCertData *string `json:"publicCertData,omitempty"`
	// KeyVaultSecretID - Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
	KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"`
	// ProvisioningState - The provisioning state of the SSL certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of an application gateway.

type ApplicationGatewaySslCipherSuite

type ApplicationGatewaySslCipherSuite string

ApplicationGatewaySslCipherSuite enumerates the values for application gateway ssl cipher suite.

const (
	// TLSDHEDSSWITH3DESEDECBCSHA ...
	TLSDHEDSSWITH3DESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
	// TLSDHEDSSWITHAES128CBCSHA ...
	TLSDHEDSSWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
	// TLSDHEDSSWITHAES128CBCSHA256 ...
	TLSDHEDSSWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
	// TLSDHEDSSWITHAES256CBCSHA ...
	TLSDHEDSSWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
	// TLSDHEDSSWITHAES256CBCSHA256 ...
	TLSDHEDSSWITHAES256CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
	// TLSDHERSAWITHAES128CBCSHA ...
	TLSDHERSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
	// TLSDHERSAWITHAES128GCMSHA256 ...
	TLSDHERSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
	// TLSDHERSAWITHAES256CBCSHA ...
	TLSDHERSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
	// TLSDHERSAWITHAES256GCMSHA384 ...
	TLSDHERSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
	// TLSECDHEECDSAWITHAES128CBCSHA ...
	TLSECDHEECDSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
	// TLSECDHEECDSAWITHAES128CBCSHA256 ...
	TLSECDHEECDSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
	// TLSECDHEECDSAWITHAES128GCMSHA256 ...
	TLSECDHEECDSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
	// TLSECDHEECDSAWITHAES256CBCSHA ...
	TLSECDHEECDSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
	// TLSECDHEECDSAWITHAES256CBCSHA384 ...
	TLSECDHEECDSAWITHAES256CBCSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
	// TLSECDHEECDSAWITHAES256GCMSHA384 ...
	TLSECDHEECDSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
	// TLSECDHERSAWITHAES128CBCSHA ...
	TLSECDHERSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
	// TLSECDHERSAWITHAES128CBCSHA256 ...
	TLSECDHERSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
	// TLSECDHERSAWITHAES128GCMSHA256 ...
	TLSECDHERSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
	// TLSECDHERSAWITHAES256CBCSHA ...
	TLSECDHERSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
	// TLSECDHERSAWITHAES256CBCSHA384 ...
	TLSECDHERSAWITHAES256CBCSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
	// TLSECDHERSAWITHAES256GCMSHA384 ...
	TLSECDHERSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
	// TLSRSAWITH3DESEDECBCSHA ...
	TLSRSAWITH3DESEDECBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
	// TLSRSAWITHAES128CBCSHA ...
	TLSRSAWITHAES128CBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA"
	// TLSRSAWITHAES128CBCSHA256 ...
	TLSRSAWITHAES128CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_CBC_SHA256"
	// TLSRSAWITHAES128GCMSHA256 ...
	TLSRSAWITHAES128GCMSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_128_GCM_SHA256"
	// TLSRSAWITHAES256CBCSHA ...
	TLSRSAWITHAES256CBCSHA ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA"
	// TLSRSAWITHAES256CBCSHA256 ...
	TLSRSAWITHAES256CBCSHA256 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_CBC_SHA256"
	// TLSRSAWITHAES256GCMSHA384 ...
	TLSRSAWITHAES256GCMSHA384 ApplicationGatewaySslCipherSuite = "TLS_RSA_WITH_AES_256_GCM_SHA384"
)

func PossibleApplicationGatewaySslCipherSuiteValues

func PossibleApplicationGatewaySslCipherSuiteValues() []ApplicationGatewaySslCipherSuite

PossibleApplicationGatewaySslCipherSuiteValues returns an array of possible values for the ApplicationGatewaySslCipherSuite const type.

type ApplicationGatewaySslPolicy

type ApplicationGatewaySslPolicy struct {
	// DisabledSslProtocols - Ssl protocols to be disabled on application gateway.
	DisabledSslProtocols *[]ApplicationGatewaySslProtocol `json:"disabledSslProtocols,omitempty"`
	// PolicyType - Type of Ssl Policy. Possible values include: 'Predefined', 'Custom'
	PolicyType ApplicationGatewaySslPolicyType `json:"policyType,omitempty"`
	// PolicyName - Name of Ssl predefined policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'
	PolicyName ApplicationGatewaySslPolicyName `json:"policyName,omitempty"`
	// CipherSuites - Ssl cipher suites to be enabled in the specified order to application gateway.
	CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"`
	// MinProtocolVersion - Minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv10', 'TLSv11', 'TLSv12'
	MinProtocolVersion ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"`
}

ApplicationGatewaySslPolicy application Gateway Ssl policy.

type ApplicationGatewaySslPolicyName

type ApplicationGatewaySslPolicyName string

ApplicationGatewaySslPolicyName enumerates the values for application gateway ssl policy name.

const (
	// AppGwSslPolicy20150501 ...
	AppGwSslPolicy20150501 ApplicationGatewaySslPolicyName = "AppGwSslPolicy20150501"
	// AppGwSslPolicy20170401 ...
	AppGwSslPolicy20170401 ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401"
	// AppGwSslPolicy20170401S ...
	AppGwSslPolicy20170401S ApplicationGatewaySslPolicyName = "AppGwSslPolicy20170401S"
)

func PossibleApplicationGatewaySslPolicyNameValues

func PossibleApplicationGatewaySslPolicyNameValues() []ApplicationGatewaySslPolicyName

PossibleApplicationGatewaySslPolicyNameValues returns an array of possible values for the ApplicationGatewaySslPolicyName const type.

type ApplicationGatewaySslPolicyType

type ApplicationGatewaySslPolicyType string

ApplicationGatewaySslPolicyType enumerates the values for application gateway ssl policy type.

const (
	// Custom ...
	Custom ApplicationGatewaySslPolicyType = "Custom"
	// Predefined ...
	Predefined ApplicationGatewaySslPolicyType = "Predefined"
)

func PossibleApplicationGatewaySslPolicyTypeValues

func PossibleApplicationGatewaySslPolicyTypeValues() []ApplicationGatewaySslPolicyType

PossibleApplicationGatewaySslPolicyTypeValues returns an array of possible values for the ApplicationGatewaySslPolicyType const type.

type ApplicationGatewaySslPredefinedPolicy

type ApplicationGatewaySslPredefinedPolicy struct {
	autorest.Response `json:"-"`
	// Name - Name of the Ssl predefined policy.
	Name *string `json:"name,omitempty"`
	// ApplicationGatewaySslPredefinedPolicyPropertiesFormat - Properties of the application gateway SSL predefined policy.
	*ApplicationGatewaySslPredefinedPolicyPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewaySslPredefinedPolicy an Ssl predefined policy.

func (ApplicationGatewaySslPredefinedPolicy) MarshalJSON

func (agspp ApplicationGatewaySslPredefinedPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewaySslPredefinedPolicy.

func (*ApplicationGatewaySslPredefinedPolicy) UnmarshalJSON

func (agspp *ApplicationGatewaySslPredefinedPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslPredefinedPolicy struct.

type ApplicationGatewaySslPredefinedPolicyPropertiesFormat

type ApplicationGatewaySslPredefinedPolicyPropertiesFormat struct {
	// CipherSuites - Ssl cipher suites to be enabled in the specified order for application gateway.
	CipherSuites *[]ApplicationGatewaySslCipherSuite `json:"cipherSuites,omitempty"`
	// MinProtocolVersion - Minimum version of Ssl protocol to be supported on application gateway. Possible values include: 'TLSv10', 'TLSv11', 'TLSv12'
	MinProtocolVersion ApplicationGatewaySslProtocol `json:"minProtocolVersion,omitempty"`
}

ApplicationGatewaySslPredefinedPolicyPropertiesFormat properties of ApplicationGatewaySslPredefinedPolicy.

type ApplicationGatewaySslProtocol

type ApplicationGatewaySslProtocol string

ApplicationGatewaySslProtocol enumerates the values for application gateway ssl protocol.

const (
	// TLSv10 ...
	TLSv10 ApplicationGatewaySslProtocol = "TLSv1_0"
	// TLSv11 ...
	TLSv11 ApplicationGatewaySslProtocol = "TLSv1_1"
	// TLSv12 ...
	TLSv12 ApplicationGatewaySslProtocol = "TLSv1_2"
)

func PossibleApplicationGatewaySslProtocolValues

func PossibleApplicationGatewaySslProtocolValues() []ApplicationGatewaySslProtocol

PossibleApplicationGatewaySslProtocolValues returns an array of possible values for the ApplicationGatewaySslProtocol const type.

type ApplicationGatewayTier

type ApplicationGatewayTier string

ApplicationGatewayTier enumerates the values for application gateway tier.

const (
	// ApplicationGatewayTierStandard ...
	ApplicationGatewayTierStandard ApplicationGatewayTier = "Standard"
	// ApplicationGatewayTierStandardV2 ...
	ApplicationGatewayTierStandardV2 ApplicationGatewayTier = "Standard_v2"
	// ApplicationGatewayTierWAF ...
	ApplicationGatewayTierWAF ApplicationGatewayTier = "WAF"
	// ApplicationGatewayTierWAFV2 ...
	ApplicationGatewayTierWAFV2 ApplicationGatewayTier = "WAF_v2"
)

func PossibleApplicationGatewayTierValues

func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier

PossibleApplicationGatewayTierValues returns an array of possible values for the ApplicationGatewayTier const type.

type ApplicationGatewayTrustedRootCertificate

type ApplicationGatewayTrustedRootCertificate struct {
	// ApplicationGatewayTrustedRootCertificatePropertiesFormat - Properties of the application gateway trusted root certificate.
	*ApplicationGatewayTrustedRootCertificatePropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the trusted root certificate that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayTrustedRootCertificate trusted Root certificates of an application gateway.

func (ApplicationGatewayTrustedRootCertificate) MarshalJSON

func (agtrc ApplicationGatewayTrustedRootCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayTrustedRootCertificate.

func (*ApplicationGatewayTrustedRootCertificate) UnmarshalJSON

func (agtrc *ApplicationGatewayTrustedRootCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayTrustedRootCertificate struct.

type ApplicationGatewayTrustedRootCertificatePropertiesFormat

type ApplicationGatewayTrustedRootCertificatePropertiesFormat struct {
	// Data - Certificate public data.
	Data *string `json:"data,omitempty"`
	// KeyVaultSecretID - Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
	KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"`
	// ProvisioningState - The provisioning state of the trusted root certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayTrustedRootCertificatePropertiesFormat trusted Root certificates properties of an application gateway.

type ApplicationGatewayURLPathMap

type ApplicationGatewayURLPathMap struct {
	// ApplicationGatewayURLPathMapPropertiesFormat - Properties of the application gateway URL path map.
	*ApplicationGatewayURLPathMapPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the URL path map that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

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

func (ApplicationGatewayURLPathMap) MarshalJSON

func (agupm ApplicationGatewayURLPathMap) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMap.

func (*ApplicationGatewayURLPathMap) UnmarshalJSON

func (agupm *ApplicationGatewayURLPathMap) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayURLPathMap struct.

type ApplicationGatewayURLPathMapPropertiesFormat

type ApplicationGatewayURLPathMapPropertiesFormat struct {
	// DefaultBackendAddressPool - Default backend address pool resource of URL path map.
	DefaultBackendAddressPool *SubResource `json:"defaultBackendAddressPool,omitempty"`
	// DefaultBackendHTTPSettings - Default backend http settings resource of URL path map.
	DefaultBackendHTTPSettings *SubResource `json:"defaultBackendHttpSettings,omitempty"`
	// DefaultRewriteRuleSet - Default Rewrite rule set resource of URL path map.
	DefaultRewriteRuleSet *SubResource `json:"defaultRewriteRuleSet,omitempty"`
	// DefaultRedirectConfiguration - Default redirect configuration resource of URL path map.
	DefaultRedirectConfiguration *SubResource `json:"defaultRedirectConfiguration,omitempty"`
	// PathRules - Path rule of URL path map resource.
	PathRules *[]ApplicationGatewayPathRule `json:"pathRules,omitempty"`
	// ProvisioningState - The provisioning state of the URL path map resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayURLPathMapPropertiesFormat properties of UrlPathMap of the application gateway.

type ApplicationGatewayWebApplicationFirewallConfiguration

type ApplicationGatewayWebApplicationFirewallConfiguration struct {
	// Enabled - Whether the web application firewall is enabled or not.
	Enabled *bool `json:"enabled,omitempty"`
	// FirewallMode - Web application firewall mode. Possible values include: 'Detection', 'Prevention'
	FirewallMode ApplicationGatewayFirewallMode `json:"firewallMode,omitempty"`
	// RuleSetType - The type of the web application firewall rule set. Possible values are: 'OWASP'.
	RuleSetType *string `json:"ruleSetType,omitempty"`
	// RuleSetVersion - The version of the rule set type.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
	// DisabledRuleGroups - The disabled rule groups.
	DisabledRuleGroups *[]ApplicationGatewayFirewallDisabledRuleGroup `json:"disabledRuleGroups,omitempty"`
	// RequestBodyCheck - Whether allow WAF to check request Body.
	RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"`
	// MaxRequestBodySize - Maximum request body size for WAF.
	MaxRequestBodySize *int32 `json:"maxRequestBodySize,omitempty"`
	// MaxRequestBodySizeInKb - Maximum request body size in Kb for WAF.
	MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"`
	// FileUploadLimitInMb - Maximum file upload size in Mb for WAF.
	FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"`
	// Exclusions - The exclusion list.
	Exclusions *[]ApplicationGatewayFirewallExclusion `json:"exclusions,omitempty"`
}

ApplicationGatewayWebApplicationFirewallConfiguration application gateway web application firewall configuration.

type ApplicationGatewaysBackendHealthFuture

type ApplicationGatewaysBackendHealthFuture struct {
	azure.Future
}

ApplicationGatewaysBackendHealthFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysBackendHealthFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationGatewaysBackendHealthOnDemandFuture

type ApplicationGatewaysBackendHealthOnDemandFuture struct {
	azure.Future
}

ApplicationGatewaysBackendHealthOnDemandFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysBackendHealthOnDemandFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationGatewaysClient

type ApplicationGatewaysClient struct {
	BaseClient
}

ApplicationGatewaysClient is the network Client

func NewApplicationGatewaysClient

func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClient creates an instance of the ApplicationGatewaysClient client.

func NewApplicationGatewaysClientWithBaseURI

func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient

NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationGatewaysClient) BackendHealth

func (client ApplicationGatewaysClient) BackendHealth(ctx context.Context, resourceGroupName string, applicationGatewayName string, expand string) (result ApplicationGatewaysBackendHealthFuture, err error)

BackendHealth gets the backend health of the specified application gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. expand - expands BackendAddressPool and BackendHttpSettings referenced in backend health.

func (ApplicationGatewaysClient) BackendHealthOnDemand

func (client ApplicationGatewaysClient) BackendHealthOnDemand(ctx context.Context, resourceGroupName string, applicationGatewayName string, probeRequest ApplicationGatewayOnDemandProbe, expand string) (result ApplicationGatewaysBackendHealthOnDemandFuture, err error)

BackendHealthOnDemand gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. probeRequest - request body for on-demand test probe operation. expand - expands BackendAddressPool and BackendHttpSettings referenced in backend health.

func (ApplicationGatewaysClient) BackendHealthOnDemandPreparer

func (client ApplicationGatewaysClient) BackendHealthOnDemandPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, probeRequest ApplicationGatewayOnDemandProbe, expand string) (*http.Request, error)

BackendHealthOnDemandPreparer prepares the BackendHealthOnDemand request.

func (ApplicationGatewaysClient) BackendHealthOnDemandResponder

func (client ApplicationGatewaysClient) BackendHealthOnDemandResponder(resp *http.Response) (result ApplicationGatewayBackendHealthOnDemand, err error)

BackendHealthOnDemandResponder handles the response to the BackendHealthOnDemand request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) BackendHealthOnDemandSender

func (client ApplicationGatewaysClient) BackendHealthOnDemandSender(req *http.Request) (future ApplicationGatewaysBackendHealthOnDemandFuture, err error)

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

func (ApplicationGatewaysClient) BackendHealthPreparer

func (client ApplicationGatewaysClient) BackendHealthPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, expand string) (*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) (future ApplicationGatewaysBackendHealthFuture, err 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(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (result ApplicationGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. parameters - parameters supplied to the create or update application gateway operation.

func (ApplicationGatewaysClient) CreateOrUpdatePreparer

func (client ApplicationGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (*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) (future ApplicationGatewaysCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysDeleteFuture, err error)

Delete deletes the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) DeletePreparer

func (client ApplicationGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*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) (future ApplicationGatewaysDeleteFuture, err 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(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)

Get gets the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationGatewaysClient) GetResponder

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

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

func (ApplicationGatewaysClient) GetSender

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

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

func (ApplicationGatewaysClient) GetSslPredefinedPolicy

func (client ApplicationGatewaysClient) GetSslPredefinedPolicy(ctx context.Context, predefinedPolicyName string) (result ApplicationGatewaySslPredefinedPolicy, err error)

GetSslPredefinedPolicy gets Ssl predefined policy with the specified policy name. Parameters: predefinedPolicyName - name of Ssl predefined policy.

func (ApplicationGatewaysClient) GetSslPredefinedPolicyPreparer

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

GetSslPredefinedPolicyPreparer prepares the GetSslPredefinedPolicy request.

func (ApplicationGatewaysClient) GetSslPredefinedPolicyResponder

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

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

func (ApplicationGatewaysClient) GetSslPredefinedPolicySender

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

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

func (ApplicationGatewaysClient) List

func (client ApplicationGatewaysClient) List(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultPage, err error)

List lists all application gateways in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ApplicationGatewaysClient) ListAll

ListAll gets all the application gateways in a subscription.

func (ApplicationGatewaysClient) ListAllComplete

func (client ApplicationGatewaysClient) ListAllComplete(ctx context.Context) (result ApplicationGatewayListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationGatewaysClient) ListAllPreparer

func (client ApplicationGatewaysClient) ListAllPreparer(ctx context.Context) (*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) ListAvailableRequestHeaders

func (client ApplicationGatewaysClient) ListAvailableRequestHeaders(ctx context.Context) (result ListString, err error)

ListAvailableRequestHeaders lists all available request headers.

func (ApplicationGatewaysClient) ListAvailableRequestHeadersPreparer

func (client ApplicationGatewaysClient) ListAvailableRequestHeadersPreparer(ctx context.Context) (*http.Request, error)

ListAvailableRequestHeadersPreparer prepares the ListAvailableRequestHeaders request.

func (ApplicationGatewaysClient) ListAvailableRequestHeadersResponder

func (client ApplicationGatewaysClient) ListAvailableRequestHeadersResponder(resp *http.Response) (result ListString, err error)

ListAvailableRequestHeadersResponder handles the response to the ListAvailableRequestHeaders request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAvailableRequestHeadersSender

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

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

func (ApplicationGatewaysClient) ListAvailableResponseHeaders

func (client ApplicationGatewaysClient) ListAvailableResponseHeaders(ctx context.Context) (result ListString, err error)

ListAvailableResponseHeaders lists all available response headers.

func (ApplicationGatewaysClient) ListAvailableResponseHeadersPreparer

func (client ApplicationGatewaysClient) ListAvailableResponseHeadersPreparer(ctx context.Context) (*http.Request, error)

ListAvailableResponseHeadersPreparer prepares the ListAvailableResponseHeaders request.

func (ApplicationGatewaysClient) ListAvailableResponseHeadersResponder

func (client ApplicationGatewaysClient) ListAvailableResponseHeadersResponder(resp *http.Response) (result ListString, err error)

ListAvailableResponseHeadersResponder handles the response to the ListAvailableResponseHeaders request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAvailableResponseHeadersSender

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

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

func (ApplicationGatewaysClient) ListAvailableServerVariables

func (client ApplicationGatewaysClient) ListAvailableServerVariables(ctx context.Context) (result ListString, err error)

ListAvailableServerVariables lists all available server variables.

func (ApplicationGatewaysClient) ListAvailableServerVariablesPreparer

func (client ApplicationGatewaysClient) ListAvailableServerVariablesPreparer(ctx context.Context) (*http.Request, error)

ListAvailableServerVariablesPreparer prepares the ListAvailableServerVariables request.

func (ApplicationGatewaysClient) ListAvailableServerVariablesResponder

func (client ApplicationGatewaysClient) ListAvailableServerVariablesResponder(resp *http.Response) (result ListString, err error)

ListAvailableServerVariablesResponder handles the response to the ListAvailableServerVariables request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) ListAvailableServerVariablesSender

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

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

func (ApplicationGatewaysClient) ListAvailableSslOptions

func (client ApplicationGatewaysClient) ListAvailableSslOptions(ctx context.Context) (result ApplicationGatewayAvailableSslOptions, err error)

ListAvailableSslOptions lists available Ssl options for configuring Ssl policy.

func (ApplicationGatewaysClient) ListAvailableSslOptionsPreparer

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

ListAvailableSslOptionsPreparer prepares the ListAvailableSslOptions request.

func (ApplicationGatewaysClient) ListAvailableSslOptionsResponder

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

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

func (ApplicationGatewaysClient) ListAvailableSslOptionsSender

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

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

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies(ctx context.Context) (result ApplicationGatewayAvailableSslPredefinedPoliciesPage, err error)

ListAvailableSslPredefinedPolicies lists all SSL predefined policies for configuring Ssl policy.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete

func (client ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete(ctx context.Context) (result ApplicationGatewayAvailableSslPredefinedPoliciesIterator, err error)

ListAvailableSslPredefinedPoliciesComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesPreparer

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

ListAvailableSslPredefinedPoliciesPreparer prepares the ListAvailableSslPredefinedPolicies request.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesResponder

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

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

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesSender

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

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

func (ApplicationGatewaysClient) ListAvailableWafRuleSets

func (client ApplicationGatewaysClient) ListAvailableWafRuleSets(ctx context.Context) (result ApplicationGatewayAvailableWafRuleSetsResult, err error)

ListAvailableWafRuleSets lists all available web application firewall rule sets.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsPreparer

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

ListAvailableWafRuleSetsPreparer prepares the ListAvailableWafRuleSets request.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsResponder

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

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

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsSender

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

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

func (ApplicationGatewaysClient) ListComplete

func (client ApplicationGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result ApplicationGatewayListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationGatewaysClient) ListPreparer

func (client ApplicationGatewaysClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStartFuture, err error)

Start starts the specified application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) StartPreparer

func (client ApplicationGatewaysClient) StartPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*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) (future ApplicationGatewaysStartFuture, err 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(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStopFuture, err error)

Stop stops the specified application gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewaysClient) StopPreparer

func (client ApplicationGatewaysClient) StopPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string) (*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) (future ApplicationGatewaysStopFuture, err error)

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

func (ApplicationGatewaysClient) UpdateTags

func (client ApplicationGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters TagsObject) (result ApplicationGatewaysUpdateTagsFuture, err error)

UpdateTags updates the specified application gateway tags. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. parameters - parameters supplied to update application gateway tags.

func (ApplicationGatewaysClient) UpdateTagsPreparer

func (client ApplicationGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ApplicationGatewaysClient) UpdateTagsResponder

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

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ApplicationGatewaysClient) UpdateTagsSender

func (client ApplicationGatewaysClient) UpdateTagsSender(req *http.Request) (future ApplicationGatewaysUpdateTagsFuture, err error)

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

type ApplicationGatewaysCreateOrUpdateFuture

type ApplicationGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

ApplicationGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationGatewaysDeleteFuture

type ApplicationGatewaysDeleteFuture struct {
	azure.Future
}

ApplicationGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationGatewaysStartFuture

type ApplicationGatewaysStartFuture struct {
	azure.Future
}

ApplicationGatewaysStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysStartFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationGatewaysStopFuture

type ApplicationGatewaysStopFuture struct {
	azure.Future
}

ApplicationGatewaysStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysStopFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationGatewaysUpdateTagsFuture

type ApplicationGatewaysUpdateTagsFuture struct {
	azure.Future
}

ApplicationGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationGatewaysUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationRuleCondition

type ApplicationRuleCondition struct {
	// SourceAddresses - List of source IP addresses for this rule.
	SourceAddresses *[]string `json:"sourceAddresses,omitempty"`
	// DestinationAddresses - List of destination IP addresses or Service Tags.
	DestinationAddresses *[]string `json:"destinationAddresses,omitempty"`
	// Protocols - Array of Application Protocols.
	Protocols *[]FirewallPolicyRuleConditionApplicationProtocol `json:"protocols,omitempty"`
	// TargetFqdns - List of FQDNs for this rule condition.
	TargetFqdns *[]string `json:"targetFqdns,omitempty"`
	// FqdnTags - List of FQDN Tags for this rule condition.
	FqdnTags *[]string `json:"fqdnTags,omitempty"`
	// Name - Name of the rule condition.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule condition.
	Description *string `json:"description,omitempty"`
	// RuleConditionType - Possible values include: 'RuleConditionTypeFirewallPolicyRuleCondition', 'RuleConditionTypeApplicationRuleCondition', 'RuleConditionTypeNetworkRuleCondition'
	RuleConditionType RuleConditionType `json:"ruleConditionType,omitempty"`
}

ApplicationRuleCondition rule condition of type application.

func (ApplicationRuleCondition) AsApplicationRuleCondition

func (arc ApplicationRuleCondition) AsApplicationRuleCondition() (*ApplicationRuleCondition, bool)

AsApplicationRuleCondition is the BasicFirewallPolicyRuleCondition implementation for ApplicationRuleCondition.

func (ApplicationRuleCondition) AsBasicFirewallPolicyRuleCondition

func (arc ApplicationRuleCondition) AsBasicFirewallPolicyRuleCondition() (BasicFirewallPolicyRuleCondition, bool)

AsBasicFirewallPolicyRuleCondition is the BasicFirewallPolicyRuleCondition implementation for ApplicationRuleCondition.

func (ApplicationRuleCondition) AsFirewallPolicyRuleCondition

func (arc ApplicationRuleCondition) AsFirewallPolicyRuleCondition() (*FirewallPolicyRuleCondition, bool)

AsFirewallPolicyRuleCondition is the BasicFirewallPolicyRuleCondition implementation for ApplicationRuleCondition.

func (ApplicationRuleCondition) AsRuleCondition

func (arc ApplicationRuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicFirewallPolicyRuleCondition implementation for ApplicationRuleCondition.

func (ApplicationRuleCondition) MarshalJSON

func (arc ApplicationRuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationRuleCondition.

type ApplicationSecurityGroup

type ApplicationSecurityGroup struct {
	autorest.Response `json:"-"`
	// ApplicationSecurityGroupPropertiesFormat - Properties of the application security group.
	*ApplicationSecurityGroupPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ApplicationSecurityGroup an application security group in a resource group.

func (ApplicationSecurityGroup) MarshalJSON

func (asg ApplicationSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationSecurityGroup.

func (*ApplicationSecurityGroup) UnmarshalJSON

func (asg *ApplicationSecurityGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationSecurityGroup struct.

type ApplicationSecurityGroupListResult

type ApplicationSecurityGroupListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of application security groups.
	Value *[]ApplicationSecurityGroup `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationSecurityGroupListResult a list of application security groups.

func (ApplicationSecurityGroupListResult) IsEmpty

func (asglr ApplicationSecurityGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationSecurityGroupListResultIterator

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

ApplicationSecurityGroupListResultIterator provides access to a complete listing of ApplicationSecurityGroup values.

func NewApplicationSecurityGroupListResultIterator

func NewApplicationSecurityGroupListResultIterator(page ApplicationSecurityGroupListResultPage) ApplicationSecurityGroupListResultIterator

Creates a new instance of the ApplicationSecurityGroupListResultIterator type.

func (*ApplicationSecurityGroupListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationSecurityGroupListResultIterator) NextWithContext

func (iter *ApplicationSecurityGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ApplicationSecurityGroupListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ApplicationSecurityGroupListResultIterator) Response

Response returns the raw server response from the last page request.

func (ApplicationSecurityGroupListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ApplicationSecurityGroupListResultPage

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

ApplicationSecurityGroupListResultPage contains a page of ApplicationSecurityGroup values.

func NewApplicationSecurityGroupListResultPage

Creates a new instance of the ApplicationSecurityGroupListResultPage type.

func (*ApplicationSecurityGroupListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ApplicationSecurityGroupListResultPage) NextWithContext

func (page *ApplicationSecurityGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ApplicationSecurityGroupListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ApplicationSecurityGroupListResultPage) Response

Response returns the raw server response from the last page request.

func (ApplicationSecurityGroupListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ApplicationSecurityGroupPropertiesFormat

type ApplicationSecurityGroupPropertiesFormat struct {
	// ResourceGUID - READ-ONLY; The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the application security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationSecurityGroupPropertiesFormat application security group properties.

type ApplicationSecurityGroupsClient

type ApplicationSecurityGroupsClient struct {
	BaseClient
}

ApplicationSecurityGroupsClient is the network Client

func NewApplicationSecurityGroupsClient

func NewApplicationSecurityGroupsClient(subscriptionID string) ApplicationSecurityGroupsClient

NewApplicationSecurityGroupsClient creates an instance of the ApplicationSecurityGroupsClient client.

func NewApplicationSecurityGroupsClientWithBaseURI

func NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationSecurityGroupsClient

NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationSecurityGroupsClient) CreateOrUpdate

func (client ApplicationSecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup) (result ApplicationSecurityGroupsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an application security group. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group. parameters - parameters supplied to the create or update ApplicationSecurityGroup operation.

func (ApplicationSecurityGroupsClient) CreateOrUpdatePreparer

func (client ApplicationSecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters ApplicationSecurityGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationSecurityGroupsClient) CreateOrUpdateResponder

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

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

func (ApplicationSecurityGroupsClient) CreateOrUpdateSender

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

func (ApplicationSecurityGroupsClient) Delete

func (client ApplicationSecurityGroupsClient) Delete(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroupsDeleteFuture, err error)

Delete deletes the specified application security group. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group.

func (ApplicationSecurityGroupsClient) DeletePreparer

func (client ApplicationSecurityGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationSecurityGroupsClient) DeleteResponder

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

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

func (ApplicationSecurityGroupsClient) DeleteSender

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

func (ApplicationSecurityGroupsClient) Get

func (client ApplicationSecurityGroupsClient) Get(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result ApplicationSecurityGroup, err error)

Get gets information about the specified application security group. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group.

func (ApplicationSecurityGroupsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationSecurityGroupsClient) GetResponder

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

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

func (ApplicationSecurityGroupsClient) GetSender

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

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

func (ApplicationSecurityGroupsClient) List

func (client ApplicationSecurityGroupsClient) List(ctx context.Context, resourceGroupName string) (result ApplicationSecurityGroupListResultPage, err error)

List gets all the application security groups in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ApplicationSecurityGroupsClient) ListAll

ListAll gets all application security groups in a subscription.

func (ApplicationSecurityGroupsClient) ListAllComplete

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationSecurityGroupsClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (ApplicationSecurityGroupsClient) ListAllResponder

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

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

func (ApplicationSecurityGroupsClient) ListAllSender

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

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

func (ApplicationSecurityGroupsClient) ListComplete

func (client ApplicationSecurityGroupsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ApplicationSecurityGroupListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ApplicationSecurityGroupsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ApplicationSecurityGroupsClient) ListResponder

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

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

func (ApplicationSecurityGroupsClient) ListSender

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

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

func (ApplicationSecurityGroupsClient) UpdateTags

func (client ApplicationSecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters TagsObject) (result ApplicationSecurityGroupsUpdateTagsFuture, err error)

UpdateTags updates an application security group's tags. Parameters: resourceGroupName - the name of the resource group. applicationSecurityGroupName - the name of the application security group. parameters - parameters supplied to update application security group tags.

func (ApplicationSecurityGroupsClient) UpdateTagsPreparer

func (client ApplicationSecurityGroupsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ApplicationSecurityGroupsClient) UpdateTagsResponder

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

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ApplicationSecurityGroupsClient) UpdateTagsSender

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

type ApplicationSecurityGroupsCreateOrUpdateFuture

type ApplicationSecurityGroupsCreateOrUpdateFuture struct {
	azure.Future
}

ApplicationSecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationSecurityGroupsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationSecurityGroupsDeleteFuture

type ApplicationSecurityGroupsDeleteFuture struct {
	azure.Future
}

ApplicationSecurityGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationSecurityGroupsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ApplicationSecurityGroupsUpdateTagsFuture

type ApplicationSecurityGroupsUpdateTagsFuture struct {
	azure.Future
}

ApplicationSecurityGroupsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ApplicationSecurityGroupsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AssociationType

type AssociationType string

AssociationType enumerates the values for association type.

const (
	// Associated ...
	Associated AssociationType = "Associated"
	// Contains ...
	Contains AssociationType = "Contains"
)

func PossibleAssociationTypeValues

func PossibleAssociationTypeValues() []AssociationType

PossibleAssociationTypeValues returns an array of possible values for the AssociationType const type.

type AuthenticationMethod

type AuthenticationMethod string

AuthenticationMethod enumerates the values for authentication method.

const (
	// EAPMSCHAPv2 ...
	EAPMSCHAPv2 AuthenticationMethod = "EAPMSCHAPv2"
	// EAPTLS ...
	EAPTLS AuthenticationMethod = "EAPTLS"
)

func PossibleAuthenticationMethodValues

func PossibleAuthenticationMethodValues() []AuthenticationMethod

PossibleAuthenticationMethodValues returns an array of possible values for the AuthenticationMethod const type.

type AuthorizationListResult

type AuthorizationListResult struct {
	autorest.Response `json:"-"`
	// Value - The authorizations in an ExpressRoute Circuit.
	Value *[]ExpressRouteCircuitAuthorization `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

func (AuthorizationListResult) IsEmpty

func (alr AuthorizationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AuthorizationListResultIterator

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

AuthorizationListResultIterator provides access to a complete listing of ExpressRouteCircuitAuthorization values.

func NewAuthorizationListResultIterator

func NewAuthorizationListResultIterator(page AuthorizationListResultPage) AuthorizationListResultIterator

Creates a new instance of the AuthorizationListResultIterator type.

func (*AuthorizationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AuthorizationListResultIterator) NextWithContext

func (iter *AuthorizationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AuthorizationListResultIterator) NotDone

func (iter AuthorizationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AuthorizationListResultIterator) Response

Response returns the raw server response from the last page request.

func (AuthorizationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AuthorizationListResultPage

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

AuthorizationListResultPage contains a page of ExpressRouteCircuitAuthorization values.

func NewAuthorizationListResultPage

func NewAuthorizationListResultPage(getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage

Creates a new instance of the AuthorizationListResultPage type.

func (*AuthorizationListResultPage) Next

func (page *AuthorizationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AuthorizationListResultPage) NextWithContext

func (page *AuthorizationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AuthorizationListResultPage) NotDone

func (page AuthorizationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AuthorizationListResultPage) Response

Response returns the raw server response from the last page request.

func (AuthorizationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AuthorizationPropertiesFormat

type AuthorizationPropertiesFormat struct {
	// AuthorizationKey - The authorization key.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// AuthorizationUseStatus - The authorization use status. Possible values include: 'Available', 'InUse'
	AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
	// ProvisioningState - The provisioning state of the authorization resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AuthorizationPropertiesFormat properties of ExpressRouteCircuitAuthorization.

type AuthorizationUseStatus

type AuthorizationUseStatus string

AuthorizationUseStatus enumerates the values for authorization use status.

const (
	// Available ...
	Available AuthorizationUseStatus = "Available"
	// InUse ...
	InUse AuthorizationUseStatus = "InUse"
)

func PossibleAuthorizationUseStatusValues

func PossibleAuthorizationUseStatusValues() []AuthorizationUseStatus

PossibleAuthorizationUseStatusValues returns an array of possible values for the AuthorizationUseStatus const type.

type AutoApprovedPrivateLinkService

type AutoApprovedPrivateLinkService struct {
	// PrivateLinkService - The id of the private link service resource.
	PrivateLinkService *string `json:"privateLinkService,omitempty"`
}

AutoApprovedPrivateLinkService the information of an AutoApprovedPrivateLinkService.

type AutoApprovedPrivateLinkServicesResult

type AutoApprovedPrivateLinkServicesResult struct {
	autorest.Response `json:"-"`
	// Value - An array of auto approved private link service.
	Value *[]AutoApprovedPrivateLinkService `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AutoApprovedPrivateLinkServicesResult an array of private link service id that can be linked to a private end point with auto approved.

func (AutoApprovedPrivateLinkServicesResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type AutoApprovedPrivateLinkServicesResultIterator

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

AutoApprovedPrivateLinkServicesResultIterator provides access to a complete listing of AutoApprovedPrivateLinkService values.

func NewAutoApprovedPrivateLinkServicesResultIterator

func NewAutoApprovedPrivateLinkServicesResultIterator(page AutoApprovedPrivateLinkServicesResultPage) AutoApprovedPrivateLinkServicesResultIterator

Creates a new instance of the AutoApprovedPrivateLinkServicesResultIterator type.

func (*AutoApprovedPrivateLinkServicesResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoApprovedPrivateLinkServicesResultIterator) NextWithContext

func (iter *AutoApprovedPrivateLinkServicesResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AutoApprovedPrivateLinkServicesResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AutoApprovedPrivateLinkServicesResultIterator) Response

Response returns the raw server response from the last page request.

func (AutoApprovedPrivateLinkServicesResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AutoApprovedPrivateLinkServicesResultPage

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

AutoApprovedPrivateLinkServicesResultPage contains a page of AutoApprovedPrivateLinkService values.

func NewAutoApprovedPrivateLinkServicesResultPage

Creates a new instance of the AutoApprovedPrivateLinkServicesResultPage type.

func (*AutoApprovedPrivateLinkServicesResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AutoApprovedPrivateLinkServicesResultPage) NextWithContext

func (page *AutoApprovedPrivateLinkServicesResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AutoApprovedPrivateLinkServicesResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AutoApprovedPrivateLinkServicesResultPage) Response

Response returns the raw server response from the last page request.

func (AutoApprovedPrivateLinkServicesResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type Availability

type Availability struct {
	// TimeGrain - The time grain of the availability.
	TimeGrain *string `json:"timeGrain,omitempty"`
	// Retention - The retention of the availability.
	Retention *string `json:"retention,omitempty"`
	// BlobDuration - Duration of the availability blob.
	BlobDuration *string `json:"blobDuration,omitempty"`
}

Availability availability of the metric.

type AvailableDelegation

type AvailableDelegation struct {
	// Name - The name of the AvailableDelegation resource.
	Name *string `json:"name,omitempty"`
	// ID - A unique identifier of the AvailableDelegation resource.
	ID *string `json:"id,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
	// ServiceName - The name of the service and resource.
	ServiceName *string `json:"serviceName,omitempty"`
	// Actions - Describes the actions permitted to the service upon delegation.
	Actions *[]string `json:"actions,omitempty"`
}

AvailableDelegation the serviceName of an AvailableDelegation indicates a possible delegation for a subnet.

type AvailableDelegationsClient

type AvailableDelegationsClient struct {
	BaseClient
}

AvailableDelegationsClient is the network Client

func NewAvailableDelegationsClient

func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsClient

NewAvailableDelegationsClient creates an instance of the AvailableDelegationsClient client.

func NewAvailableDelegationsClientWithBaseURI

func NewAvailableDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableDelegationsClient

NewAvailableDelegationsClientWithBaseURI creates an instance of the AvailableDelegationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AvailableDelegationsClient) List

func (client AvailableDelegationsClient) List(ctx context.Context, location string) (result AvailableDelegationsResultPage, err error)

List gets all of the available subnet delegations for this subscription in this region. Parameters: location - the location of the subnet.

func (AvailableDelegationsClient) ListComplete

func (client AvailableDelegationsClient) ListComplete(ctx context.Context, location string) (result AvailableDelegationsResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailableDelegationsClient) ListPreparer

func (client AvailableDelegationsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailableDelegationsClient) ListResponder

func (client AvailableDelegationsClient) ListResponder(resp *http.Response) (result AvailableDelegationsResult, err error)

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

func (AvailableDelegationsClient) ListSender

func (client AvailableDelegationsClient) 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 AvailableDelegationsResult

type AvailableDelegationsResult struct {
	autorest.Response `json:"-"`
	// Value - An array of available delegations.
	Value *[]AvailableDelegation `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AvailableDelegationsResult an array of available delegations.

func (AvailableDelegationsResult) IsEmpty

func (adr AvailableDelegationsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableDelegationsResultIterator

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

AvailableDelegationsResultIterator provides access to a complete listing of AvailableDelegation values.

func NewAvailableDelegationsResultIterator

func NewAvailableDelegationsResultIterator(page AvailableDelegationsResultPage) AvailableDelegationsResultIterator

Creates a new instance of the AvailableDelegationsResultIterator type.

func (*AvailableDelegationsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailableDelegationsResultIterator) NextWithContext

func (iter *AvailableDelegationsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AvailableDelegationsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AvailableDelegationsResultIterator) Response

Response returns the raw server response from the last page request.

func (AvailableDelegationsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AvailableDelegationsResultPage

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

AvailableDelegationsResultPage contains a page of AvailableDelegation values.

func NewAvailableDelegationsResultPage

func NewAvailableDelegationsResultPage(getNextPage func(context.Context, AvailableDelegationsResult) (AvailableDelegationsResult, error)) AvailableDelegationsResultPage

Creates a new instance of the AvailableDelegationsResultPage type.

func (*AvailableDelegationsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailableDelegationsResultPage) NextWithContext

func (page *AvailableDelegationsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AvailableDelegationsResultPage) NotDone

func (page AvailableDelegationsResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AvailableDelegationsResultPage) Response

Response returns the raw server response from the last page request.

func (AvailableDelegationsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AvailableEndpointServicesClient

type AvailableEndpointServicesClient struct {
	BaseClient
}

AvailableEndpointServicesClient is the network Client

func NewAvailableEndpointServicesClient

func NewAvailableEndpointServicesClient(subscriptionID string) AvailableEndpointServicesClient

NewAvailableEndpointServicesClient creates an instance of the AvailableEndpointServicesClient client.

func NewAvailableEndpointServicesClientWithBaseURI

func NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionID string) AvailableEndpointServicesClient

NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AvailableEndpointServicesClient) List

List list what values of endpoint services are available for use. Parameters: location - the location to check available endpoint services.

func (AvailableEndpointServicesClient) ListComplete

func (client AvailableEndpointServicesClient) ListComplete(ctx context.Context, location string) (result EndpointServicesListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailableEndpointServicesClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailableEndpointServicesClient) ListResponder

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

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

func (AvailableEndpointServicesClient) ListSender

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

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

type AvailablePrivateEndpointType

type AvailablePrivateEndpointType struct {
	// Name - The name of the service and resource.
	Name *string `json:"name,omitempty"`
	// ID - A unique identifier of the AvailablePrivateEndpoint Type resource.
	ID *string `json:"id,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
	// ResourceName - The name of the service and resource.
	ResourceName *string `json:"resourceName,omitempty"`
}

AvailablePrivateEndpointType the information of an AvailablePrivateEndpointType.

type AvailablePrivateEndpointTypesClient

type AvailablePrivateEndpointTypesClient struct {
	BaseClient
}

AvailablePrivateEndpointTypesClient is the network Client

func NewAvailablePrivateEndpointTypesClient

func NewAvailablePrivateEndpointTypesClient(subscriptionID string) AvailablePrivateEndpointTypesClient

NewAvailablePrivateEndpointTypesClient creates an instance of the AvailablePrivateEndpointTypesClient client.

func NewAvailablePrivateEndpointTypesClientWithBaseURI

func NewAvailablePrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailablePrivateEndpointTypesClient

NewAvailablePrivateEndpointTypesClientWithBaseURI creates an instance of the AvailablePrivateEndpointTypesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AvailablePrivateEndpointTypesClient) List

List returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. Parameters: location - the location of the domain name.

func (AvailablePrivateEndpointTypesClient) ListByResourceGroup

func (client AvailablePrivateEndpointTypesClient) ListByResourceGroup(ctx context.Context, location string, resourceGroupName string) (result AvailablePrivateEndpointTypesResultPage, err error)

ListByResourceGroup returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group.

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupComplete

func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupComplete(ctx context.Context, location string, resourceGroupName string) (result AvailablePrivateEndpointTypesResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupPreparer

func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupPreparer(ctx context.Context, location string, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupResponder

func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupResponder(resp *http.Response) (result AvailablePrivateEndpointTypesResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupSender

func (client AvailablePrivateEndpointTypesClient) 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 (AvailablePrivateEndpointTypesClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailablePrivateEndpointTypesClient) ListPreparer

func (client AvailablePrivateEndpointTypesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailablePrivateEndpointTypesClient) ListResponder

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

func (AvailablePrivateEndpointTypesClient) ListSender

func (client AvailablePrivateEndpointTypesClient) 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 AvailablePrivateEndpointTypesResult

type AvailablePrivateEndpointTypesResult struct {
	autorest.Response `json:"-"`
	// Value - An array of available privateEndpoint type.
	Value *[]AvailablePrivateEndpointType `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AvailablePrivateEndpointTypesResult an array of available PrivateEndpoint types.

func (AvailablePrivateEndpointTypesResult) IsEmpty

func (apetr AvailablePrivateEndpointTypesResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailablePrivateEndpointTypesResultIterator

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

AvailablePrivateEndpointTypesResultIterator provides access to a complete listing of AvailablePrivateEndpointType values.

func NewAvailablePrivateEndpointTypesResultIterator

func NewAvailablePrivateEndpointTypesResultIterator(page AvailablePrivateEndpointTypesResultPage) AvailablePrivateEndpointTypesResultIterator

Creates a new instance of the AvailablePrivateEndpointTypesResultIterator type.

func (*AvailablePrivateEndpointTypesResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailablePrivateEndpointTypesResultIterator) NextWithContext

func (iter *AvailablePrivateEndpointTypesResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AvailablePrivateEndpointTypesResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AvailablePrivateEndpointTypesResultIterator) Response

Response returns the raw server response from the last page request.

func (AvailablePrivateEndpointTypesResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AvailablePrivateEndpointTypesResultPage

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

AvailablePrivateEndpointTypesResultPage contains a page of AvailablePrivateEndpointType values.

func NewAvailablePrivateEndpointTypesResultPage

Creates a new instance of the AvailablePrivateEndpointTypesResultPage type.

func (*AvailablePrivateEndpointTypesResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailablePrivateEndpointTypesResultPage) NextWithContext

func (page *AvailablePrivateEndpointTypesResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AvailablePrivateEndpointTypesResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AvailablePrivateEndpointTypesResultPage) Response

Response returns the raw server response from the last page request.

func (AvailablePrivateEndpointTypesResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AvailableProvidersList

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

AvailableProvidersList list of available countries with details.

type AvailableProvidersListCity

type AvailableProvidersListCity struct {
	// CityName - The city or town name.
	CityName *string `json:"cityName,omitempty"`
	// Providers - A list of Internet service providers.
	Providers *[]string `json:"providers,omitempty"`
}

AvailableProvidersListCity city or town details.

type AvailableProvidersListCountry

type AvailableProvidersListCountry struct {
	// CountryName - The country name.
	CountryName *string `json:"countryName,omitempty"`
	// Providers - A list of Internet service providers.
	Providers *[]string `json:"providers,omitempty"`
	// States - List of available states in the country.
	States *[]AvailableProvidersListState `json:"states,omitempty"`
}

AvailableProvidersListCountry country details.

type AvailableProvidersListParameters

type AvailableProvidersListParameters struct {
	// AzureLocations - A list of Azure regions.
	AzureLocations *[]string `json:"azureLocations,omitempty"`
	// Country - The country for available providers list.
	Country *string `json:"country,omitempty"`
	// State - The state for available providers list.
	State *string `json:"state,omitempty"`
	// City - The city or town for available providers list.
	City *string `json:"city,omitempty"`
}

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

type AvailableProvidersListState

type AvailableProvidersListState struct {
	// StateName - The state name.
	StateName *string `json:"stateName,omitempty"`
	// Providers - A list of Internet service providers.
	Providers *[]string `json:"providers,omitempty"`
	// Cities - List of available cities or towns in the state.
	Cities *[]AvailableProvidersListCity `json:"cities,omitempty"`
}

AvailableProvidersListState state details.

type AvailableResourceGroupDelegationsClient

type AvailableResourceGroupDelegationsClient struct {
	BaseClient
}

AvailableResourceGroupDelegationsClient is the network Client

func NewAvailableResourceGroupDelegationsClient

func NewAvailableResourceGroupDelegationsClient(subscriptionID string) AvailableResourceGroupDelegationsClient

NewAvailableResourceGroupDelegationsClient creates an instance of the AvailableResourceGroupDelegationsClient client.

func NewAvailableResourceGroupDelegationsClientWithBaseURI

func NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient

NewAvailableResourceGroupDelegationsClientWithBaseURI creates an instance of the AvailableResourceGroupDelegationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AvailableResourceGroupDelegationsClient) List

func (client AvailableResourceGroupDelegationsClient) List(ctx context.Context, location string, resourceGroupName string) (result AvailableDelegationsResultPage, err error)

List gets all of the available subnet delegations for this resource group in this region. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group.

func (AvailableResourceGroupDelegationsClient) ListComplete

func (client AvailableResourceGroupDelegationsClient) ListComplete(ctx context.Context, location string, resourceGroupName string) (result AvailableDelegationsResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailableResourceGroupDelegationsClient) ListPreparer

func (client AvailableResourceGroupDelegationsClient) ListPreparer(ctx context.Context, location string, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailableResourceGroupDelegationsClient) ListResponder

func (client AvailableResourceGroupDelegationsClient) ListResponder(resp *http.Response) (result AvailableDelegationsResult, err error)

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

func (AvailableResourceGroupDelegationsClient) ListSender

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

type AvailableServiceAlias

type AvailableServiceAlias struct {
	// Name - The name of the service alias.
	Name *string `json:"name,omitempty"`
	// ID - The ID of the service alias.
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource.
	Type *string `json:"type,omitempty"`
	// ResourceName - The resource name of the service alias.
	ResourceName *string `json:"resourceName,omitempty"`
}

AvailableServiceAlias the available service alias.

type AvailableServiceAliasesClient

type AvailableServiceAliasesClient struct {
	BaseClient
}

AvailableServiceAliasesClient is the network Client

func NewAvailableServiceAliasesClient

func NewAvailableServiceAliasesClient(subscriptionID string) AvailableServiceAliasesClient

NewAvailableServiceAliasesClient creates an instance of the AvailableServiceAliasesClient client.

func NewAvailableServiceAliasesClientWithBaseURI

func NewAvailableServiceAliasesClientWithBaseURI(baseURI string, subscriptionID string) AvailableServiceAliasesClient

NewAvailableServiceAliasesClientWithBaseURI creates an instance of the AvailableServiceAliasesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AvailableServiceAliasesClient) List

List gets all available service aliases for this subscription in this region. Parameters: location - the location.

func (AvailableServiceAliasesClient) ListByResourceGroup

func (client AvailableServiceAliasesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, location string) (result AvailableServiceAliasesResultPage, err error)

ListByResourceGroup gets all available service aliases for this resource group in this region. Parameters: resourceGroupName - the name of the resource group. location - the location.

func (AvailableServiceAliasesClient) ListByResourceGroupComplete

func (client AvailableServiceAliasesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, location string) (result AvailableServiceAliasesResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailableServiceAliasesClient) ListByResourceGroupPreparer

func (client AvailableServiceAliasesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, location string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AvailableServiceAliasesClient) ListByResourceGroupResponder

func (client AvailableServiceAliasesClient) ListByResourceGroupResponder(resp *http.Response) (result AvailableServiceAliasesResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (AvailableServiceAliasesClient) ListByResourceGroupSender

func (client AvailableServiceAliasesClient) 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 (AvailableServiceAliasesClient) ListComplete

func (client AvailableServiceAliasesClient) ListComplete(ctx context.Context, location string) (result AvailableServiceAliasesResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailableServiceAliasesClient) ListPreparer

func (client AvailableServiceAliasesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailableServiceAliasesClient) ListResponder

func (client AvailableServiceAliasesClient) ListResponder(resp *http.Response) (result AvailableServiceAliasesResult, err error)

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

func (AvailableServiceAliasesClient) ListSender

func (client AvailableServiceAliasesClient) 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 AvailableServiceAliasesResult

type AvailableServiceAliasesResult struct {
	autorest.Response `json:"-"`
	// Value - An array of available service aliases.
	Value *[]AvailableServiceAlias `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AvailableServiceAliasesResult an array of available service aliases.

func (AvailableServiceAliasesResult) IsEmpty

func (asar AvailableServiceAliasesResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableServiceAliasesResultIterator

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

AvailableServiceAliasesResultIterator provides access to a complete listing of AvailableServiceAlias values.

func NewAvailableServiceAliasesResultIterator

func NewAvailableServiceAliasesResultIterator(page AvailableServiceAliasesResultPage) AvailableServiceAliasesResultIterator

Creates a new instance of the AvailableServiceAliasesResultIterator type.

func (*AvailableServiceAliasesResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailableServiceAliasesResultIterator) NextWithContext

func (iter *AvailableServiceAliasesResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AvailableServiceAliasesResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AvailableServiceAliasesResultIterator) Response

Response returns the raw server response from the last page request.

func (AvailableServiceAliasesResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AvailableServiceAliasesResultPage

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

AvailableServiceAliasesResultPage contains a page of AvailableServiceAlias values.

func NewAvailableServiceAliasesResultPage

Creates a new instance of the AvailableServiceAliasesResultPage type.

func (*AvailableServiceAliasesResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailableServiceAliasesResultPage) NextWithContext

func (page *AvailableServiceAliasesResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AvailableServiceAliasesResultPage) NotDone

func (page AvailableServiceAliasesResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AvailableServiceAliasesResultPage) Response

Response returns the raw server response from the last page request.

func (AvailableServiceAliasesResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AzureAsyncOperationResult

type AzureAsyncOperationResult struct {
	// Status - Status of the Azure async operation. Possible values include: 'OperationStatusInProgress', 'OperationStatusSucceeded', 'OperationStatusFailed'
	Status OperationStatus `json:"status,omitempty"`
	// Error - Details of the error occurred during specified asynchronous operation.
	Error *Error `json:"error,omitempty"`
}

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

type AzureFirewall struct {
	autorest.Response `json:"-"`
	// AzureFirewallPropertiesFormat - Properties of the azure firewall.
	*AzureFirewallPropertiesFormat `json:"properties,omitempty"`
	// Zones - A list of availability zones denoting where the resource needs to come from.
	Zones *[]string `json:"zones,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

AzureFirewall azure Firewall resource.

func (AzureFirewall) MarshalJSON

func (af AzureFirewall) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewall.

func (*AzureFirewall) UnmarshalJSON

func (af *AzureFirewall) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFirewall struct.

type AzureFirewallApplicationRule

type AzureFirewallApplicationRule struct {
	// Name - Name of the application rule.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule.
	Description *string `json:"description,omitempty"`
	// SourceAddresses - List of source IP addresses for this rule.
	SourceAddresses *[]string `json:"sourceAddresses,omitempty"`
	// Protocols - Array of ApplicationRuleProtocols.
	Protocols *[]AzureFirewallApplicationRuleProtocol `json:"protocols,omitempty"`
	// TargetFqdns - List of FQDNs for this rule.
	TargetFqdns *[]string `json:"targetFqdns,omitempty"`
	// FqdnTags - List of FQDN Tags for this rule.
	FqdnTags *[]string `json:"fqdnTags,omitempty"`
}

AzureFirewallApplicationRule properties of an application rule.

type AzureFirewallApplicationRuleCollection

type AzureFirewallApplicationRuleCollection struct {
	// AzureFirewallApplicationRuleCollectionPropertiesFormat - Properties of the azure firewall application rule collection.
	*AzureFirewallApplicationRuleCollectionPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

AzureFirewallApplicationRuleCollection application rule collection resource.

func (AzureFirewallApplicationRuleCollection) MarshalJSON

func (afarc AzureFirewallApplicationRuleCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallApplicationRuleCollection.

func (*AzureFirewallApplicationRuleCollection) UnmarshalJSON

func (afarc *AzureFirewallApplicationRuleCollection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFirewallApplicationRuleCollection struct.

type AzureFirewallApplicationRuleCollectionPropertiesFormat

type AzureFirewallApplicationRuleCollectionPropertiesFormat struct {
	// Priority - Priority of the application rule collection resource.
	Priority *int32 `json:"priority,omitempty"`
	// Action - The action type of a rule collection.
	Action *AzureFirewallRCAction `json:"action,omitempty"`
	// Rules - Collection of rules used by a application rule collection.
	Rules *[]AzureFirewallApplicationRule `json:"rules,omitempty"`
	// ProvisioningState - The provisioning state of the application rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AzureFirewallApplicationRuleCollectionPropertiesFormat properties of the application rule collection.

type AzureFirewallApplicationRuleProtocol

type AzureFirewallApplicationRuleProtocol struct {
	// ProtocolType - Protocol type. Possible values include: 'AzureFirewallApplicationRuleProtocolTypeHTTP', 'AzureFirewallApplicationRuleProtocolTypeHTTPS', 'AzureFirewallApplicationRuleProtocolTypeMssql'
	ProtocolType AzureFirewallApplicationRuleProtocolType `json:"protocolType,omitempty"`
	// Port - Port number for the protocol, cannot be greater than 64000. This field is optional.
	Port *int32 `json:"port,omitempty"`
}

AzureFirewallApplicationRuleProtocol properties of the application rule protocol.

type AzureFirewallApplicationRuleProtocolType

type AzureFirewallApplicationRuleProtocolType string

AzureFirewallApplicationRuleProtocolType enumerates the values for azure firewall application rule protocol type.

const (
	// AzureFirewallApplicationRuleProtocolTypeHTTP ...
	AzureFirewallApplicationRuleProtocolTypeHTTP AzureFirewallApplicationRuleProtocolType = "Http"
	// AzureFirewallApplicationRuleProtocolTypeHTTPS ...
	AzureFirewallApplicationRuleProtocolTypeHTTPS AzureFirewallApplicationRuleProtocolType = "Https"
	// AzureFirewallApplicationRuleProtocolTypeMssql ...
	AzureFirewallApplicationRuleProtocolTypeMssql AzureFirewallApplicationRuleProtocolType = "Mssql"
)

func PossibleAzureFirewallApplicationRuleProtocolTypeValues

func PossibleAzureFirewallApplicationRuleProtocolTypeValues() []AzureFirewallApplicationRuleProtocolType

PossibleAzureFirewallApplicationRuleProtocolTypeValues returns an array of possible values for the AzureFirewallApplicationRuleProtocolType const type.

type AzureFirewallFqdnTag

type AzureFirewallFqdnTag struct {
	// AzureFirewallFqdnTagPropertiesFormat - Properties of the azure firewall FQDN tag.
	*AzureFirewallFqdnTagPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

AzureFirewallFqdnTag azure Firewall FQDN Tag Resource.

func (AzureFirewallFqdnTag) MarshalJSON

func (afft AzureFirewallFqdnTag) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallFqdnTag.

func (*AzureFirewallFqdnTag) UnmarshalJSON

func (afft *AzureFirewallFqdnTag) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFirewallFqdnTag struct.

type AzureFirewallFqdnTagListResult

type AzureFirewallFqdnTagListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Azure Firewall FQDN Tags in a resource group.
	Value *[]AzureFirewallFqdnTag `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AzureFirewallFqdnTagListResult response for ListAzureFirewallFqdnTags API service call.

func (AzureFirewallFqdnTagListResult) IsEmpty

func (afftlr AzureFirewallFqdnTagListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureFirewallFqdnTagListResultIterator

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

AzureFirewallFqdnTagListResultIterator provides access to a complete listing of AzureFirewallFqdnTag values.

func NewAzureFirewallFqdnTagListResultIterator

func NewAzureFirewallFqdnTagListResultIterator(page AzureFirewallFqdnTagListResultPage) AzureFirewallFqdnTagListResultIterator

Creates a new instance of the AzureFirewallFqdnTagListResultIterator type.

func (*AzureFirewallFqdnTagListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureFirewallFqdnTagListResultIterator) NextWithContext

func (iter *AzureFirewallFqdnTagListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AzureFirewallFqdnTagListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AzureFirewallFqdnTagListResultIterator) Response

Response returns the raw server response from the last page request.

func (AzureFirewallFqdnTagListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AzureFirewallFqdnTagListResultPage

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

AzureFirewallFqdnTagListResultPage contains a page of AzureFirewallFqdnTag values.

func NewAzureFirewallFqdnTagListResultPage

Creates a new instance of the AzureFirewallFqdnTagListResultPage type.

func (*AzureFirewallFqdnTagListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureFirewallFqdnTagListResultPage) NextWithContext

func (page *AzureFirewallFqdnTagListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AzureFirewallFqdnTagListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AzureFirewallFqdnTagListResultPage) Response

Response returns the raw server response from the last page request.

func (AzureFirewallFqdnTagListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AzureFirewallFqdnTagPropertiesFormat

type AzureFirewallFqdnTagPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the Azure firewall FQDN tag resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// FqdnTagName - READ-ONLY; The name of this FQDN Tag.
	FqdnTagName *string `json:"fqdnTagName,omitempty"`
}

AzureFirewallFqdnTagPropertiesFormat azure Firewall FQDN Tag Properties.

type AzureFirewallFqdnTagsClient

type AzureFirewallFqdnTagsClient struct {
	BaseClient
}

AzureFirewallFqdnTagsClient is the network Client

func NewAzureFirewallFqdnTagsClient

func NewAzureFirewallFqdnTagsClient(subscriptionID string) AzureFirewallFqdnTagsClient

NewAzureFirewallFqdnTagsClient creates an instance of the AzureFirewallFqdnTagsClient client.

func NewAzureFirewallFqdnTagsClientWithBaseURI

func NewAzureFirewallFqdnTagsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallFqdnTagsClient

NewAzureFirewallFqdnTagsClientWithBaseURI creates an instance of the AzureFirewallFqdnTagsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AzureFirewallFqdnTagsClient) ListAll

ListAll gets all the Azure Firewall FQDN Tags in a subscription.

func (AzureFirewallFqdnTagsClient) ListAllComplete

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (AzureFirewallFqdnTagsClient) ListAllPreparer

func (client AzureFirewallFqdnTagsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (AzureFirewallFqdnTagsClient) ListAllResponder

func (client AzureFirewallFqdnTagsClient) ListAllResponder(resp *http.Response) (result AzureFirewallFqdnTagListResult, err error)

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

func (AzureFirewallFqdnTagsClient) ListAllSender

func (client AzureFirewallFqdnTagsClient) 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.

type AzureFirewallIPConfiguration

type AzureFirewallIPConfiguration struct {
	// AzureFirewallIPConfigurationPropertiesFormat - Properties of the azure firewall IP configuration.
	*AzureFirewallIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

AzureFirewallIPConfiguration IP configuration of an Azure Firewall.

func (AzureFirewallIPConfiguration) MarshalJSON

func (afic AzureFirewallIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallIPConfiguration.

func (*AzureFirewallIPConfiguration) UnmarshalJSON

func (afic *AzureFirewallIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFirewallIPConfiguration struct.

type AzureFirewallIPConfigurationPropertiesFormat

type AzureFirewallIPConfigurationPropertiesFormat struct {
	// PrivateIPAddress - READ-ONLY; The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// Subnet - Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'.
	Subnet *SubResource `json:"subnet,omitempty"`
	// PublicIPAddress - Reference of the PublicIP resource. This field is a mandatory input if subnet is not null.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
	// ProvisioningState - The provisioning state of the Azure firewall IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AzureFirewallIPConfigurationPropertiesFormat properties of IP configuration of an Azure Firewall.

type AzureFirewallListResult

type AzureFirewallListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Azure Firewalls in a resource group.
	Value *[]AzureFirewall `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

AzureFirewallListResult response for ListAzureFirewalls API service call.

func (AzureFirewallListResult) IsEmpty

func (aflr AzureFirewallListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureFirewallListResultIterator

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

AzureFirewallListResultIterator provides access to a complete listing of AzureFirewall values.

func NewAzureFirewallListResultIterator

func NewAzureFirewallListResultIterator(page AzureFirewallListResultPage) AzureFirewallListResultIterator

Creates a new instance of the AzureFirewallListResultIterator type.

func (*AzureFirewallListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureFirewallListResultIterator) NextWithContext

func (iter *AzureFirewallListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AzureFirewallListResultIterator) NotDone

func (iter AzureFirewallListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AzureFirewallListResultIterator) Response

Response returns the raw server response from the last page request.

func (AzureFirewallListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AzureFirewallListResultPage

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

AzureFirewallListResultPage contains a page of AzureFirewall values.

func NewAzureFirewallListResultPage

func NewAzureFirewallListResultPage(getNextPage func(context.Context, AzureFirewallListResult) (AzureFirewallListResult, error)) AzureFirewallListResultPage

Creates a new instance of the AzureFirewallListResultPage type.

func (*AzureFirewallListResultPage) Next

func (page *AzureFirewallListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AzureFirewallListResultPage) NextWithContext

func (page *AzureFirewallListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AzureFirewallListResultPage) NotDone

func (page AzureFirewallListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AzureFirewallListResultPage) Response

Response returns the raw server response from the last page request.

func (AzureFirewallListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AzureFirewallNatRCAction

type AzureFirewallNatRCAction struct {
	// Type - The type of action. Possible values include: 'Snat', 'Dnat'
	Type AzureFirewallNatRCActionType `json:"type,omitempty"`
}

AzureFirewallNatRCAction azureFirewall NAT Rule Collection Action.

type AzureFirewallNatRCActionType

type AzureFirewallNatRCActionType string

AzureFirewallNatRCActionType enumerates the values for azure firewall nat rc action type.

const (
	// Dnat ...
	Dnat AzureFirewallNatRCActionType = "Dnat"
	// Snat ...
	Snat AzureFirewallNatRCActionType = "Snat"
)

func PossibleAzureFirewallNatRCActionTypeValues

func PossibleAzureFirewallNatRCActionTypeValues() []AzureFirewallNatRCActionType

PossibleAzureFirewallNatRCActionTypeValues returns an array of possible values for the AzureFirewallNatRCActionType const type.

type AzureFirewallNatRule

type AzureFirewallNatRule struct {
	// Name - Name of the NAT rule.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule.
	Description *string `json:"description,omitempty"`
	// SourceAddresses - List of source IP addresses for this rule.
	SourceAddresses *[]string `json:"sourceAddresses,omitempty"`
	// DestinationAddresses - List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.
	DestinationAddresses *[]string `json:"destinationAddresses,omitempty"`
	// DestinationPorts - List of destination ports.
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
	// Protocols - Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
	Protocols *[]AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"`
	// TranslatedAddress - The translated address for this NAT rule.
	TranslatedAddress *string `json:"translatedAddress,omitempty"`
	// TranslatedPort - The translated port for this NAT rule.
	TranslatedPort *string `json:"translatedPort,omitempty"`
}

AzureFirewallNatRule properties of a NAT rule.

type AzureFirewallNatRuleCollection

type AzureFirewallNatRuleCollection struct {
	// AzureFirewallNatRuleCollectionProperties - Properties of the azure firewall NAT rule collection.
	*AzureFirewallNatRuleCollectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

AzureFirewallNatRuleCollection NAT rule collection resource.

func (AzureFirewallNatRuleCollection) MarshalJSON

func (afnrc AzureFirewallNatRuleCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallNatRuleCollection.

func (*AzureFirewallNatRuleCollection) UnmarshalJSON

func (afnrc *AzureFirewallNatRuleCollection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFirewallNatRuleCollection struct.

type AzureFirewallNatRuleCollectionProperties

type AzureFirewallNatRuleCollectionProperties struct {
	// Priority - Priority of the NAT rule collection resource.
	Priority *int32 `json:"priority,omitempty"`
	// Action - The action type of a NAT rule collection.
	Action *AzureFirewallNatRCAction `json:"action,omitempty"`
	// Rules - Collection of rules used by a NAT rule collection.
	Rules *[]AzureFirewallNatRule `json:"rules,omitempty"`
	// ProvisioningState - The provisioning state of the NAT rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AzureFirewallNatRuleCollectionProperties properties of the NAT rule collection.

type AzureFirewallNetworkRule

type AzureFirewallNetworkRule struct {
	// Name - Name of the network rule.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule.
	Description *string `json:"description,omitempty"`
	// Protocols - Array of AzureFirewallNetworkRuleProtocols.
	Protocols *[]AzureFirewallNetworkRuleProtocol `json:"protocols,omitempty"`
	// SourceAddresses - List of source IP addresses for this rule.
	SourceAddresses *[]string `json:"sourceAddresses,omitempty"`
	// DestinationAddresses - List of destination IP addresses.
	DestinationAddresses *[]string `json:"destinationAddresses,omitempty"`
	// DestinationPorts - List of destination ports.
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
}

AzureFirewallNetworkRule properties of the network rule.

type AzureFirewallNetworkRuleCollection

type AzureFirewallNetworkRuleCollection struct {
	// AzureFirewallNetworkRuleCollectionPropertiesFormat - Properties of the azure firewall network rule collection.
	*AzureFirewallNetworkRuleCollectionPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

AzureFirewallNetworkRuleCollection network rule collection resource.

func (AzureFirewallNetworkRuleCollection) MarshalJSON

func (afnrc AzureFirewallNetworkRuleCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallNetworkRuleCollection.

func (*AzureFirewallNetworkRuleCollection) UnmarshalJSON

func (afnrc *AzureFirewallNetworkRuleCollection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AzureFirewallNetworkRuleCollection struct.

type AzureFirewallNetworkRuleCollectionPropertiesFormat

type AzureFirewallNetworkRuleCollectionPropertiesFormat struct {
	// Priority - Priority of the network rule collection resource.
	Priority *int32 `json:"priority,omitempty"`
	// Action - The action type of a rule collection.
	Action *AzureFirewallRCAction `json:"action,omitempty"`
	// Rules - Collection of rules used by a network rule collection.
	Rules *[]AzureFirewallNetworkRule `json:"rules,omitempty"`
	// ProvisioningState - The provisioning state of the network rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AzureFirewallNetworkRuleCollectionPropertiesFormat properties of the network rule collection.

type AzureFirewallNetworkRuleProtocol

type AzureFirewallNetworkRuleProtocol string

AzureFirewallNetworkRuleProtocol enumerates the values for azure firewall network rule protocol.

const (
	// Any ...
	Any AzureFirewallNetworkRuleProtocol = "Any"
	// ICMP ...
	ICMP AzureFirewallNetworkRuleProtocol = "ICMP"
	// TCP ...
	TCP AzureFirewallNetworkRuleProtocol = "TCP"
	// UDP ...
	UDP AzureFirewallNetworkRuleProtocol = "UDP"
)

func PossibleAzureFirewallNetworkRuleProtocolValues

func PossibleAzureFirewallNetworkRuleProtocolValues() []AzureFirewallNetworkRuleProtocol

PossibleAzureFirewallNetworkRuleProtocolValues returns an array of possible values for the AzureFirewallNetworkRuleProtocol const type.

type AzureFirewallPropertiesFormat

type AzureFirewallPropertiesFormat struct {
	// ApplicationRuleCollections - Collection of application rule collections used by Azure Firewall.
	ApplicationRuleCollections *[]AzureFirewallApplicationRuleCollection `json:"applicationRuleCollections,omitempty"`
	// NatRuleCollections - Collection of NAT rule collections used by Azure Firewall.
	NatRuleCollections *[]AzureFirewallNatRuleCollection `json:"natRuleCollections,omitempty"`
	// NetworkRuleCollections - Collection of network rule collections used by Azure Firewall.
	NetworkRuleCollections *[]AzureFirewallNetworkRuleCollection `json:"networkRuleCollections,omitempty"`
	// IPConfigurations - IP configuration of the Azure Firewall resource.
	IPConfigurations *[]AzureFirewallIPConfiguration `json:"ipConfigurations,omitempty"`
	// ProvisioningState - The provisioning state of the Azure firewall resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ThreatIntelMode - The operation mode for Threat Intelligence. Possible values include: 'AzureFirewallThreatIntelModeAlert', 'AzureFirewallThreatIntelModeDeny', 'AzureFirewallThreatIntelModeOff'
	ThreatIntelMode AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"`
	// VirtualHub - The virtualHub to which the firewall belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`
	// FirewallPolicy - The firewallPolicy associated with this azure firewall.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`
	// HubIPAddresses - READ-ONLY; IP addresses associated with AzureFirewall.
	HubIPAddresses *HubIPAddresses `json:"hubIpAddresses,omitempty"`
	// Sku - The Azure Firewall Resource SKU.
	Sku *AzureFirewallSku `json:"sku,omitempty"`
}

AzureFirewallPropertiesFormat properties of the Azure Firewall.

type AzureFirewallPublicIPAddress

type AzureFirewallPublicIPAddress struct {
	// Address - Public IP Address value.
	Address *string `json:"address,omitempty"`
}

AzureFirewallPublicIPAddress public IP Address associated with azure firewall.

type AzureFirewallRCAction

type AzureFirewallRCAction struct {
	// Type - The type of action. Possible values include: 'AzureFirewallRCActionTypeAllow', 'AzureFirewallRCActionTypeDeny'
	Type AzureFirewallRCActionType `json:"type,omitempty"`
}

AzureFirewallRCAction properties of the AzureFirewallRCAction.

type AzureFirewallRCActionType

type AzureFirewallRCActionType string

AzureFirewallRCActionType enumerates the values for azure firewall rc action type.

const (
	// AzureFirewallRCActionTypeAllow ...
	AzureFirewallRCActionTypeAllow AzureFirewallRCActionType = "Allow"
	// AzureFirewallRCActionTypeDeny ...
	AzureFirewallRCActionTypeDeny AzureFirewallRCActionType = "Deny"
)

func PossibleAzureFirewallRCActionTypeValues

func PossibleAzureFirewallRCActionTypeValues() []AzureFirewallRCActionType

PossibleAzureFirewallRCActionTypeValues returns an array of possible values for the AzureFirewallRCActionType const type.

type AzureFirewallSku

type AzureFirewallSku struct {
	// Name - Name of an Azure Firewall SKU. Possible values include: 'AZFWVNet', 'AZFWHub'
	Name AzureFirewallSkuName `json:"name,omitempty"`
	// Tier - Tier of an Azure Firewall. Possible values include: 'Standard'
	Tier AzureFirewallSkuTier `json:"tier,omitempty"`
}

AzureFirewallSku SKU of an Azure Firewall.

type AzureFirewallSkuName

type AzureFirewallSkuName string

AzureFirewallSkuName enumerates the values for azure firewall sku name.

const (
	// AZFWHub ...
	AZFWHub AzureFirewallSkuName = "AZFW_Hub"
	// AZFWVNet ...
	AZFWVNet AzureFirewallSkuName = "AZFW_VNet"
)

func PossibleAzureFirewallSkuNameValues

func PossibleAzureFirewallSkuNameValues() []AzureFirewallSkuName

PossibleAzureFirewallSkuNameValues returns an array of possible values for the AzureFirewallSkuName const type.

type AzureFirewallSkuTier

type AzureFirewallSkuTier string

AzureFirewallSkuTier enumerates the values for azure firewall sku tier.

const (
	// Standard ...
	Standard AzureFirewallSkuTier = "Standard"
)

func PossibleAzureFirewallSkuTierValues

func PossibleAzureFirewallSkuTierValues() []AzureFirewallSkuTier

PossibleAzureFirewallSkuTierValues returns an array of possible values for the AzureFirewallSkuTier const type.

type AzureFirewallThreatIntelMode

type AzureFirewallThreatIntelMode string

AzureFirewallThreatIntelMode enumerates the values for azure firewall threat intel mode.

const (
	// AzureFirewallThreatIntelModeAlert ...
	AzureFirewallThreatIntelModeAlert AzureFirewallThreatIntelMode = "Alert"
	// AzureFirewallThreatIntelModeDeny ...
	AzureFirewallThreatIntelModeDeny AzureFirewallThreatIntelMode = "Deny"
	// AzureFirewallThreatIntelModeOff ...
	AzureFirewallThreatIntelModeOff AzureFirewallThreatIntelMode = "Off"
)

func PossibleAzureFirewallThreatIntelModeValues

func PossibleAzureFirewallThreatIntelModeValues() []AzureFirewallThreatIntelMode

PossibleAzureFirewallThreatIntelModeValues returns an array of possible values for the AzureFirewallThreatIntelMode const type.

type AzureFirewallsClient

type AzureFirewallsClient struct {
	BaseClient
}

AzureFirewallsClient is the network Client

func NewAzureFirewallsClient

func NewAzureFirewallsClient(subscriptionID string) AzureFirewallsClient

NewAzureFirewallsClient creates an instance of the AzureFirewallsClient client.

func NewAzureFirewallsClientWithBaseURI

func NewAzureFirewallsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallsClient

NewAzureFirewallsClientWithBaseURI creates an instance of the AzureFirewallsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AzureFirewallsClient) CreateOrUpdate

func (client AzureFirewallsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall) (result AzureFirewallsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified Azure Firewall. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall. parameters - parameters supplied to the create or update Azure Firewall operation.

func (AzureFirewallsClient) CreateOrUpdatePreparer

func (client AzureFirewallsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AzureFirewallsClient) CreateOrUpdateResponder

func (client AzureFirewallsClient) CreateOrUpdateResponder(resp *http.Response) (result AzureFirewall, err error)

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

func (AzureFirewallsClient) CreateOrUpdateSender

func (client AzureFirewallsClient) CreateOrUpdateSender(req *http.Request) (future AzureFirewallsCreateOrUpdateFuture, err error)

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

func (AzureFirewallsClient) Delete

func (client AzureFirewallsClient) Delete(ctx context.Context, resourceGroupName string, azureFirewallName string) (result AzureFirewallsDeleteFuture, err error)

Delete deletes the specified Azure Firewall. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall.

func (AzureFirewallsClient) DeletePreparer

func (client AzureFirewallsClient) DeletePreparer(ctx context.Context, resourceGroupName string, azureFirewallName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AzureFirewallsClient) DeleteResponder

func (client AzureFirewallsClient) 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 (AzureFirewallsClient) DeleteSender

func (client AzureFirewallsClient) DeleteSender(req *http.Request) (future AzureFirewallsDeleteFuture, err error)

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

func (AzureFirewallsClient) Get

func (client AzureFirewallsClient) Get(ctx context.Context, resourceGroupName string, azureFirewallName string) (result AzureFirewall, err error)

Get gets the specified Azure Firewall. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall.

func (AzureFirewallsClient) GetPreparer

func (client AzureFirewallsClient) GetPreparer(ctx context.Context, resourceGroupName string, azureFirewallName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AzureFirewallsClient) GetResponder

func (client AzureFirewallsClient) GetResponder(resp *http.Response) (result AzureFirewall, err error)

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

func (AzureFirewallsClient) GetSender

func (client AzureFirewallsClient) 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 (AzureFirewallsClient) List

func (client AzureFirewallsClient) List(ctx context.Context, resourceGroupName string) (result AzureFirewallListResultPage, err error)

List lists all Azure Firewalls in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (AzureFirewallsClient) ListAll

func (client AzureFirewallsClient) ListAll(ctx context.Context) (result AzureFirewallListResultPage, err error)

ListAll gets all the Azure Firewalls in a subscription.

func (AzureFirewallsClient) ListAllComplete

func (client AzureFirewallsClient) ListAllComplete(ctx context.Context) (result AzureFirewallListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (AzureFirewallsClient) ListAllPreparer

func (client AzureFirewallsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (AzureFirewallsClient) ListAllResponder

func (client AzureFirewallsClient) ListAllResponder(resp *http.Response) (result AzureFirewallListResult, err error)

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

func (AzureFirewallsClient) ListAllSender

func (client AzureFirewallsClient) 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 (AzureFirewallsClient) ListComplete

func (client AzureFirewallsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AzureFirewallListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AzureFirewallsClient) ListPreparer

func (client AzureFirewallsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AzureFirewallsClient) ListResponder

func (client AzureFirewallsClient) ListResponder(resp *http.Response) (result AzureFirewallListResult, err error)

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

func (AzureFirewallsClient) ListSender

func (client AzureFirewallsClient) 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 (AzureFirewallsClient) UpdateTags

func (client AzureFirewallsClient) UpdateTags(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall) (result AzureFirewall, err error)

UpdateTags updates tags for an Azure Firewall resource. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall. parameters - parameters supplied to the create or update Azure Firewall operation.

func (AzureFirewallsClient) UpdateTagsPreparer

func (client AzureFirewallsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters AzureFirewall) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (AzureFirewallsClient) UpdateTagsResponder

func (client AzureFirewallsClient) UpdateTagsResponder(resp *http.Response) (result AzureFirewall, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (AzureFirewallsClient) UpdateTagsSender

func (client AzureFirewallsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type AzureFirewallsCreateOrUpdateFuture

type AzureFirewallsCreateOrUpdateFuture struct {
	azure.Future
}

AzureFirewallsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AzureFirewallsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AzureFirewallsDeleteFuture

type AzureFirewallsDeleteFuture struct {
	azure.Future
}

AzureFirewallsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AzureFirewallsDeleteFuture) Result

func (future *AzureFirewallsDeleteFuture) Result(client AzureFirewallsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AzureReachabilityReport

type AzureReachabilityReport struct {
	autorest.Response `json:"-"`
	// AggregationLevel - The aggregation level of Azure reachability report. Can be Country, State or City.
	AggregationLevel *string `json:"aggregationLevel,omitempty"`
	// ProviderLocation - Parameters that define a geographic location.
	ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"`
	// ReachabilityReport - List of Azure reachability report items.
	ReachabilityReport *[]AzureReachabilityReportItem `json:"reachabilityReport,omitempty"`
}

AzureReachabilityReport azure reachability report details.

type AzureReachabilityReportItem

type AzureReachabilityReportItem struct {
	// Provider - The Internet service provider.
	Provider *string `json:"provider,omitempty"`
	// AzureLocation - The Azure region.
	AzureLocation *string `json:"azureLocation,omitempty"`
	// Latencies - List of latency details for each of the time series.
	Latencies *[]AzureReachabilityReportLatencyInfo `json:"latencies,omitempty"`
}

AzureReachabilityReportItem azure reachability report details for a given provider location.

type AzureReachabilityReportLatencyInfo

type AzureReachabilityReportLatencyInfo struct {
	// TimeStamp - The time stamp.
	TimeStamp *date.Time `json:"timeStamp,omitempty"`
	// Score - The relative latency score between 1 and 100, higher values indicating a faster connection.
	Score *int32 `json:"score,omitempty"`
}

AzureReachabilityReportLatencyInfo details on latency for a time series.

type AzureReachabilityReportLocation

type AzureReachabilityReportLocation struct {
	// Country - The name of the country.
	Country *string `json:"country,omitempty"`
	// State - The name of the state.
	State *string `json:"state,omitempty"`
	// City - The name of the city or town.
	City *string `json:"city,omitempty"`
}

AzureReachabilityReportLocation parameters that define a geographic location.

type AzureReachabilityReportParameters

type AzureReachabilityReportParameters struct {
	// ProviderLocation - Parameters that define a geographic location.
	ProviderLocation *AzureReachabilityReportLocation `json:"providerLocation,omitempty"`
	// Providers - List of Internet service providers.
	Providers *[]string `json:"providers,omitempty"`
	// AzureLocations - Optional Azure regions to scope the query to.
	AzureLocations *[]string `json:"azureLocations,omitempty"`
	// StartTime - The start time for the Azure reachability report.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The end time for the Azure reachability report.
	EndTime *date.Time `json:"endTime,omitempty"`
}

AzureReachabilityReportParameters geographic and time constraints for Azure reachability report.

type BGPCommunity

type BGPCommunity struct {
	// ServiceSupportedRegion - The region which the service support. e.g. For O365, region is Global.
	ServiceSupportedRegion *string `json:"serviceSupportedRegion,omitempty"`
	// CommunityName - The name of the bgp community. e.g. Skype.
	CommunityName *string `json:"communityName,omitempty"`
	// CommunityValue - The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
	CommunityValue *string `json:"communityValue,omitempty"`
	// CommunityPrefixes - The prefixes that the bgp community contains.
	CommunityPrefixes *[]string `json:"communityPrefixes,omitempty"`
	// IsAuthorizedToUse - Customer is authorized to use bgp community or not.
	IsAuthorizedToUse *bool `json:"isAuthorizedToUse,omitempty"`
	// ServiceGroup - The service group of the bgp community contains.
	ServiceGroup *string `json:"serviceGroup,omitempty"`
}

BGPCommunity contains bgp community information offered in Service Community resources.

type BackendAddressPool

type BackendAddressPool struct {
	autorest.Response `json:"-"`
	// BackendAddressPoolPropertiesFormat - Properties of load balancer backend address pool.
	*BackendAddressPoolPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

BackendAddressPool pool of backend IP addresses.

func (BackendAddressPool) MarshalJSON

func (bap BackendAddressPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackendAddressPool.

func (*BackendAddressPool) UnmarshalJSON

func (bap *BackendAddressPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackendAddressPool struct.

type BackendAddressPoolPropertiesFormat

type BackendAddressPoolPropertiesFormat struct {
	// BackendIPConfigurations - READ-ONLY; An array of references to IP addresses defined in network interfaces.
	BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
	// LoadBalancingRules - READ-ONLY; An array of references to load balancing rules that use this backend address pool.
	LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
	// OutboundRule - READ-ONLY; A reference to an outbound rule that uses this backend address pool.
	OutboundRule *SubResource `json:"outboundRule,omitempty"`
	// OutboundRules - READ-ONLY; An array of references to outbound rules that use this backend address pool.
	OutboundRules *[]SubResource `json:"outboundRules,omitempty"`
	// ProvisioningState - The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

BackendAddressPoolPropertiesFormat properties of the backend address pool.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Network.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) CheckDNSNameAvailability

func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error)

CheckDNSNameAvailability checks whether a domain name in the cloudapp.azure.com zone is available for use. Parameters: location - the location of the domain name. domainNameLabel - 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 (BaseClient) CheckDNSNameAvailabilityPreparer

func (client BaseClient) CheckDNSNameAvailabilityPreparer(ctx context.Context, location string, domainNameLabel string) (*http.Request, error)

CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request.

func (BaseClient) CheckDNSNameAvailabilityResponder

func (client BaseClient) 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 (BaseClient) CheckDNSNameAvailabilitySender

func (client BaseClient) 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.

func (BaseClient) Generatevirtualwanvpnserverconfigurationvpnprofile

func (client BaseClient) Generatevirtualwanvpnserverconfigurationvpnprofile(ctx context.Context, resourceGroupName string, virtualWANName string, vpnClientParams VirtualWanVpnProfileParameters) (result GeneratevirtualwanvpnserverconfigurationvpnprofileFuture, err error)

Generatevirtualwanvpnserverconfigurationvpnprofile generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified resource group. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN whose associated VpnServerConfigurations is needed. vpnClientParams - parameters supplied to the generate VirtualWan VPN profile generation operation.

func (BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer

func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer(ctx context.Context, resourceGroupName string, virtualWANName string, vpnClientParams VirtualWanVpnProfileParameters) (*http.Request, error)

GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer prepares the Generatevirtualwanvpnserverconfigurationvpnprofile request.

func (BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileResponder

func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileResponder(resp *http.Response) (result VpnProfileResponse, err error)

GeneratevirtualwanvpnserverconfigurationvpnprofileResponder handles the response to the Generatevirtualwanvpnserverconfigurationvpnprofile request. The method always closes the http.Response Body.

func (BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileSender

func (client BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileSender(req *http.Request) (future GeneratevirtualwanvpnserverconfigurationvpnprofileFuture, err error)

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

func (BaseClient) SupportedSecurityProviders

func (client BaseClient) SupportedSecurityProviders(ctx context.Context, resourceGroupName string, virtualWANName string) (result VirtualWanSecurityProviders, err error)

SupportedSecurityProviders gives the supported security providers for the virtual wan. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN for which supported security providers are needed.

func (BaseClient) SupportedSecurityProvidersPreparer

func (client BaseClient) SupportedSecurityProvidersPreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)

SupportedSecurityProvidersPreparer prepares the SupportedSecurityProviders request.

func (BaseClient) SupportedSecurityProvidersResponder

func (client BaseClient) SupportedSecurityProvidersResponder(resp *http.Response) (result VirtualWanSecurityProviders, err error)

SupportedSecurityProvidersResponder handles the response to the SupportedSecurityProviders request. The method always closes the http.Response Body.

func (BaseClient) SupportedSecurityProvidersSender

func (client BaseClient) SupportedSecurityProvidersSender(req *http.Request) (*http.Response, error)

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

type BasicFirewallPolicyRule

type BasicFirewallPolicyRule interface {
	AsFirewallPolicyNatRule() (*FirewallPolicyNatRule, bool)
	AsFirewallPolicyFilterRule() (*FirewallPolicyFilterRule, bool)
	AsFirewallPolicyRule() (*FirewallPolicyRule, bool)
}

BasicFirewallPolicyRule properties of the rule.

type BasicFirewallPolicyRuleCondition

type BasicFirewallPolicyRuleCondition interface {
	AsApplicationRuleCondition() (*ApplicationRuleCondition, bool)
	AsRuleCondition() (*RuleCondition, bool)
	AsFirewallPolicyRuleCondition() (*FirewallPolicyRuleCondition, bool)
}

BasicFirewallPolicyRuleCondition properties of a rule.

type BastionHost

type BastionHost struct {
	autorest.Response `json:"-"`
	// BastionHostPropertiesFormat - Represents the bastion host resource.
	*BastionHostPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

BastionHost bastion Host resource.

func (BastionHost) MarshalJSON

func (bh BastionHost) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionHost.

func (*BastionHost) UnmarshalJSON

func (bh *BastionHost) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BastionHost struct.

type BastionHostIPConfiguration

type BastionHostIPConfiguration struct {
	// BastionHostIPConfigurationPropertiesFormat - Represents the ip configuration associated with the resource.
	*BastionHostIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Ip configuration type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

BastionHostIPConfiguration IP configuration of an Bastion Host.

func (BastionHostIPConfiguration) MarshalJSON

func (bhic BastionHostIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionHostIPConfiguration.

func (*BastionHostIPConfiguration) UnmarshalJSON

func (bhic *BastionHostIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BastionHostIPConfiguration struct.

type BastionHostIPConfigurationPropertiesFormat

type BastionHostIPConfigurationPropertiesFormat struct {
	// Subnet - Reference of the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`
	// PublicIPAddress - Reference of the PublicIP resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
	// ProvisioningState - The provisioning state of the bastion host IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateIPAllocationMethod - Private IP allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
}

BastionHostIPConfigurationPropertiesFormat properties of IP configuration of an Bastion Host.

type BastionHostListResult

type BastionHostListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Bastion Hosts in a resource group.
	Value *[]BastionHost `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

BastionHostListResult response for ListBastionHosts API service call.

func (BastionHostListResult) IsEmpty

func (bhlr BastionHostListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BastionHostListResultIterator

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

BastionHostListResultIterator provides access to a complete listing of BastionHost values.

func NewBastionHostListResultIterator

func NewBastionHostListResultIterator(page BastionHostListResultPage) BastionHostListResultIterator

Creates a new instance of the BastionHostListResultIterator type.

func (*BastionHostListResultIterator) Next

func (iter *BastionHostListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BastionHostListResultIterator) NextWithContext

func (iter *BastionHostListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BastionHostListResultIterator) NotDone

func (iter BastionHostListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BastionHostListResultIterator) Response

Response returns the raw server response from the last page request.

func (BastionHostListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BastionHostListResultPage

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

BastionHostListResultPage contains a page of BastionHost values.

func NewBastionHostListResultPage

func NewBastionHostListResultPage(getNextPage func(context.Context, BastionHostListResult) (BastionHostListResult, error)) BastionHostListResultPage

Creates a new instance of the BastionHostListResultPage type.

func (*BastionHostListResultPage) Next

func (page *BastionHostListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BastionHostListResultPage) NextWithContext

func (page *BastionHostListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BastionHostListResultPage) NotDone

func (page BastionHostListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BastionHostListResultPage) Response

Response returns the raw server response from the last page request.

func (BastionHostListResultPage) Values

func (page BastionHostListResultPage) Values() []BastionHost

Values returns the slice of values for the current page or nil if there are no values.

type BastionHostPropertiesFormat

type BastionHostPropertiesFormat struct {
	// IPConfigurations - IP configuration of the Bastion Host resource.
	IPConfigurations *[]BastionHostIPConfiguration `json:"ipConfigurations,omitempty"`
	// DNSName - FQDN for the endpoint on which bastion host is accessible.
	DNSName *string `json:"dnsName,omitempty"`
	// ProvisioningState - The provisioning state of the bastion host resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

BastionHostPropertiesFormat properties of the Bastion Host.

type BastionHostsClient

type BastionHostsClient struct {
	BaseClient
}

BastionHostsClient is the network Client

func NewBastionHostsClient

func NewBastionHostsClient(subscriptionID string) BastionHostsClient

NewBastionHostsClient creates an instance of the BastionHostsClient client.

func NewBastionHostsClientWithBaseURI

func NewBastionHostsClientWithBaseURI(baseURI string, subscriptionID string) BastionHostsClient

NewBastionHostsClientWithBaseURI creates an instance of the BastionHostsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BastionHostsClient) CreateOrUpdate

func (client BastionHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, bastionHostName string, parameters BastionHost) (result BastionHostsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified Bastion Host. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. parameters - parameters supplied to the create or update Bastion Host operation.

func (BastionHostsClient) CreateOrUpdatePreparer

func (client BastionHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, bastionHostName string, parameters BastionHost) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BastionHostsClient) CreateOrUpdateResponder

func (client BastionHostsClient) CreateOrUpdateResponder(resp *http.Response) (result BastionHost, err error)

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

func (BastionHostsClient) CreateOrUpdateSender

func (client BastionHostsClient) CreateOrUpdateSender(req *http.Request) (future BastionHostsCreateOrUpdateFuture, err error)

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

func (BastionHostsClient) Delete

func (client BastionHostsClient) Delete(ctx context.Context, resourceGroupName string, bastionHostName string) (result BastionHostsDeleteFuture, err error)

Delete deletes the specified Bastion Host. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host.

func (BastionHostsClient) DeletePreparer

func (client BastionHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, bastionHostName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BastionHostsClient) DeleteResponder

func (client BastionHostsClient) 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 (BastionHostsClient) DeleteSender

func (client BastionHostsClient) DeleteSender(req *http.Request) (future BastionHostsDeleteFuture, err error)

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

func (BastionHostsClient) Get

func (client BastionHostsClient) Get(ctx context.Context, resourceGroupName string, bastionHostName string) (result BastionHost, err error)

Get gets the specified Bastion Host. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host.

func (BastionHostsClient) GetPreparer

func (client BastionHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, bastionHostName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BastionHostsClient) GetResponder

func (client BastionHostsClient) GetResponder(resp *http.Response) (result BastionHost, err error)

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

func (BastionHostsClient) GetSender

func (client BastionHostsClient) 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 (BastionHostsClient) List

func (client BastionHostsClient) List(ctx context.Context) (result BastionHostListResultPage, err error)

List lists all Bastion Hosts in a subscription.

func (BastionHostsClient) ListByResourceGroup

func (client BastionHostsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BastionHostListResultPage, err error)

ListByResourceGroup lists all Bastion Hosts in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (BastionHostsClient) ListByResourceGroupComplete

func (client BastionHostsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BastionHostListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (BastionHostsClient) ListByResourceGroupPreparer

func (client BastionHostsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (BastionHostsClient) ListByResourceGroupResponder

func (client BastionHostsClient) ListByResourceGroupResponder(resp *http.Response) (result BastionHostListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (BastionHostsClient) ListByResourceGroupSender

func (client BastionHostsClient) 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 (BastionHostsClient) ListComplete

func (client BastionHostsClient) ListComplete(ctx context.Context) (result BastionHostListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BastionHostsClient) ListPreparer

func (client BastionHostsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (BastionHostsClient) ListResponder

func (client BastionHostsClient) ListResponder(resp *http.Response) (result BastionHostListResult, err error)

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

func (BastionHostsClient) ListSender

func (client BastionHostsClient) 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 BastionHostsCreateOrUpdateFuture

type BastionHostsCreateOrUpdateFuture struct {
	azure.Future
}

BastionHostsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BastionHostsCreateOrUpdateFuture) Result

func (future *BastionHostsCreateOrUpdateFuture) Result(client BastionHostsClient) (bh BastionHost, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BastionHostsDeleteFuture

type BastionHostsDeleteFuture struct {
	azure.Future
}

BastionHostsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*BastionHostsDeleteFuture) Result

func (future *BastionHostsDeleteFuture) Result(client BastionHostsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BgpPeerState

type BgpPeerState string

BgpPeerState enumerates the values for bgp peer state.

const (
	// BgpPeerStateConnected ...
	BgpPeerStateConnected BgpPeerState = "Connected"
	// BgpPeerStateConnecting ...
	BgpPeerStateConnecting BgpPeerState = "Connecting"
	// BgpPeerStateIdle ...
	BgpPeerStateIdle BgpPeerState = "Idle"
	// BgpPeerStateStopped ...
	BgpPeerStateStopped BgpPeerState = "Stopped"
	// BgpPeerStateUnknown ...
	BgpPeerStateUnknown BgpPeerState = "Unknown"
)

func PossibleBgpPeerStateValues

func PossibleBgpPeerStateValues() []BgpPeerState

PossibleBgpPeerStateValues returns an array of possible values for the BgpPeerState const type.

type BgpPeerStatus

type BgpPeerStatus struct {
	// LocalAddress - READ-ONLY; The virtual network gateway's local address.
	LocalAddress *string `json:"localAddress,omitempty"`
	// Neighbor - READ-ONLY; The remote BGP peer.
	Neighbor *string `json:"neighbor,omitempty"`
	// Asn - READ-ONLY; The autonomous system number of the remote BGP peer.
	Asn *int32 `json:"asn,omitempty"`
	// State - READ-ONLY; The BGP peer state. Possible values include: 'BgpPeerStateUnknown', 'BgpPeerStateStopped', 'BgpPeerStateIdle', 'BgpPeerStateConnecting', 'BgpPeerStateConnected'
	State BgpPeerState `json:"state,omitempty"`
	// ConnectedDuration - READ-ONLY; For how long the peering has been up.
	ConnectedDuration *string `json:"connectedDuration,omitempty"`
	// RoutesReceived - READ-ONLY; The number of routes learned from this peer.
	RoutesReceived *int64 `json:"routesReceived,omitempty"`
	// MessagesSent - READ-ONLY; The number of BGP messages sent.
	MessagesSent *int64 `json:"messagesSent,omitempty"`
	// MessagesReceived - READ-ONLY; The number of BGP messages received.
	MessagesReceived *int64 `json:"messagesReceived,omitempty"`
}

BgpPeerStatus BGP peer status details.

type BgpPeerStatusListResult

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

BgpPeerStatusListResult response for list BGP peer status API service call.

type BgpServiceCommunitiesClient

type BgpServiceCommunitiesClient struct {
	BaseClient
}

BgpServiceCommunitiesClient is the network Client

func NewBgpServiceCommunitiesClient

func NewBgpServiceCommunitiesClient(subscriptionID string) BgpServiceCommunitiesClient

NewBgpServiceCommunitiesClient creates an instance of the BgpServiceCommunitiesClient client.

func NewBgpServiceCommunitiesClientWithBaseURI

func NewBgpServiceCommunitiesClientWithBaseURI(baseURI string, subscriptionID string) BgpServiceCommunitiesClient

NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BgpServiceCommunitiesClient) List

List gets all the available bgp service communities.

func (BgpServiceCommunitiesClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BgpServiceCommunitiesClient) ListPreparer

func (client BgpServiceCommunitiesClient) ListPreparer(ctx context.Context) (*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 {
	// BgpServiceCommunityPropertiesFormat - Properties of the BGP service community.
	*BgpServiceCommunityPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

BgpServiceCommunity service Community Properties.

func (BgpServiceCommunity) MarshalJSON

func (bsc BgpServiceCommunity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BgpServiceCommunity.

func (*BgpServiceCommunity) UnmarshalJSON

func (bsc *BgpServiceCommunity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BgpServiceCommunity struct.

type BgpServiceCommunityListResult

type BgpServiceCommunityListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of service community resources.
	Value *[]BgpServiceCommunity `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

BgpServiceCommunityListResult response for the ListServiceCommunity API service call.

func (BgpServiceCommunityListResult) IsEmpty

func (bsclr BgpServiceCommunityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BgpServiceCommunityListResultIterator

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

BgpServiceCommunityListResultIterator provides access to a complete listing of BgpServiceCommunity values.

func NewBgpServiceCommunityListResultIterator

func NewBgpServiceCommunityListResultIterator(page BgpServiceCommunityListResultPage) BgpServiceCommunityListResultIterator

Creates a new instance of the BgpServiceCommunityListResultIterator type.

func (*BgpServiceCommunityListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BgpServiceCommunityListResultIterator) NextWithContext

func (iter *BgpServiceCommunityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BgpServiceCommunityListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (BgpServiceCommunityListResultIterator) Response

Response returns the raw server response from the last page request.

func (BgpServiceCommunityListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BgpServiceCommunityListResultPage

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

BgpServiceCommunityListResultPage contains a page of BgpServiceCommunity values.

func NewBgpServiceCommunityListResultPage

Creates a new instance of the BgpServiceCommunityListResultPage type.

func (*BgpServiceCommunityListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BgpServiceCommunityListResultPage) NextWithContext

func (page *BgpServiceCommunityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BgpServiceCommunityListResultPage) NotDone

func (page BgpServiceCommunityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BgpServiceCommunityListResultPage) Response

Response returns the raw server response from the last page request.

func (BgpServiceCommunityListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BgpServiceCommunityPropertiesFormat

type BgpServiceCommunityPropertiesFormat struct {
	// ServiceName - The name of the bgp community. e.g. Skype.
	ServiceName *string `json:"serviceName,omitempty"`
	// BgpCommunities - A list of bgp communities.
	BgpCommunities *[]BGPCommunity `json:"bgpCommunities,omitempty"`
}

BgpServiceCommunityPropertiesFormat properties of Service Community.

type BgpSettings

type BgpSettings struct {
	// Asn - The BGP speaker's ASN.
	Asn *int64 `json:"asn,omitempty"`
	// BgpPeeringAddress - The BGP peering address and BGP identifier of this BGP speaker.
	BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"`
	// PeerWeight - The weight added to routes learned from this BGP speaker.
	PeerWeight *int32 `json:"peerWeight,omitempty"`
}

BgpSettings BGP settings details.

type CheckPrivateLinkServiceVisibilityRequest

type CheckPrivateLinkServiceVisibilityRequest struct {
	// PrivateLinkServiceAlias - The alias of the private link service.
	PrivateLinkServiceAlias *string `json:"privateLinkServiceAlias,omitempty"`
}

CheckPrivateLinkServiceVisibilityRequest request body of the CheckPrivateLinkServiceVisibility API service call.

type CircuitConnectionStatus

type CircuitConnectionStatus string

CircuitConnectionStatus enumerates the values for circuit connection status.

const (
	// Connected ...
	Connected CircuitConnectionStatus = "Connected"
	// Connecting ...
	Connecting CircuitConnectionStatus = "Connecting"
	// Disconnected ...
	Disconnected CircuitConnectionStatus = "Disconnected"
)

func PossibleCircuitConnectionStatusValues

func PossibleCircuitConnectionStatusValues() []CircuitConnectionStatus

PossibleCircuitConnectionStatusValues returns an array of possible values for the CircuitConnectionStatus const type.

type CloudError

type CloudError struct {
	// Error - Cloud error body.
	Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError an error response from the Batch service.

type CloudErrorBody

type CloudErrorBody struct {
	// Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
	Code *string `json:"code,omitempty"`
	// Message - A message describing the error, intended to be suitable for display in a user interface.
	Message *string `json:"message,omitempty"`
	// Target - The target of the particular error. For example, the name of the property in error.
	Target *string `json:"target,omitempty"`
	// Details - A list of additional details about the error.
	Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody an error response from the Batch service.

type ConfigurationDiagnosticParameters

type ConfigurationDiagnosticParameters struct {
	// TargetResourceID - The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// VerbosityLevel - Verbosity level. Possible values include: 'Normal', 'Minimum', 'Full'
	VerbosityLevel VerbosityLevel `json:"verbosityLevel,omitempty"`
	// Profiles - List of network configuration diagnostic profiles.
	Profiles *[]ConfigurationDiagnosticProfile `json:"profiles,omitempty"`
}

ConfigurationDiagnosticParameters parameters to get network configuration diagnostic.

type ConfigurationDiagnosticProfile

type ConfigurationDiagnosticProfile struct {
	// Direction - The direction of the traffic. Possible values include: 'Inbound', 'Outbound'
	Direction Direction `json:"direction,omitempty"`
	// Protocol - Protocol to be verified on. Accepted values are '*', TCP, UDP.
	Protocol *string `json:"protocol,omitempty"`
	// Source - Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.
	Source *string `json:"source,omitempty"`
	// Destination - Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.
	Destination *string `json:"destination,omitempty"`
	// DestinationPort - Traffic destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).
	DestinationPort *string `json:"destinationPort,omitempty"`
}

ConfigurationDiagnosticProfile parameters to compare with network configuration.

type ConfigurationDiagnosticResponse

type ConfigurationDiagnosticResponse struct {
	autorest.Response `json:"-"`
	// Results - READ-ONLY; List of network configuration diagnostic results.
	Results *[]ConfigurationDiagnosticResult `json:"results,omitempty"`
}

ConfigurationDiagnosticResponse results of network configuration diagnostic on the target resource.

type ConfigurationDiagnosticResult

type ConfigurationDiagnosticResult struct {
	// Profile - Network configuration diagnostic profile.
	Profile *ConfigurationDiagnosticProfile `json:"profile,omitempty"`
	// NetworkSecurityGroupResult - Network security group result.
	NetworkSecurityGroupResult *SecurityGroupResult `json:"networkSecurityGroupResult,omitempty"`
}

ConfigurationDiagnosticResult network configuration diagnostic result corresponded to provided traffic query.

type ConnectionMonitor

type ConnectionMonitor struct {
	// Location - Connection monitor location.
	Location *string `json:"location,omitempty"`
	// Tags - Connection monitor tags.
	Tags map[string]*string `json:"tags"`
	// ConnectionMonitorParameters - Properties of the connection monitor.
	*ConnectionMonitorParameters `json:"properties,omitempty"`
}

ConnectionMonitor parameters that define the operation to create a connection monitor.

func (ConnectionMonitor) MarshalJSON

func (cm ConnectionMonitor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionMonitor.

func (*ConnectionMonitor) UnmarshalJSON

func (cm *ConnectionMonitor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionMonitor struct.

type ConnectionMonitorDestination

type ConnectionMonitorDestination struct {
	// ResourceID - The ID of the resource used as the destination by connection monitor.
	ResourceID *string `json:"resourceId,omitempty"`
	// Address - Address of the connection monitor destination (IP or domain name).
	Address *string `json:"address,omitempty"`
	// Port - The destination port used by connection monitor.
	Port *int32 `json:"port,omitempty"`
}

ConnectionMonitorDestination describes the destination of connection monitor.

type ConnectionMonitorListResult

type ConnectionMonitorListResult struct {
	autorest.Response `json:"-"`
	// Value - Information about connection monitors.
	Value *[]ConnectionMonitorResult `json:"value,omitempty"`
}

ConnectionMonitorListResult list of connection monitors.

type ConnectionMonitorParameters

type ConnectionMonitorParameters struct {
	// Source - Describes the source of connection monitor.
	Source *ConnectionMonitorSource `json:"source,omitempty"`
	// Destination - Describes the destination of connection monitor.
	Destination *ConnectionMonitorDestination `json:"destination,omitempty"`
	// AutoStart - Determines if the connection monitor will start automatically once created.
	AutoStart *bool `json:"autoStart,omitempty"`
	// MonitoringIntervalInSeconds - Monitoring interval in seconds.
	MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"`
}

ConnectionMonitorParameters parameters that define the operation to create a connection monitor.

type ConnectionMonitorQueryResult

type ConnectionMonitorQueryResult struct {
	autorest.Response `json:"-"`
	// SourceStatus - Status of connection monitor source. Possible values include: 'ConnectionMonitorSourceStatusUnknown', 'ConnectionMonitorSourceStatusActive', 'ConnectionMonitorSourceStatusInactive'
	SourceStatus ConnectionMonitorSourceStatus `json:"sourceStatus,omitempty"`
	// States - Information about connection states.
	States *[]ConnectionStateSnapshot `json:"states,omitempty"`
}

ConnectionMonitorQueryResult list of connection states snapshots.

type ConnectionMonitorResult

type ConnectionMonitorResult struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; Name of the connection monitor.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; ID of the connection monitor.
	ID *string `json:"id,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Connection monitor type.
	Type *string `json:"type,omitempty"`
	// Location - Connection monitor location.
	Location *string `json:"location,omitempty"`
	// Tags - Connection monitor tags.
	Tags map[string]*string `json:"tags"`
	// ConnectionMonitorResultProperties - Properties of the connection monitor result.
	*ConnectionMonitorResultProperties `json:"properties,omitempty"`
}

ConnectionMonitorResult information about the connection monitor.

func (ConnectionMonitorResult) MarshalJSON

func (cmr ConnectionMonitorResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionMonitorResult.

func (*ConnectionMonitorResult) UnmarshalJSON

func (cmr *ConnectionMonitorResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ConnectionMonitorResult struct.

type ConnectionMonitorResultProperties

type ConnectionMonitorResultProperties struct {
	// ProvisioningState - The provisioning state of the connection monitor. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartTime - The date and time when the connection monitor was started.
	StartTime *date.Time `json:"startTime,omitempty"`
	// MonitoringStatus - The monitoring status of the connection monitor.
	MonitoringStatus *string `json:"monitoringStatus,omitempty"`
	// Source - Describes the source of connection monitor.
	Source *ConnectionMonitorSource `json:"source,omitempty"`
	// Destination - Describes the destination of connection monitor.
	Destination *ConnectionMonitorDestination `json:"destination,omitempty"`
	// AutoStart - Determines if the connection monitor will start automatically once created.
	AutoStart *bool `json:"autoStart,omitempty"`
	// MonitoringIntervalInSeconds - Monitoring interval in seconds.
	MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"`
}

ConnectionMonitorResultProperties describes the properties of a connection monitor.

type ConnectionMonitorSource

type ConnectionMonitorSource struct {
	// ResourceID - The ID of the resource used as the source by connection monitor.
	ResourceID *string `json:"resourceId,omitempty"`
	// Port - The source port used by connection monitor.
	Port *int32 `json:"port,omitempty"`
}

ConnectionMonitorSource describes the source of connection monitor.

type ConnectionMonitorSourceStatus

type ConnectionMonitorSourceStatus string

ConnectionMonitorSourceStatus enumerates the values for connection monitor source status.

const (
	// ConnectionMonitorSourceStatusActive ...
	ConnectionMonitorSourceStatusActive ConnectionMonitorSourceStatus = "Active"
	// ConnectionMonitorSourceStatusInactive ...
	ConnectionMonitorSourceStatusInactive ConnectionMonitorSourceStatus = "Inactive"
	// ConnectionMonitorSourceStatusUnknown ...
	ConnectionMonitorSourceStatusUnknown ConnectionMonitorSourceStatus = "Unknown"
)

func PossibleConnectionMonitorSourceStatusValues

func PossibleConnectionMonitorSourceStatusValues() []ConnectionMonitorSourceStatus

PossibleConnectionMonitorSourceStatusValues returns an array of possible values for the ConnectionMonitorSourceStatus const type.

type ConnectionMonitorsClient

type ConnectionMonitorsClient struct {
	BaseClient
}

ConnectionMonitorsClient is the network Client

func NewConnectionMonitorsClient

func NewConnectionMonitorsClient(subscriptionID string) ConnectionMonitorsClient

NewConnectionMonitorsClient creates an instance of the ConnectionMonitorsClient client.

func NewConnectionMonitorsClientWithBaseURI

func NewConnectionMonitorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectionMonitorsClient

NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectionMonitorsClient) CreateOrUpdate

func (client ConnectionMonitorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor) (result ConnectionMonitorsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor. parameters - parameters that define the operation to create a connection monitor.

func (ConnectionMonitorsClient) CreateOrUpdatePreparer

func (client ConnectionMonitorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectionMonitorsClient) CreateOrUpdateResponder

func (client ConnectionMonitorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectionMonitorResult, err error)

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

func (ConnectionMonitorsClient) CreateOrUpdateSender

func (client ConnectionMonitorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectionMonitorsCreateOrUpdateFuture, err error)

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

func (ConnectionMonitorsClient) Delete

func (client ConnectionMonitorsClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsDeleteFuture, err error)

Delete deletes the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) DeletePreparer

func (client ConnectionMonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectionMonitorsClient) DeleteResponder

func (client ConnectionMonitorsClient) 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 (ConnectionMonitorsClient) DeleteSender

func (client ConnectionMonitorsClient) DeleteSender(req *http.Request) (future ConnectionMonitorsDeleteFuture, err error)

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

func (ConnectionMonitorsClient) Get

func (client ConnectionMonitorsClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorResult, err error)

Get gets a connection monitor by name. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) GetPreparer

func (client ConnectionMonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectionMonitorsClient) GetResponder

func (client ConnectionMonitorsClient) GetResponder(resp *http.Response) (result ConnectionMonitorResult, err error)

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

func (ConnectionMonitorsClient) GetSender

func (client ConnectionMonitorsClient) 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 (ConnectionMonitorsClient) List

func (client ConnectionMonitorsClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string) (result ConnectionMonitorListResult, err error)

List lists all connection monitors for the specified Network Watcher. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource.

func (ConnectionMonitorsClient) ListPreparer

func (client ConnectionMonitorsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectionMonitorsClient) ListResponder

func (client ConnectionMonitorsClient) ListResponder(resp *http.Response) (result ConnectionMonitorListResult, err error)

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

func (ConnectionMonitorsClient) ListSender

func (client ConnectionMonitorsClient) 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 (ConnectionMonitorsClient) Query

func (client ConnectionMonitorsClient) Query(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsQueryFuture, err error)

Query query a snapshot of the most recent connection states. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name given to the connection monitor.

func (ConnectionMonitorsClient) QueryPreparer

func (client ConnectionMonitorsClient) QueryPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

QueryPreparer prepares the Query request.

func (ConnectionMonitorsClient) QueryResponder

func (client ConnectionMonitorsClient) QueryResponder(resp *http.Response) (result ConnectionMonitorQueryResult, err error)

QueryResponder handles the response to the Query request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) QuerySender

func (client ConnectionMonitorsClient) QuerySender(req *http.Request) (future ConnectionMonitorsQueryFuture, err error)

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

func (ConnectionMonitorsClient) Start

func (client ConnectionMonitorsClient) Start(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsStartFuture, err error)

Start starts the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) StartPreparer

func (client ConnectionMonitorsClient) StartPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (ConnectionMonitorsClient) StartResponder

func (client ConnectionMonitorsClient) 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 (ConnectionMonitorsClient) StartSender

func (client ConnectionMonitorsClient) StartSender(req *http.Request) (future ConnectionMonitorsStartFuture, err error)

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

func (ConnectionMonitorsClient) Stop

func (client ConnectionMonitorsClient) Stop(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsStopFuture, err error)

Stop stops the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) StopPreparer

func (client ConnectionMonitorsClient) StopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ConnectionMonitorsClient) StopResponder

func (client ConnectionMonitorsClient) 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 (ConnectionMonitorsClient) StopSender

func (client ConnectionMonitorsClient) StopSender(req *http.Request) (future ConnectionMonitorsStopFuture, err error)

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

func (ConnectionMonitorsClient) UpdateTags

func (client ConnectionMonitorsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject) (result ConnectionMonitorResult, err error)

UpdateTags update tags of the specified connection monitor. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. connectionMonitorName - the name of the connection monitor. parameters - parameters supplied to update connection monitor tags.

func (ConnectionMonitorsClient) UpdateTagsPreparer

func (client ConnectionMonitorsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ConnectionMonitorsClient) UpdateTagsResponder

func (client ConnectionMonitorsClient) UpdateTagsResponder(resp *http.Response) (result ConnectionMonitorResult, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) UpdateTagsSender

func (client ConnectionMonitorsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type ConnectionMonitorsCreateOrUpdateFuture

type ConnectionMonitorsCreateOrUpdateFuture struct {
	azure.Future
}

ConnectionMonitorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConnectionMonitorsDeleteFuture

type ConnectionMonitorsDeleteFuture struct {
	azure.Future
}

ConnectionMonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConnectionMonitorsQueryFuture

type ConnectionMonitorsQueryFuture struct {
	azure.Future
}

ConnectionMonitorsQueryFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsQueryFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConnectionMonitorsStartFuture

type ConnectionMonitorsStartFuture struct {
	azure.Future
}

ConnectionMonitorsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsStartFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConnectionMonitorsStopFuture

type ConnectionMonitorsStopFuture struct {
	azure.Future
}

ConnectionMonitorsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsStopFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	autorest.Response `json:"-"`
	// KeyLength - The virtual network connection reset shared key length, should between 1 and 128.
	KeyLength *int32 `json:"keyLength,omitempty"`
}

ConnectionResetSharedKey the virtual network connection reset shared key.

type ConnectionSharedKey

type ConnectionSharedKey struct {
	autorest.Response `json:"-"`
	// Value - The virtual network connection shared key value.
	Value *string `json:"value,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ConnectionSharedKey response for GetConnectionSharedKey API service call.

type ConnectionState

type ConnectionState string

ConnectionState enumerates the values for connection state.

const (
	// ConnectionStateReachable ...
	ConnectionStateReachable ConnectionState = "Reachable"
	// ConnectionStateUnknown ...
	ConnectionStateUnknown ConnectionState = "Unknown"
	// ConnectionStateUnreachable ...
	ConnectionStateUnreachable ConnectionState = "Unreachable"
)

func PossibleConnectionStateValues

func PossibleConnectionStateValues() []ConnectionState

PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.

type ConnectionStateSnapshot

type ConnectionStateSnapshot struct {
	// ConnectionState - The connection state. Possible values include: 'ConnectionStateReachable', 'ConnectionStateUnreachable', 'ConnectionStateUnknown'
	ConnectionState ConnectionState `json:"connectionState,omitempty"`
	// StartTime - The start time of the connection snapshot.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The end time of the connection snapshot.
	EndTime *date.Time `json:"endTime,omitempty"`
	// EvaluationState - Connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'
	EvaluationState EvaluationState `json:"evaluationState,omitempty"`
	// AvgLatencyInMs - Average latency in ms.
	AvgLatencyInMs *int32 `json:"avgLatencyInMs,omitempty"`
	// MinLatencyInMs - Minimum latency in ms.
	MinLatencyInMs *int32 `json:"minLatencyInMs,omitempty"`
	// MaxLatencyInMs - Maximum latency in ms.
	MaxLatencyInMs *int32 `json:"maxLatencyInMs,omitempty"`
	// ProbesSent - The number of sent probes.
	ProbesSent *int32 `json:"probesSent,omitempty"`
	// ProbesFailed - The number of failed probes.
	ProbesFailed *int32 `json:"probesFailed,omitempty"`
	// Hops - READ-ONLY; List of hops between the source and the destination.
	Hops *[]ConnectivityHop `json:"hops,omitempty"`
}

ConnectionStateSnapshot connection state snapshot.

type ConnectionStatus

type ConnectionStatus string

ConnectionStatus enumerates the values for connection status.

const (
	// ConnectionStatusConnected ...
	ConnectionStatusConnected ConnectionStatus = "Connected"
	// ConnectionStatusDegraded ...
	ConnectionStatusDegraded ConnectionStatus = "Degraded"
	// ConnectionStatusDisconnected ...
	ConnectionStatusDisconnected ConnectionStatus = "Disconnected"
	// ConnectionStatusUnknown ...
	ConnectionStatusUnknown ConnectionStatus = "Unknown"
)

func PossibleConnectionStatusValues

func PossibleConnectionStatusValues() []ConnectionStatus

PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.

type ConnectivityDestination

type ConnectivityDestination struct {
	// ResourceID - The ID of the resource to which a connection attempt will be made.
	ResourceID *string `json:"resourceId,omitempty"`
	// Address - The IP address or URI the resource to which a connection attempt will be made.
	Address *string `json:"address,omitempty"`
	// Port - Port on which check connectivity will be performed.
	Port *int32 `json:"port,omitempty"`
}

ConnectivityDestination parameters that define destination of connection.

type ConnectivityHop

type ConnectivityHop struct {
	// Type - READ-ONLY; The type of the hop.
	Type *string `json:"type,omitempty"`
	// ID - READ-ONLY; The ID of the hop.
	ID *string `json:"id,omitempty"`
	// Address - READ-ONLY; The IP address of the hop.
	Address *string `json:"address,omitempty"`
	// ResourceID - READ-ONLY; The ID of the resource corresponding to this hop.
	ResourceID *string `json:"resourceId,omitempty"`
	// NextHopIds - READ-ONLY; List of next hop identifiers.
	NextHopIds *[]string `json:"nextHopIds,omitempty"`
	// Issues - READ-ONLY; List of issues.
	Issues *[]ConnectivityIssue `json:"issues,omitempty"`
}

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

type ConnectivityInformation

type ConnectivityInformation struct {
	autorest.Response `json:"-"`
	// Hops - READ-ONLY; List of hops between the source and the destination.
	Hops *[]ConnectivityHop `json:"hops,omitempty"`
	// ConnectionStatus - READ-ONLY; The connection status. Possible values include: 'ConnectionStatusUnknown', 'ConnectionStatusConnected', 'ConnectionStatusDisconnected', 'ConnectionStatusDegraded'
	ConnectionStatus ConnectionStatus `json:"connectionStatus,omitempty"`
	// AvgLatencyInMs - READ-ONLY; Average latency in milliseconds.
	AvgLatencyInMs *int32 `json:"avgLatencyInMs,omitempty"`
	// MinLatencyInMs - READ-ONLY; Minimum latency in milliseconds.
	MinLatencyInMs *int32 `json:"minLatencyInMs,omitempty"`
	// MaxLatencyInMs - READ-ONLY; Maximum latency in milliseconds.
	MaxLatencyInMs *int32 `json:"maxLatencyInMs,omitempty"`
	// ProbesSent - READ-ONLY; Total number of probes sent.
	ProbesSent *int32 `json:"probesSent,omitempty"`
	// ProbesFailed - READ-ONLY; Number of failed probes.
	ProbesFailed *int32 `json:"probesFailed,omitempty"`
}

ConnectivityInformation information on the connectivity status.

type ConnectivityIssue

type ConnectivityIssue struct {
	// Origin - READ-ONLY; The origin of the issue. Possible values include: 'OriginLocal', 'OriginInbound', 'OriginOutbound'
	Origin Origin `json:"origin,omitempty"`
	// Severity - READ-ONLY; The severity of the issue. Possible values include: 'SeverityError', 'SeverityWarning'
	Severity Severity `json:"severity,omitempty"`
	// Type - READ-ONLY; The type of issue. Possible values include: 'IssueTypeUnknown', 'IssueTypeAgentStopped', 'IssueTypeGuestFirewall', 'IssueTypeDNSResolution', 'IssueTypeSocketBind', 'IssueTypeNetworkSecurityRule', 'IssueTypeUserDefinedRoute', 'IssueTypePortThrottled', 'IssueTypePlatform'
	Type IssueType `json:"type,omitempty"`
	// Context - READ-ONLY; Provides additional context on the issue.
	Context *[]map[string]*string `json:"context,omitempty"`
}

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

type ConnectivityParameters

type ConnectivityParameters struct {
	// Source - Describes the source of the connection.
	Source *ConnectivitySource `json:"source,omitempty"`
	// Destination - Describes the destination of connection.
	Destination *ConnectivityDestination `json:"destination,omitempty"`
	// Protocol - Network protocol. Possible values include: 'ProtocolTCP', 'ProtocolHTTP', 'ProtocolHTTPS', 'ProtocolIcmp'
	Protocol Protocol `json:"protocol,omitempty"`
	// ProtocolConfiguration - Configuration of the protocol.
	ProtocolConfiguration *ProtocolConfiguration `json:"protocolConfiguration,omitempty"`
}

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

type ConnectivitySource

type ConnectivitySource struct {
	// ResourceID - The ID of the resource from which a connectivity check will be initiated.
	ResourceID *string `json:"resourceId,omitempty"`
	// Port - The source port from which a connectivity check will be performed.
	Port *int32 `json:"port,omitempty"`
}

ConnectivitySource parameters that define the source of the connection.

type Container

type Container struct {
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

Container reference to container resource in remote resource provider.

type ContainerNetworkInterface

type ContainerNetworkInterface struct {
	// ContainerNetworkInterfacePropertiesFormat - Container network interface properties.
	*ContainerNetworkInterfacePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ContainerNetworkInterface container network interface child resource.

func (ContainerNetworkInterface) MarshalJSON

func (cni ContainerNetworkInterface) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterface.

func (*ContainerNetworkInterface) UnmarshalJSON

func (cni *ContainerNetworkInterface) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterface struct.

type ContainerNetworkInterfaceConfiguration

type ContainerNetworkInterfaceConfiguration struct {
	// ContainerNetworkInterfaceConfigurationPropertiesFormat - Container network interface configuration properties.
	*ContainerNetworkInterfaceConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ContainerNetworkInterfaceConfiguration container network interface configuration child resource.

func (ContainerNetworkInterfaceConfiguration) MarshalJSON

func (cnic ContainerNetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterfaceConfiguration.

func (*ContainerNetworkInterfaceConfiguration) UnmarshalJSON

func (cnic *ContainerNetworkInterfaceConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterfaceConfiguration struct.

type ContainerNetworkInterfaceConfigurationPropertiesFormat

type ContainerNetworkInterfaceConfigurationPropertiesFormat struct {
	// IPConfigurations - A list of ip configurations of the container network interface configuration.
	IPConfigurations *[]IPConfigurationProfile `json:"ipConfigurations,omitempty"`
	// ContainerNetworkInterfaces - A list of container network interfaces created from this container network interface configuration.
	ContainerNetworkInterfaces *[]SubResource `json:"containerNetworkInterfaces,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the container network interface configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ContainerNetworkInterfaceConfigurationPropertiesFormat container network interface configuration properties.

type ContainerNetworkInterfaceIPConfiguration

type ContainerNetworkInterfaceIPConfiguration struct {
	// ContainerNetworkInterfaceIPConfigurationPropertiesFormat - Properties of the container network interface IP configuration.
	*ContainerNetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

ContainerNetworkInterfaceIPConfiguration the ip configuration for a container network interface.

func (ContainerNetworkInterfaceIPConfiguration) MarshalJSON

func (cniic ContainerNetworkInterfaceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterfaceIPConfiguration.

func (*ContainerNetworkInterfaceIPConfiguration) UnmarshalJSON

func (cniic *ContainerNetworkInterfaceIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterfaceIPConfiguration struct.

type ContainerNetworkInterfaceIPConfigurationPropertiesFormat

type ContainerNetworkInterfaceIPConfigurationPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the container network interface IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ContainerNetworkInterfaceIPConfigurationPropertiesFormat properties of the container network interface IP configuration.

type ContainerNetworkInterfacePropertiesFormat

type ContainerNetworkInterfacePropertiesFormat struct {
	// ContainerNetworkInterfaceConfiguration - Container network interface configuration from which this container network interface is created.
	ContainerNetworkInterfaceConfiguration *ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfiguration,omitempty"`
	// Container - Reference to the container to which this container network interface is attached.
	Container *Container `json:"container,omitempty"`
	// IPConfigurations - Reference to the ip configuration on this container nic.
	IPConfigurations *[]ContainerNetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the container network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ContainerNetworkInterfacePropertiesFormat properties of container network interface.

type DNSNameAvailabilityResult

type DNSNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// Available - Domain availability (True/False).
	Available *bool `json:"available,omitempty"`
}

DNSNameAvailabilityResult response for the CheckDnsNameAvailability API service call.

type DdosCustomPoliciesClient

type DdosCustomPoliciesClient struct {
	BaseClient
}

DdosCustomPoliciesClient is the network Client

func NewDdosCustomPoliciesClient

func NewDdosCustomPoliciesClient(subscriptionID string) DdosCustomPoliciesClient

NewDdosCustomPoliciesClient creates an instance of the DdosCustomPoliciesClient client.

func NewDdosCustomPoliciesClientWithBaseURI

func NewDdosCustomPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DdosCustomPoliciesClient

NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DdosCustomPoliciesClient) CreateOrUpdate

func (client DdosCustomPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy) (result DdosCustomPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy. parameters - parameters supplied to the create or update operation.

func (DdosCustomPoliciesClient) CreateOrUpdatePreparer

func (client DdosCustomPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DdosCustomPoliciesClient) CreateOrUpdateResponder

func (client DdosCustomPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DdosCustomPolicy, err error)

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

func (DdosCustomPoliciesClient) CreateOrUpdateSender

func (client DdosCustomPoliciesClient) CreateOrUpdateSender(req *http.Request) (future DdosCustomPoliciesCreateOrUpdateFuture, err error)

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

func (DdosCustomPoliciesClient) Delete

func (client DdosCustomPoliciesClient) Delete(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (result DdosCustomPoliciesDeleteFuture, err error)

Delete deletes the specified DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy.

func (DdosCustomPoliciesClient) DeletePreparer

func (client DdosCustomPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DdosCustomPoliciesClient) DeleteResponder

func (client DdosCustomPoliciesClient) 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 (DdosCustomPoliciesClient) DeleteSender

func (client DdosCustomPoliciesClient) DeleteSender(req *http.Request) (future DdosCustomPoliciesDeleteFuture, err error)

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

func (DdosCustomPoliciesClient) Get

func (client DdosCustomPoliciesClient) Get(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (result DdosCustomPolicy, err error)

Get gets information about the specified DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy.

func (DdosCustomPoliciesClient) GetPreparer

func (client DdosCustomPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DdosCustomPoliciesClient) GetResponder

func (client DdosCustomPoliciesClient) GetResponder(resp *http.Response) (result DdosCustomPolicy, err error)

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

func (DdosCustomPoliciesClient) GetSender

func (client DdosCustomPoliciesClient) 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 (DdosCustomPoliciesClient) UpdateTags

func (client DdosCustomPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject) (result DdosCustomPoliciesUpdateTagsFuture, err error)

UpdateTags update a DDoS custom policy tags. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy. parameters - parameters supplied to the update DDoS custom policy resource tags.

func (DdosCustomPoliciesClient) UpdateTagsPreparer

func (client DdosCustomPoliciesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (DdosCustomPoliciesClient) UpdateTagsResponder

func (client DdosCustomPoliciesClient) UpdateTagsResponder(resp *http.Response) (result DdosCustomPolicy, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (DdosCustomPoliciesClient) UpdateTagsSender

func (client DdosCustomPoliciesClient) UpdateTagsSender(req *http.Request) (future DdosCustomPoliciesUpdateTagsFuture, err error)

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

type DdosCustomPoliciesCreateOrUpdateFuture

type DdosCustomPoliciesCreateOrUpdateFuture struct {
	azure.Future
}

DdosCustomPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosCustomPoliciesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DdosCustomPoliciesDeleteFuture

type DdosCustomPoliciesDeleteFuture struct {
	azure.Future
}

DdosCustomPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosCustomPoliciesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DdosCustomPoliciesUpdateTagsFuture

type DdosCustomPoliciesUpdateTagsFuture struct {
	azure.Future
}

DdosCustomPoliciesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosCustomPoliciesUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DdosCustomPolicy

type DdosCustomPolicy struct {
	autorest.Response `json:"-"`
	// DdosCustomPolicyPropertiesFormat - Properties of the DDoS custom policy.
	*DdosCustomPolicyPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

DdosCustomPolicy a DDoS custom policy in a resource group.

func (DdosCustomPolicy) MarshalJSON

func (dcp DdosCustomPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosCustomPolicy.

func (*DdosCustomPolicy) UnmarshalJSON

func (dcp *DdosCustomPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DdosCustomPolicy struct.

type DdosCustomPolicyPropertiesFormat

type DdosCustomPolicyPropertiesFormat struct {
	// ResourceGUID - READ-ONLY; The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the DDoS custom policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PublicIPAddresses - READ-ONLY; The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
	PublicIPAddresses *[]SubResource `json:"publicIPAddresses,omitempty"`
	// ProtocolCustomSettings - The protocol-specific DDoS policy customization parameters.
	ProtocolCustomSettings *[]ProtocolCustomSettingsFormat `json:"protocolCustomSettings,omitempty"`
}

DdosCustomPolicyPropertiesFormat dDoS custom policy properties.

type DdosCustomPolicyProtocol

type DdosCustomPolicyProtocol string

DdosCustomPolicyProtocol enumerates the values for ddos custom policy protocol.

const (
	// DdosCustomPolicyProtocolSyn ...
	DdosCustomPolicyProtocolSyn DdosCustomPolicyProtocol = "Syn"
	// DdosCustomPolicyProtocolTCP ...
	DdosCustomPolicyProtocolTCP DdosCustomPolicyProtocol = "Tcp"
	// DdosCustomPolicyProtocolUDP ...
	DdosCustomPolicyProtocolUDP DdosCustomPolicyProtocol = "Udp"
)

func PossibleDdosCustomPolicyProtocolValues

func PossibleDdosCustomPolicyProtocolValues() []DdosCustomPolicyProtocol

PossibleDdosCustomPolicyProtocolValues returns an array of possible values for the DdosCustomPolicyProtocol const type.

type DdosCustomPolicyTriggerSensitivityOverride

type DdosCustomPolicyTriggerSensitivityOverride string

DdosCustomPolicyTriggerSensitivityOverride enumerates the values for ddos custom policy trigger sensitivity override.

const (
	// Default ...
	Default DdosCustomPolicyTriggerSensitivityOverride = "Default"
	// High ...
	High DdosCustomPolicyTriggerSensitivityOverride = "High"
	// Low ...
	Low DdosCustomPolicyTriggerSensitivityOverride = "Low"
	// Relaxed ...
	Relaxed DdosCustomPolicyTriggerSensitivityOverride = "Relaxed"
)

func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues

func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues() []DdosCustomPolicyTriggerSensitivityOverride

PossibleDdosCustomPolicyTriggerSensitivityOverrideValues returns an array of possible values for the DdosCustomPolicyTriggerSensitivityOverride const type.

type DdosProtectionPlan

type DdosProtectionPlan struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// DdosProtectionPlanPropertiesFormat - Properties of the DDoS protection plan.
	*DdosProtectionPlanPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

DdosProtectionPlan a DDoS protection plan in a resource group.

func (DdosProtectionPlan) MarshalJSON

func (dpp DdosProtectionPlan) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosProtectionPlan.

func (*DdosProtectionPlan) UnmarshalJSON

func (dpp *DdosProtectionPlan) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DdosProtectionPlan struct.

type DdosProtectionPlanListResult

type DdosProtectionPlanListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of DDoS protection plans.
	Value *[]DdosProtectionPlan `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DdosProtectionPlanListResult a list of DDoS protection plans.

func (DdosProtectionPlanListResult) IsEmpty

func (dpplr DdosProtectionPlanListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DdosProtectionPlanListResultIterator

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

DdosProtectionPlanListResultIterator provides access to a complete listing of DdosProtectionPlan values.

func NewDdosProtectionPlanListResultIterator

func NewDdosProtectionPlanListResultIterator(page DdosProtectionPlanListResultPage) DdosProtectionPlanListResultIterator

Creates a new instance of the DdosProtectionPlanListResultIterator type.

func (*DdosProtectionPlanListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DdosProtectionPlanListResultIterator) NextWithContext

func (iter *DdosProtectionPlanListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DdosProtectionPlanListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DdosProtectionPlanListResultIterator) Response

Response returns the raw server response from the last page request.

func (DdosProtectionPlanListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DdosProtectionPlanListResultPage

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

DdosProtectionPlanListResultPage contains a page of DdosProtectionPlan values.

func NewDdosProtectionPlanListResultPage

Creates a new instance of the DdosProtectionPlanListResultPage type.

func (*DdosProtectionPlanListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DdosProtectionPlanListResultPage) NextWithContext

func (page *DdosProtectionPlanListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DdosProtectionPlanListResultPage) NotDone

func (page DdosProtectionPlanListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DdosProtectionPlanListResultPage) Response

Response returns the raw server response from the last page request.

func (DdosProtectionPlanListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DdosProtectionPlanPropertiesFormat

type DdosProtectionPlanPropertiesFormat struct {
	// ResourceGUID - READ-ONLY; The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the DDoS protection plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VirtualNetworks - READ-ONLY; The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
	VirtualNetworks *[]SubResource `json:"virtualNetworks,omitempty"`
}

DdosProtectionPlanPropertiesFormat dDoS protection plan properties.

type DdosProtectionPlansClient

type DdosProtectionPlansClient struct {
	BaseClient
}

DdosProtectionPlansClient is the network Client

func NewDdosProtectionPlansClient

func NewDdosProtectionPlansClient(subscriptionID string) DdosProtectionPlansClient

NewDdosProtectionPlansClient creates an instance of the DdosProtectionPlansClient client.

func NewDdosProtectionPlansClientWithBaseURI

func NewDdosProtectionPlansClientWithBaseURI(baseURI string, subscriptionID string) DdosProtectionPlansClient

NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DdosProtectionPlansClient) CreateOrUpdate

func (client DdosProtectionPlansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan) (result DdosProtectionPlansCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan. parameters - parameters supplied to the create or update operation.

func (DdosProtectionPlansClient) CreateOrUpdatePreparer

func (client DdosProtectionPlansClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DdosProtectionPlansClient) CreateOrUpdateResponder

func (client DdosProtectionPlansClient) CreateOrUpdateResponder(resp *http.Response) (result DdosProtectionPlan, err error)

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

func (DdosProtectionPlansClient) CreateOrUpdateSender

func (client DdosProtectionPlansClient) CreateOrUpdateSender(req *http.Request) (future DdosProtectionPlansCreateOrUpdateFuture, err error)

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

func (DdosProtectionPlansClient) Delete

func (client DdosProtectionPlansClient) Delete(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result DdosProtectionPlansDeleteFuture, err error)

Delete deletes the specified DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan.

func (DdosProtectionPlansClient) DeletePreparer

func (client DdosProtectionPlansClient) DeletePreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DdosProtectionPlansClient) DeleteResponder

func (client DdosProtectionPlansClient) 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 (DdosProtectionPlansClient) DeleteSender

func (client DdosProtectionPlansClient) DeleteSender(req *http.Request) (future DdosProtectionPlansDeleteFuture, err error)

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

func (DdosProtectionPlansClient) Get

func (client DdosProtectionPlansClient) Get(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result DdosProtectionPlan, err error)

Get gets information about the specified DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan.

func (DdosProtectionPlansClient) GetPreparer

func (client DdosProtectionPlansClient) GetPreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DdosProtectionPlansClient) GetResponder

func (client DdosProtectionPlansClient) GetResponder(resp *http.Response) (result DdosProtectionPlan, err error)

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

func (DdosProtectionPlansClient) GetSender

func (client DdosProtectionPlansClient) 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 (DdosProtectionPlansClient) List

List gets all DDoS protection plans in a subscription.

func (DdosProtectionPlansClient) ListByResourceGroup

func (client DdosProtectionPlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DdosProtectionPlanListResultPage, err error)

ListByResourceGroup gets all the DDoS protection plans in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (DdosProtectionPlansClient) ListByResourceGroupComplete

func (client DdosProtectionPlansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DdosProtectionPlanListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DdosProtectionPlansClient) ListByResourceGroupPreparer

func (client DdosProtectionPlansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DdosProtectionPlansClient) ListByResourceGroupResponder

func (client DdosProtectionPlansClient) ListByResourceGroupResponder(resp *http.Response) (result DdosProtectionPlanListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) ListByResourceGroupSender

func (client DdosProtectionPlansClient) 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 (DdosProtectionPlansClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DdosProtectionPlansClient) ListPreparer

func (client DdosProtectionPlansClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DdosProtectionPlansClient) ListResponder

func (client DdosProtectionPlansClient) ListResponder(resp *http.Response) (result DdosProtectionPlanListResult, err error)

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

func (DdosProtectionPlansClient) ListSender

func (client DdosProtectionPlansClient) 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 (DdosProtectionPlansClient) UpdateTags

func (client DdosProtectionPlansClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject) (result DdosProtectionPlansUpdateTagsFuture, err error)

UpdateTags update a DDoS protection plan tags. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan. parameters - parameters supplied to the update DDoS protection plan resource tags.

func (DdosProtectionPlansClient) UpdateTagsPreparer

func (client DdosProtectionPlansClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (DdosProtectionPlansClient) UpdateTagsResponder

func (client DdosProtectionPlansClient) UpdateTagsResponder(resp *http.Response) (result DdosProtectionPlan, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) UpdateTagsSender

func (client DdosProtectionPlansClient) UpdateTagsSender(req *http.Request) (future DdosProtectionPlansUpdateTagsFuture, err error)

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

type DdosProtectionPlansCreateOrUpdateFuture

type DdosProtectionPlansCreateOrUpdateFuture struct {
	azure.Future
}

DdosProtectionPlansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosProtectionPlansCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DdosProtectionPlansDeleteFuture

type DdosProtectionPlansDeleteFuture struct {
	azure.Future
}

DdosProtectionPlansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosProtectionPlansDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DdosProtectionPlansUpdateTagsFuture

type DdosProtectionPlansUpdateTagsFuture struct {
	azure.Future
}

DdosProtectionPlansUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosProtectionPlansUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DdosSettings

type DdosSettings struct {
	// DdosCustomPolicy - The DDoS custom policy associated with the public IP.
	DdosCustomPolicy *SubResource `json:"ddosCustomPolicy,omitempty"`
	// ProtectionCoverage - The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'DdosSettingsProtectionCoverageBasic', 'DdosSettingsProtectionCoverageStandard'
	ProtectionCoverage DdosSettingsProtectionCoverage `json:"protectionCoverage,omitempty"`
}

DdosSettings contains the DDoS protection settings of the public IP.

type DdosSettingsProtectionCoverage

type DdosSettingsProtectionCoverage string

DdosSettingsProtectionCoverage enumerates the values for ddos settings protection coverage.

const (
	// DdosSettingsProtectionCoverageBasic ...
	DdosSettingsProtectionCoverageBasic DdosSettingsProtectionCoverage = "Basic"
	// DdosSettingsProtectionCoverageStandard ...
	DdosSettingsProtectionCoverageStandard DdosSettingsProtectionCoverage = "Standard"
)

func PossibleDdosSettingsProtectionCoverageValues

func PossibleDdosSettingsProtectionCoverageValues() []DdosSettingsProtectionCoverage

PossibleDdosSettingsProtectionCoverageValues returns an array of possible values for the DdosSettingsProtectionCoverage const type.

type DefaultSecurityRulesClient

type DefaultSecurityRulesClient struct {
	BaseClient
}

DefaultSecurityRulesClient is the network Client

func NewDefaultSecurityRulesClient

func NewDefaultSecurityRulesClient(subscriptionID string) DefaultSecurityRulesClient

NewDefaultSecurityRulesClient creates an instance of the DefaultSecurityRulesClient client.

func NewDefaultSecurityRulesClientWithBaseURI

func NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) DefaultSecurityRulesClient

NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DefaultSecurityRulesClient) Get

func (client DefaultSecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (result SecurityRule, err error)

Get get the specified default network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. defaultSecurityRuleName - the name of the default security rule.

func (DefaultSecurityRulesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (DefaultSecurityRulesClient) GetResponder

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

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

func (DefaultSecurityRulesClient) GetSender

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

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

func (DefaultSecurityRulesClient) List

func (client DefaultSecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)

List gets all default security rules in a network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.

func (DefaultSecurityRulesClient) ListComplete

func (client DefaultSecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DefaultSecurityRulesClient) ListPreparer

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

ListPreparer prepares the List request.

func (DefaultSecurityRulesClient) ListResponder

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

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

func (DefaultSecurityRulesClient) ListSender

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

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

type Delegation

type Delegation struct {
	// ServiceDelegationPropertiesFormat - Properties of the subnet.
	*ServiceDelegationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a subnet. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

Delegation details the service to which the subnet is delegated.

func (Delegation) MarshalJSON

func (d Delegation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Delegation.

func (*Delegation) UnmarshalJSON

func (d *Delegation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Delegation struct.

type DeviceProperties

type DeviceProperties struct {
	// DeviceVendor - Name of the device Vendor.
	DeviceVendor *string `json:"deviceVendor,omitempty"`
	// DeviceModel - Model of the device.
	DeviceModel *string `json:"deviceModel,omitempty"`
	// LinkSpeedInMbps - Link speed.
	LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"`
}

DeviceProperties list of properties of the device.

type DhGroup

type DhGroup string

DhGroup enumerates the values for dh group.

const (
	// DHGroup1 ...
	DHGroup1 DhGroup = "DHGroup1"
	// DHGroup14 ...
	DHGroup14 DhGroup = "DHGroup14"
	// DHGroup2 ...
	DHGroup2 DhGroup = "DHGroup2"
	// DHGroup2048 ...
	DHGroup2048 DhGroup = "DHGroup2048"
	// DHGroup24 ...
	DHGroup24 DhGroup = "DHGroup24"
	// ECP256 ...
	ECP256 DhGroup = "ECP256"
	// ECP384 ...
	ECP384 DhGroup = "ECP384"
	// None ...
	None DhGroup = "None"
)

func PossibleDhGroupValues

func PossibleDhGroupValues() []DhGroup

PossibleDhGroupValues returns an array of possible values for the DhGroup const type.

type DhcpOptions

type DhcpOptions struct {
	// DNSServers - The list of DNS servers IP addresses.
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

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

type Dimension struct {
	// Name - The name of the dimension.
	Name *string `json:"name,omitempty"`
	// DisplayName - The display name of the dimension.
	DisplayName *string `json:"displayName,omitempty"`
	// InternalName - The internal name of the dimension.
	InternalName *string `json:"internalName,omitempty"`
}

Dimension dimension of the metric.

type Direction

type Direction string

Direction enumerates the values for direction.

const (
	// Inbound ...
	Inbound Direction = "Inbound"
	// Outbound ...
	Outbound Direction = "Outbound"
)

func PossibleDirectionValues

func PossibleDirectionValues() []Direction

PossibleDirectionValues returns an array of possible values for the Direction const type.

type EffectiveNetworkSecurityGroup

type EffectiveNetworkSecurityGroup struct {
	// NetworkSecurityGroup - The ID of network security group that is applied.
	NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
	// Association - Associated resources.
	Association *EffectiveNetworkSecurityGroupAssociation `json:"association,omitempty"`
	// EffectiveSecurityRules - A collection of effective security rules.
	EffectiveSecurityRules *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`
	// TagMap - Mapping of tags to list of IP Addresses included within the tag.
	TagMap map[string][]string `json:"tagMap"`
}

EffectiveNetworkSecurityGroup effective network security group.

func (EffectiveNetworkSecurityGroup) MarshalJSON

func (ensg EffectiveNetworkSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EffectiveNetworkSecurityGroup.

type EffectiveNetworkSecurityGroupAssociation

type EffectiveNetworkSecurityGroupAssociation struct {
	// Subnet - The ID of the subnet if assigned.
	Subnet *SubResource `json:"subnet,omitempty"`
	// NetworkInterface - The ID of the network interface if assigned.
	NetworkInterface *SubResource `json:"networkInterface,omitempty"`
}

EffectiveNetworkSecurityGroupAssociation the effective network security group association.

type EffectiveNetworkSecurityGroupListResult

type EffectiveNetworkSecurityGroupListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of effective network security groups.
	Value *[]EffectiveNetworkSecurityGroup `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

type EffectiveNetworkSecurityRule

type EffectiveNetworkSecurityRule struct {
	// Name - The name of the security rule specified by the user (if created by the user).
	Name *string `json:"name,omitempty"`
	// Protocol - The network protocol this rule applies to. Possible values include: 'EffectiveSecurityRuleProtocolTCP', 'EffectiveSecurityRuleProtocolUDP', 'EffectiveSecurityRuleProtocolAll'
	Protocol EffectiveSecurityRuleProtocol `json:"protocol,omitempty"`
	// SourcePortRange - The source port or range.
	SourcePortRange *string `json:"sourcePortRange,omitempty"`
	// DestinationPortRange - The destination port or range.
	DestinationPortRange *string `json:"destinationPortRange,omitempty"`
	// SourcePortRanges - The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
	SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"`
	// DestinationPortRanges - The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
	DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"`
	// SourceAddressPrefix - The source address prefix.
	SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
	// DestinationAddressPrefix - The destination address prefix.
	DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`
	// SourceAddressPrefixes - The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
	SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"`
	// DestinationAddressPrefixes - The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
	DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"`
	// ExpandedSourceAddressPrefix - The expanded source address prefix.
	ExpandedSourceAddressPrefix *[]string `json:"expandedSourceAddressPrefix,omitempty"`
	// ExpandedDestinationAddressPrefix - Expanded destination address prefix.
	ExpandedDestinationAddressPrefix *[]string `json:"expandedDestinationAddressPrefix,omitempty"`
	// Access - Whether network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny'
	Access SecurityRuleAccess `json:"access,omitempty"`
	// Priority - The priority of the rule.
	Priority *int32 `json:"priority,omitempty"`
	// Direction - The direction of the rule. Possible values include: 'SecurityRuleDirectionInbound', 'SecurityRuleDirectionOutbound'
	Direction SecurityRuleDirection `json:"direction,omitempty"`
}

EffectiveNetworkSecurityRule effective network security rules.

type EffectiveRoute

type EffectiveRoute struct {
	// Name - The name of the user defined route. This is optional.
	Name *string `json:"name,omitempty"`
	// DisableBgpRoutePropagation - If true, on-premises routes are not propagated to the network interfaces in the subnet.
	DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"`
	// Source - Who created the route. Possible values include: 'EffectiveRouteSourceUnknown', 'EffectiveRouteSourceUser', 'EffectiveRouteSourceVirtualNetworkGateway', 'EffectiveRouteSourceDefault'
	Source EffectiveRouteSource `json:"source,omitempty"`
	// State - The value of effective route. Possible values include: 'Active', 'Invalid'
	State EffectiveRouteState `json:"state,omitempty"`
	// AddressPrefix - The address prefixes of the effective routes in CIDR notation.
	AddressPrefix *[]string `json:"addressPrefix,omitempty"`
	// NextHopIPAddress - The IP address of the next hop of the effective route.
	NextHopIPAddress *[]string `json:"nextHopIpAddress,omitempty"`
	// NextHopType - The type of Azure hop the packet should be sent to. Possible values include: 'RouteNextHopTypeVirtualNetworkGateway', 'RouteNextHopTypeVnetLocal', 'RouteNextHopTypeInternet', 'RouteNextHopTypeVirtualAppliance', 'RouteNextHopTypeNone'
	NextHopType RouteNextHopType `json:"nextHopType,omitempty"`
}

EffectiveRoute effective Route.

type EffectiveRouteListResult

type EffectiveRouteListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of effective routes.
	Value *[]EffectiveRoute `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

EffectiveRouteListResult response for list effective route API service call.

type EffectiveRouteSource

type EffectiveRouteSource string

EffectiveRouteSource enumerates the values for effective route source.

const (
	// EffectiveRouteSourceDefault ...
	EffectiveRouteSourceDefault EffectiveRouteSource = "Default"
	// EffectiveRouteSourceUnknown ...
	EffectiveRouteSourceUnknown EffectiveRouteSource = "Unknown"
	// EffectiveRouteSourceUser ...
	EffectiveRouteSourceUser EffectiveRouteSource = "User"
	// EffectiveRouteSourceVirtualNetworkGateway ...
	EffectiveRouteSourceVirtualNetworkGateway EffectiveRouteSource = "VirtualNetworkGateway"
)

func PossibleEffectiveRouteSourceValues

func PossibleEffectiveRouteSourceValues() []EffectiveRouteSource

PossibleEffectiveRouteSourceValues returns an array of possible values for the EffectiveRouteSource const type.

type EffectiveRouteState

type EffectiveRouteState string

EffectiveRouteState enumerates the values for effective route state.

const (
	// Active ...
	Active EffectiveRouteState = "Active"
	// Invalid ...
	Invalid EffectiveRouteState = "Invalid"
)

func PossibleEffectiveRouteStateValues

func PossibleEffectiveRouteStateValues() []EffectiveRouteState

PossibleEffectiveRouteStateValues returns an array of possible values for the EffectiveRouteState const type.

type EffectiveSecurityRuleProtocol

type EffectiveSecurityRuleProtocol string

EffectiveSecurityRuleProtocol enumerates the values for effective security rule protocol.

const (
	// EffectiveSecurityRuleProtocolAll ...
	EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All"
	// EffectiveSecurityRuleProtocolTCP ...
	EffectiveSecurityRuleProtocolTCP EffectiveSecurityRuleProtocol = "Tcp"
	// EffectiveSecurityRuleProtocolUDP ...
	EffectiveSecurityRuleProtocolUDP EffectiveSecurityRuleProtocol = "Udp"
)

func PossibleEffectiveSecurityRuleProtocolValues

func PossibleEffectiveSecurityRuleProtocolValues() []EffectiveSecurityRuleProtocol

PossibleEffectiveSecurityRuleProtocolValues returns an array of possible values for the EffectiveSecurityRuleProtocol const type.

type EndpointServiceResult

type EndpointServiceResult struct {
	// Name - READ-ONLY; Name of the endpoint service.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the endpoint service.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

EndpointServiceResult endpoint service.

type EndpointServicesListResult

type EndpointServicesListResult struct {
	autorest.Response `json:"-"`
	// Value - List of available endpoint services in a region.
	Value *[]EndpointServiceResult `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

EndpointServicesListResult response for the ListAvailableEndpointServices API service call.

func (EndpointServicesListResult) IsEmpty

func (eslr EndpointServicesListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EndpointServicesListResultIterator

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

EndpointServicesListResultIterator provides access to a complete listing of EndpointServiceResult values.

func NewEndpointServicesListResultIterator

func NewEndpointServicesListResultIterator(page EndpointServicesListResultPage) EndpointServicesListResultIterator

Creates a new instance of the EndpointServicesListResultIterator type.

func (*EndpointServicesListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EndpointServicesListResultIterator) NextWithContext

func (iter *EndpointServicesListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EndpointServicesListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (EndpointServicesListResultIterator) Response

Response returns the raw server response from the last page request.

func (EndpointServicesListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EndpointServicesListResultPage

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

EndpointServicesListResultPage contains a page of EndpointServiceResult values.

func NewEndpointServicesListResultPage

func NewEndpointServicesListResultPage(getNextPage func(context.Context, EndpointServicesListResult) (EndpointServicesListResult, error)) EndpointServicesListResultPage

Creates a new instance of the EndpointServicesListResultPage type.

func (*EndpointServicesListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EndpointServicesListResultPage) NextWithContext

func (page *EndpointServicesListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EndpointServicesListResultPage) NotDone

func (page EndpointServicesListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EndpointServicesListResultPage) Response

Response returns the raw server response from the last page request.

func (EndpointServicesListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type Error

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

Error common error representation.

type ErrorDetails

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

ErrorDetails common error details representation.

type ErrorResponse

type ErrorResponse struct {
	// Error - The error details object.
	Error *ErrorDetails `json:"error,omitempty"`
}

ErrorResponse the error object.

type EvaluatedNetworkSecurityGroup

type EvaluatedNetworkSecurityGroup struct {
	// NetworkSecurityGroupID - Network security group ID.
	NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty"`
	// AppliedTo - Resource ID of nic or subnet to which network security group is applied.
	AppliedTo *string `json:"appliedTo,omitempty"`
	// MatchedRule - Matched network security rule.
	MatchedRule *MatchedRule `json:"matchedRule,omitempty"`
	// RulesEvaluationResult - READ-ONLY; List of network security rules evaluation results.
	RulesEvaluationResult *[]SecurityRulesEvaluationResult `json:"rulesEvaluationResult,omitempty"`
}

EvaluatedNetworkSecurityGroup results of network security group evaluation.

type EvaluationState

type EvaluationState string

EvaluationState enumerates the values for evaluation state.

const (
	// Completed ...
	Completed EvaluationState = "Completed"
	// InProgress ...
	InProgress EvaluationState = "InProgress"
	// NotStarted ...
	NotStarted EvaluationState = "NotStarted"
)

func PossibleEvaluationStateValues

func PossibleEvaluationStateValues() []EvaluationState

PossibleEvaluationStateValues returns an array of possible values for the EvaluationState const type.

type ExpressRouteCircuit

type ExpressRouteCircuit struct {
	autorest.Response `json:"-"`
	// Sku - The SKU.
	Sku *ExpressRouteCircuitSku `json:"sku,omitempty"`
	// ExpressRouteCircuitPropertiesFormat - Properties of the express route circuit.
	*ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRouteCircuit expressRouteCircuit resource.

func (ExpressRouteCircuit) MarshalJSON

func (erc ExpressRouteCircuit) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuit.

func (*ExpressRouteCircuit) UnmarshalJSON

func (erc *ExpressRouteCircuit) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuit struct.

type ExpressRouteCircuitArpTable

type ExpressRouteCircuitArpTable struct {
	// Age - Entry age in minutes.
	Age *int32 `json:"age,omitempty"`
	// Interface - Interface address.
	Interface *string `json:"interface,omitempty"`
	// IPAddress - The IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// MacAddress - The MAC address.
	MacAddress *string `json:"macAddress,omitempty"`
}

ExpressRouteCircuitArpTable the ARP table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitAuthorization

type ExpressRouteCircuitAuthorization struct {
	autorest.Response `json:"-"`
	// AuthorizationPropertiesFormat - Properties of the express route circuit authorization.
	*AuthorizationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitAuthorization authorization in an ExpressRouteCircuit resource.

func (ExpressRouteCircuitAuthorization) MarshalJSON

func (erca ExpressRouteCircuitAuthorization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitAuthorization.

func (*ExpressRouteCircuitAuthorization) UnmarshalJSON

func (erca *ExpressRouteCircuitAuthorization) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitAuthorization struct.

type ExpressRouteCircuitAuthorizationsClient

type ExpressRouteCircuitAuthorizationsClient struct {
	BaseClient
}

ExpressRouteCircuitAuthorizationsClient is the network Client

func NewExpressRouteCircuitAuthorizationsClient

func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (result ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an authorization in the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization. authorizationParameters - parameters supplied to the create or update express route circuit authorization operation.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (*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

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(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorizationsDeleteFuture, err error)

Delete deletes the specified authorization from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) DeletePreparer

func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*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(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error)

Get gets the specified authorization from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) GetPreparer

func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultPage, err error)

List gets all authorizations in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.

func (ExpressRouteCircuitAuthorizationsClient) ListComplete

func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitAuthorizationsClient) ListPreparer

func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(ctx context.Context, 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 ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture

type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitAuthorizationsDeleteFuture

type ExpressRouteCircuitAuthorizationsDeleteFuture struct {
	azure.Future
}

ExpressRouteCircuitAuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitAuthorizationsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitConnection

type ExpressRouteCircuitConnection struct {
	autorest.Response `json:"-"`
	// ExpressRouteCircuitConnectionPropertiesFormat - Properties of the express route circuit connection.
	*ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitConnection express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

func (ExpressRouteCircuitConnection) MarshalJSON

func (ercc ExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitConnection.

func (*ExpressRouteCircuitConnection) UnmarshalJSON

func (ercc *ExpressRouteCircuitConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitConnection struct.

type ExpressRouteCircuitConnectionListResult

type ExpressRouteCircuitConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - The global reach connection associated with Private Peering in an ExpressRoute Circuit.
	Value *[]ExpressRouteCircuitConnection `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitConnectionListResult response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.

func (ExpressRouteCircuitConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitConnectionListResultIterator

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

ExpressRouteCircuitConnectionListResultIterator provides access to a complete listing of ExpressRouteCircuitConnection values.

func NewExpressRouteCircuitConnectionListResultIterator

func NewExpressRouteCircuitConnectionListResultIterator(page ExpressRouteCircuitConnectionListResultPage) ExpressRouteCircuitConnectionListResultIterator

Creates a new instance of the ExpressRouteCircuitConnectionListResultIterator type.

func (*ExpressRouteCircuitConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitConnectionListResultIterator) NextWithContext

func (iter *ExpressRouteCircuitConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCircuitConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCircuitConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCircuitConnectionListResultPage

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

ExpressRouteCircuitConnectionListResultPage contains a page of ExpressRouteCircuitConnection values.

func NewExpressRouteCircuitConnectionListResultPage

Creates a new instance of the ExpressRouteCircuitConnectionListResultPage type.

func (*ExpressRouteCircuitConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitConnectionListResultPage) NextWithContext

func (page *ExpressRouteCircuitConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCircuitConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCircuitConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCircuitConnectionPropertiesFormat

type ExpressRouteCircuitConnectionPropertiesFormat struct {
	// ExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
	ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"`
	// PeerExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
	PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"`
	// AddressPrefix - /29 IP address space to carve out Customer addresses for tunnels.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// AuthorizationKey - The authorization key.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// CircuitConnectionStatus - Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected'
	CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route circuit connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ExpressRouteCircuitConnectionPropertiesFormat properties of the express route circuit connection.

type ExpressRouteCircuitConnectionsClient

type ExpressRouteCircuitConnectionsClient struct {
	BaseClient
}

ExpressRouteCircuitConnectionsClient is the network Client

func NewExpressRouteCircuitConnectionsClient

func NewExpressRouteCircuitConnectionsClient(subscriptionID string) ExpressRouteCircuitConnectionsClient

NewExpressRouteCircuitConnectionsClient creates an instance of the ExpressRouteCircuitConnectionsClient client.

func NewExpressRouteCircuitConnectionsClientWithBaseURI

func NewExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitConnectionsClient

NewExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the ExpressRouteCircuitConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdate

func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection) (result ExpressRouteCircuitConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a Express Route Circuit Connection in the specified express route circuits. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection. expressRouteCircuitConnectionParameters - parameters supplied to the create or update express route circuit connection operation.

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitConnection, err error)

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

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdateSender

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

func (ExpressRouteCircuitConnectionsClient) Delete

func (client ExpressRouteCircuitConnectionsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result ExpressRouteCircuitConnectionsDeleteFuture, err error)

Delete deletes the specified Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection.

func (ExpressRouteCircuitConnectionsClient) DeletePreparer

func (client ExpressRouteCircuitConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitConnectionsClient) DeleteResponder

func (client ExpressRouteCircuitConnectionsClient) 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 (ExpressRouteCircuitConnectionsClient) DeleteSender

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

func (ExpressRouteCircuitConnectionsClient) Get

func (client ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result ExpressRouteCircuitConnection, err error)

Get gets the specified Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection.

func (ExpressRouteCircuitConnectionsClient) GetPreparer

func (client ExpressRouteCircuitConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitConnectionsClient) GetResponder

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

func (ExpressRouteCircuitConnectionsClient) GetSender

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

func (ExpressRouteCircuitConnectionsClient) List

func (client ExpressRouteCircuitConnectionsClient) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitConnectionListResultPage, err error)

List gets all global reach connections associated with a private peering in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitConnectionsClient) ListComplete

func (client ExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitConnectionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitConnectionsClient) ListPreparer

func (client ExpressRouteCircuitConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitConnectionsClient) ListResponder

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

func (ExpressRouteCircuitConnectionsClient) ListSender

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

type ExpressRouteCircuitConnectionsCreateOrUpdateFuture

type ExpressRouteCircuitConnectionsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteCircuitConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitConnectionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitConnectionsDeleteFuture

type ExpressRouteCircuitConnectionsDeleteFuture struct {
	azure.Future
}

ExpressRouteCircuitConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitConnectionsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitListResult

type ExpressRouteCircuitListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ExpressRouteCircuits in a resource group.
	Value *[]ExpressRouteCircuit `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitListResult response for ListExpressRouteCircuit API service call.

func (ExpressRouteCircuitListResult) IsEmpty

func (erclr ExpressRouteCircuitListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitListResultIterator

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

ExpressRouteCircuitListResultIterator provides access to a complete listing of ExpressRouteCircuit values.

func NewExpressRouteCircuitListResultIterator

func NewExpressRouteCircuitListResultIterator(page ExpressRouteCircuitListResultPage) ExpressRouteCircuitListResultIterator

Creates a new instance of the ExpressRouteCircuitListResultIterator type.

func (*ExpressRouteCircuitListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitListResultIterator) NextWithContext

func (iter *ExpressRouteCircuitListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCircuitListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCircuitListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCircuitListResultPage

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

ExpressRouteCircuitListResultPage contains a page of ExpressRouteCircuit values.

func NewExpressRouteCircuitListResultPage

Creates a new instance of the ExpressRouteCircuitListResultPage type.

func (*ExpressRouteCircuitListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitListResultPage) NextWithContext

func (page *ExpressRouteCircuitListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCircuitListResultPage) NotDone

func (page ExpressRouteCircuitListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCircuitListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCircuitPeering

type ExpressRouteCircuitPeering struct {
	autorest.Response `json:"-"`
	// ExpressRouteCircuitPeeringPropertiesFormat - Properties of the express route circuit peering.
	*ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitPeering peering in an ExpressRouteCircuit resource.

func (ExpressRouteCircuitPeering) MarshalJSON

func (ercp ExpressRouteCircuitPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitPeering.

func (*ExpressRouteCircuitPeering) UnmarshalJSON

func (ercp *ExpressRouteCircuitPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitPeering struct.

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string

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

const (
	// Configured ...
	Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
	// Configuring ...
	Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
	// NotConfigured ...
	NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
	// ValidationNeeded ...
	ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
)

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues returns an array of possible values for the ExpressRouteCircuitPeeringAdvertisedPublicPrefixState const type.

type ExpressRouteCircuitPeeringConfig

type ExpressRouteCircuitPeeringConfig struct {
	// AdvertisedPublicPrefixes - The reference of AdvertisedPublicPrefixes.
	AdvertisedPublicPrefixes *[]string `json:"advertisedPublicPrefixes,omitempty"`
	// AdvertisedCommunities - The communities of bgp peering. Specified for microsoft peering.
	AdvertisedCommunities *[]string `json:"advertisedCommunities,omitempty"`
	// AdvertisedPublicPrefixesState - The advertised public prefix state of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'
	AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"`
	// LegacyMode - The legacy mode of the peering.
	LegacyMode *int32 `json:"legacyMode,omitempty"`
	// CustomerASN - The CustomerASN of the peering.
	CustomerASN *int32 `json:"customerASN,omitempty"`
	// RoutingRegistryName - The RoutingRegistryName of the configuration.
	RoutingRegistryName *string `json:"routingRegistryName,omitempty"`
}

ExpressRouteCircuitPeeringConfig specifies the peering configuration.

type ExpressRouteCircuitPeeringID

type ExpressRouteCircuitPeeringID struct {
	// ID - The ID of the ExpressRoute circuit peering.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitPeeringID expressRoute circuit peering identifier.

type ExpressRouteCircuitPeeringListResult

type ExpressRouteCircuitPeeringListResult struct {
	autorest.Response `json:"-"`
	// Value - The peerings in an express route circuit.
	Value *[]ExpressRouteCircuitPeering `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

func (ExpressRouteCircuitPeeringListResult) IsEmpty

func (ercplr ExpressRouteCircuitPeeringListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitPeeringListResultIterator

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

ExpressRouteCircuitPeeringListResultIterator provides access to a complete listing of ExpressRouteCircuitPeering values.

func NewExpressRouteCircuitPeeringListResultIterator

func NewExpressRouteCircuitPeeringListResultIterator(page ExpressRouteCircuitPeeringListResultPage) ExpressRouteCircuitPeeringListResultIterator

Creates a new instance of the ExpressRouteCircuitPeeringListResultIterator type.

func (*ExpressRouteCircuitPeeringListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitPeeringListResultIterator) NextWithContext

func (iter *ExpressRouteCircuitPeeringListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCircuitPeeringListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCircuitPeeringListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitPeeringListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCircuitPeeringListResultPage

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

ExpressRouteCircuitPeeringListResultPage contains a page of ExpressRouteCircuitPeering values.

func NewExpressRouteCircuitPeeringListResultPage

Creates a new instance of the ExpressRouteCircuitPeeringListResultPage type.

func (*ExpressRouteCircuitPeeringListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitPeeringListResultPage) NextWithContext

func (page *ExpressRouteCircuitPeeringListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCircuitPeeringListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCircuitPeeringListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitPeeringListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCircuitPeeringPropertiesFormat

type ExpressRouteCircuitPeeringPropertiesFormat struct {
	// PeeringType - The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
	PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"`
	// State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled'
	State ExpressRoutePeeringState `json:"state,omitempty"`
	// AzureASN - The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty"`
	// PeerASN - The peer ASN.
	PeerASN *int64 `json:"peerASN,omitempty"`
	// PrimaryPeerAddressPrefix - The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
	// SecondaryPeerAddressPrefix - The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
	// PrimaryAzurePort - The primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
	// SecondaryAzurePort - The secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
	// SharedKey - The shared key.
	SharedKey *string `json:"sharedKey,omitempty"`
	// VlanID - The VLAN ID.
	VlanID *int32 `json:"vlanId,omitempty"`
	// MicrosoftPeeringConfig - The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	// Stats - The peering stats of express route circuit.
	Stats *ExpressRouteCircuitStats `json:"stats,omitempty"`
	// ProvisioningState - The provisioning state of the express route circuit peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// LastModifiedBy - Who was the last to modify the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// RouteFilter - The reference of the RouteFilter resource.
	RouteFilter *SubResource `json:"routeFilter,omitempty"`
	// Ipv6PeeringConfig - The IPv6 peering configuration.
	Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
	// ExpressRouteConnection - The ExpressRoute connection.
	ExpressRouteConnection *ExpressRouteConnectionID `json:"expressRouteConnection,omitempty"`
	// Connections - The list of circuit connections associated with Azure Private Peering for this circuit.
	Connections *[]ExpressRouteCircuitConnection `json:"connections,omitempty"`
	// PeeredConnections - READ-ONLY; The list of peered circuit connections associated with Azure Private Peering for this circuit.
	PeeredConnections *[]PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty"`
}

ExpressRouteCircuitPeeringPropertiesFormat properties of the express route circuit peering.

type ExpressRouteCircuitPeeringState

type ExpressRouteCircuitPeeringState string

ExpressRouteCircuitPeeringState enumerates the values for express route circuit peering state.

const (
	// ExpressRouteCircuitPeeringStateDisabled ...
	ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = "Disabled"
	// ExpressRouteCircuitPeeringStateEnabled ...
	ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = "Enabled"
)

func PossibleExpressRouteCircuitPeeringStateValues

func PossibleExpressRouteCircuitPeeringStateValues() []ExpressRouteCircuitPeeringState

PossibleExpressRouteCircuitPeeringStateValues returns an array of possible values for the ExpressRouteCircuitPeeringState const type.

type ExpressRouteCircuitPeeringsClient

type ExpressRouteCircuitPeeringsClient struct {
	BaseClient
}

ExpressRouteCircuitPeeringsClient is the network Client

func NewExpressRouteCircuitPeeringsClient

func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.

func NewExpressRouteCircuitPeeringsClientWithBaseURI

func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdate

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a peering in the specified express route circuits. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. peeringParameters - parameters supplied to the create or update express route circuit peering operation.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (*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

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(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeeringsDeleteFuture, err error)

Delete deletes the specified peering from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitPeeringsClient) DeletePreparer

func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*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

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(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error)

Get gets the specified peering for the express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitPeeringsClient) GetPreparer

func (client ExpressRouteCircuitPeeringsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error)

List gets all peerings in a specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.

func (ExpressRouteCircuitPeeringsClient) ListComplete

func (client ExpressRouteCircuitPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitPeeringsClient) ListPreparer

func (client ExpressRouteCircuitPeeringsClient) ListPreparer(ctx context.Context, 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 ExpressRouteCircuitPeeringsCreateOrUpdateFuture

type ExpressRouteCircuitPeeringsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteCircuitPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitPeeringsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitPeeringsDeleteFuture

type ExpressRouteCircuitPeeringsDeleteFuture struct {
	azure.Future
}

ExpressRouteCircuitPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitPeeringsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitPropertiesFormat

type ExpressRouteCircuitPropertiesFormat struct {
	// AllowClassicOperations - Allow classic operations.
	AllowClassicOperations *bool `json:"allowClassicOperations,omitempty"`
	// CircuitProvisioningState - The CircuitProvisioningState state of the resource.
	CircuitProvisioningState *string `json:"circuitProvisioningState,omitempty"`
	// ServiceProviderProvisioningState - The ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
	ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`
	// Authorizations - The list of authorizations.
	Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"`
	// Peerings - The list of peerings.
	Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
	// ServiceKey - The ServiceKey.
	ServiceKey *string `json:"serviceKey,omitempty"`
	// ServiceProviderNotes - The ServiceProviderNotes.
	ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`
	// ServiceProviderProperties - The ServiceProviderProperties.
	ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`
	// ExpressRoutePort - The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.
	ExpressRoutePort *SubResource `json:"expressRoutePort,omitempty"`
	// BandwidthInGbps - The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.
	BandwidthInGbps *float64 `json:"bandwidthInGbps,omitempty"`
	// Stag - READ-ONLY; The identifier of the circuit traffic. Outer tag for QinQ encapsulation.
	Stag *int32 `json:"stag,omitempty"`
	// ProvisioningState - The provisioning state of the express route circuit resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// GlobalReachEnabled - Flag denoting Global reach status.
	GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"`
}

ExpressRouteCircuitPropertiesFormat properties of ExpressRouteCircuit.

type ExpressRouteCircuitReference

type ExpressRouteCircuitReference struct {
	// ID - Corresponding Express Route Circuit Id.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitReference reference to an express route circuit.

type ExpressRouteCircuitRoutesTable

type ExpressRouteCircuitRoutesTable struct {
	// NetworkProperty - IP address of a network entity.
	NetworkProperty *string `json:"network,omitempty"`
	// NextHop - NextHop address.
	NextHop *string `json:"nextHop,omitempty"`
	// LocPrf - Local preference value as set with the set local-preference route-map configuration command.
	LocPrf *string `json:"locPrf,omitempty"`
	// Weight - Route Weight.
	Weight *int32 `json:"weight,omitempty"`
	// Path - Autonomous system paths to the destination network.
	Path *string `json:"path,omitempty"`
}

ExpressRouteCircuitRoutesTable the routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitRoutesTableSummary

type ExpressRouteCircuitRoutesTableSummary struct {
	// Neighbor - IP address of the neighbor.
	Neighbor *string `json:"neighbor,omitempty"`
	// V - BGP version number spoken to the neighbor.
	V *int32 `json:"v,omitempty"`
	// As - Autonomous system number.
	As *int32 `json:"as,omitempty"`
	// UpDown - The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.
	UpDown *string `json:"upDown,omitempty"`
	// StatePfxRcd - Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
	StatePfxRcd *string `json:"statePfxRcd,omitempty"`
}

ExpressRouteCircuitRoutesTableSummary the routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitServiceProviderProperties

type ExpressRouteCircuitServiceProviderProperties struct {
	// ServiceProviderName - The serviceProviderName.
	ServiceProviderName *string `json:"serviceProviderName,omitempty"`
	// PeeringLocation - The peering location.
	PeeringLocation *string `json:"peeringLocation,omitempty"`
	// BandwidthInMbps - The BandwidthInMbps.
	BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"`
}

ExpressRouteCircuitServiceProviderProperties contains ServiceProviderProperties in an ExpressRouteCircuit.

type ExpressRouteCircuitSku

type ExpressRouteCircuitSku struct {
	// Name - The name of the SKU.
	Name *string `json:"name,omitempty"`
	// Tier - The tier of the SKU. Possible values include: 'ExpressRouteCircuitSkuTierStandard', 'ExpressRouteCircuitSkuTierPremium', 'ExpressRouteCircuitSkuTierBasic', 'ExpressRouteCircuitSkuTierLocal'
	Tier ExpressRouteCircuitSkuTier `json:"tier,omitempty"`
	// Family - The family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData'
	Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"`
}

ExpressRouteCircuitSku contains SKU in an ExpressRouteCircuit.

type ExpressRouteCircuitSkuFamily

type ExpressRouteCircuitSkuFamily string

ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.

const (
	// MeteredData ...
	MeteredData ExpressRouteCircuitSkuFamily = "MeteredData"
	// UnlimitedData ...
	UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData"
)

func PossibleExpressRouteCircuitSkuFamilyValues

func PossibleExpressRouteCircuitSkuFamilyValues() []ExpressRouteCircuitSkuFamily

PossibleExpressRouteCircuitSkuFamilyValues returns an array of possible values for the ExpressRouteCircuitSkuFamily const type.

type ExpressRouteCircuitSkuTier

type ExpressRouteCircuitSkuTier string

ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.

const (
	// ExpressRouteCircuitSkuTierBasic ...
	ExpressRouteCircuitSkuTierBasic ExpressRouteCircuitSkuTier = "Basic"
	// ExpressRouteCircuitSkuTierLocal ...
	ExpressRouteCircuitSkuTierLocal ExpressRouteCircuitSkuTier = "Local"
	// ExpressRouteCircuitSkuTierPremium ...
	ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium"
	// ExpressRouteCircuitSkuTierStandard ...
	ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard"
)

func PossibleExpressRouteCircuitSkuTierValues

func PossibleExpressRouteCircuitSkuTierValues() []ExpressRouteCircuitSkuTier

PossibleExpressRouteCircuitSkuTierValues returns an array of possible values for the ExpressRouteCircuitSkuTier const type.

type ExpressRouteCircuitStats

type ExpressRouteCircuitStats struct {
	autorest.Response `json:"-"`
	// PrimarybytesIn - The Primary BytesIn of the peering.
	PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"`
	// PrimarybytesOut - The primary BytesOut of the peering.
	PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"`
	// SecondarybytesIn - The secondary BytesIn of the peering.
	SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"`
	// SecondarybytesOut - The secondary BytesOut of the peering.
	SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"`
}

ExpressRouteCircuitStats contains stats associated with the peering.

type ExpressRouteCircuitsArpTableListResult

type ExpressRouteCircuitsArpTableListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of the ARP tables.
	Value *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

type ExpressRouteCircuitsClient

type ExpressRouteCircuitsClient struct {
	BaseClient
}

ExpressRouteCircuitsClient is the network Client

func NewExpressRouteCircuitsClient

func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.

func NewExpressRouteCircuitsClientWithBaseURI

func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitsClient) CreateOrUpdate

func (client ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (result ExpressRouteCircuitsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to the create or update express route circuit operation.

func (ExpressRouteCircuitsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (*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) (future ExpressRouteCircuitsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error)

Delete deletes the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.

func (ExpressRouteCircuitsClient) DeletePreparer

func (client ExpressRouteCircuitsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string) (*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) (future ExpressRouteCircuitsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)

Get gets information about the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of express route circuit.

func (ExpressRouteCircuitsClient) GetPeeringStats

func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error)

GetPeeringStats gets all stats from an express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitsClient) GetPeeringStatsPreparer

func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)

GetStats gets all the stats from an express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.

func (ExpressRouteCircuitsClient) GetStatsPreparer

func (client ExpressRouteCircuitsClient) GetStatsPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error)

List gets all the express route circuits in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ExpressRouteCircuitsClient) ListAll

ListAll gets all the express route circuits in a subscription.

func (ExpressRouteCircuitsClient) ListAllComplete

func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (result ExpressRouteCircuitListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitsClient) ListAllPreparer

func (client ExpressRouteCircuitsClient) ListAllPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListArpTableFuture, err error)

ListArpTable gets the currently advertised ARP table associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListArpTablePreparer

func (client ExpressRouteCircuitsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*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) (future ExpressRouteCircuitsListArpTableFuture, err error)

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

func (ExpressRouteCircuitsClient) ListComplete

func (client ExpressRouteCircuitsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitsClient) ListPreparer

func (client ExpressRouteCircuitsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableFuture, err error)

ListRoutesTable gets the currently advertised routes table associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTablePreparer

func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*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) (future ExpressRouteCircuitsListRoutesTableFuture, err 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(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)

ListRoutesTableSummary gets the currently advertised routes table summary associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*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) (future ExpressRouteCircuitsListRoutesTableSummaryFuture, err 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.

func (ExpressRouteCircuitsClient) UpdateTags

func (client ExpressRouteCircuitsClient) UpdateTags(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (result ExpressRouteCircuitsUpdateTagsFuture, err error)

UpdateTags updates an express route circuit tags. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to update express route circuit tags.

func (ExpressRouteCircuitsClient) UpdateTagsPreparer

func (client ExpressRouteCircuitsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ExpressRouteCircuitsClient) UpdateTagsResponder

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

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) UpdateTagsSender

func (client ExpressRouteCircuitsClient) UpdateTagsSender(req *http.Request) (future ExpressRouteCircuitsUpdateTagsFuture, err error)

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

type ExpressRouteCircuitsCreateOrUpdateFuture

type ExpressRouteCircuitsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteCircuitsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitsDeleteFuture

type ExpressRouteCircuitsDeleteFuture struct {
	azure.Future
}

ExpressRouteCircuitsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitsListArpTableFuture

type ExpressRouteCircuitsListArpTableFuture struct {
	azure.Future
}

ExpressRouteCircuitsListArpTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitsListArpTableFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitsListRoutesTableFuture

type ExpressRouteCircuitsListRoutesTableFuture struct {
	azure.Future
}

ExpressRouteCircuitsListRoutesTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitsListRoutesTableFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitsListRoutesTableSummaryFuture

type ExpressRouteCircuitsListRoutesTableSummaryFuture struct {
	azure.Future
}

ExpressRouteCircuitsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitsListRoutesTableSummaryFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCircuitsRoutesTableListResult

type ExpressRouteCircuitsRoutesTableListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of routes table.
	Value *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

type ExpressRouteCircuitsRoutesTableSummaryListResult

type ExpressRouteCircuitsRoutesTableSummaryListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of the routes table.
	Value *[]ExpressRouteCircuitRoutesTableSummary `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

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

type ExpressRouteCircuitsUpdateTagsFuture

type ExpressRouteCircuitsUpdateTagsFuture struct {
	azure.Future
}

ExpressRouteCircuitsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteConnection

type ExpressRouteConnection struct {
	autorest.Response `json:"-"`
	// ExpressRouteConnectionProperties - Properties of the express route connection.
	*ExpressRouteConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource.
	Name *string `json:"name,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteConnection expressRouteConnection resource.

func (ExpressRouteConnection) MarshalJSON

func (erc ExpressRouteConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteConnection.

func (*ExpressRouteConnection) UnmarshalJSON

func (erc *ExpressRouteConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteConnection struct.

type ExpressRouteConnectionID

type ExpressRouteConnectionID struct {
	// ID - READ-ONLY; The ID of the ExpressRouteConnection.
	ID *string `json:"id,omitempty"`
}

ExpressRouteConnectionID the ID of the ExpressRouteConnection.

type ExpressRouteConnectionList

type ExpressRouteConnectionList struct {
	autorest.Response `json:"-"`
	// Value - The list of ExpressRoute connections.
	Value *[]ExpressRouteConnection `json:"value,omitempty"`
}

ExpressRouteConnectionList expressRouteConnection list.

type ExpressRouteConnectionProperties

type ExpressRouteConnectionProperties struct {
	// ProvisioningState - The provisioning state of the express route connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ExpressRouteCircuitPeering - The ExpressRoute circuit peering.
	ExpressRouteCircuitPeering *ExpressRouteCircuitPeeringID `json:"expressRouteCircuitPeering,omitempty"`
	// AuthorizationKey - Authorization key to establish the connection.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// RoutingWeight - The routing weight associated to the connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`
}

ExpressRouteConnectionProperties properties of the ExpressRouteConnection subresource.

type ExpressRouteConnectionsClient

type ExpressRouteConnectionsClient struct {
	BaseClient
}

ExpressRouteConnectionsClient is the network Client

func NewExpressRouteConnectionsClient

func NewExpressRouteConnectionsClient(subscriptionID string) ExpressRouteConnectionsClient

NewExpressRouteConnectionsClient creates an instance of the ExpressRouteConnectionsClient client.

func NewExpressRouteConnectionsClientWithBaseURI

func NewExpressRouteConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteConnectionsClient

NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteConnectionsClient) CreateOrUpdate

func (client ExpressRouteConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection) (result ExpressRouteConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the connection subresource. putExpressRouteConnectionParameters - parameters required in an ExpressRouteConnection PUT operation.

func (ExpressRouteConnectionsClient) CreateOrUpdatePreparer

func (client ExpressRouteConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteConnectionsClient) CreateOrUpdateResponder

func (client ExpressRouteConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteConnection, err error)

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

func (ExpressRouteConnectionsClient) CreateOrUpdateSender

func (client ExpressRouteConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteConnectionsCreateOrUpdateFuture, err error)

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

func (ExpressRouteConnectionsClient) Delete

func (client ExpressRouteConnectionsClient) Delete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (result ExpressRouteConnectionsDeleteFuture, err error)

Delete deletes a connection to a ExpressRoute circuit. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the connection subresource.

func (ExpressRouteConnectionsClient) DeletePreparer

func (client ExpressRouteConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteConnectionsClient) DeleteResponder

func (client ExpressRouteConnectionsClient) 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 (ExpressRouteConnectionsClient) DeleteSender

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

func (ExpressRouteConnectionsClient) Get

func (client ExpressRouteConnectionsClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (result ExpressRouteConnection, err error)

Get gets the specified ExpressRouteConnection. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the ExpressRoute connection.

func (ExpressRouteConnectionsClient) GetPreparer

func (client ExpressRouteConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteConnectionsClient) GetResponder

func (client ExpressRouteConnectionsClient) GetResponder(resp *http.Response) (result ExpressRouteConnection, err error)

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

func (ExpressRouteConnectionsClient) GetSender

func (client ExpressRouteConnectionsClient) 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 (ExpressRouteConnectionsClient) List

func (client ExpressRouteConnectionsClient) List(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteConnectionList, err error)

List lists ExpressRouteConnections. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.

func (ExpressRouteConnectionsClient) ListPreparer

func (client ExpressRouteConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteConnectionsClient) ListResponder

func (client ExpressRouteConnectionsClient) ListResponder(resp *http.Response) (result ExpressRouteConnectionList, err error)

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

func (ExpressRouteConnectionsClient) ListSender

func (client ExpressRouteConnectionsClient) 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 ExpressRouteConnectionsCreateOrUpdateFuture

type ExpressRouteConnectionsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteConnectionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteConnectionsDeleteFuture

type ExpressRouteConnectionsDeleteFuture struct {
	azure.Future
}

ExpressRouteConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteConnectionsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnection

type ExpressRouteCrossConnection struct {
	autorest.Response `json:"-"`
	// ExpressRouteCrossConnectionProperties - Properties of the express route cross connection.
	*ExpressRouteCrossConnectionProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRouteCrossConnection expressRouteCrossConnection resource.

func (ExpressRouteCrossConnection) MarshalJSON

func (ercc ExpressRouteCrossConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnection.

func (*ExpressRouteCrossConnection) UnmarshalJSON

func (ercc *ExpressRouteCrossConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCrossConnection struct.

type ExpressRouteCrossConnectionListResult

type ExpressRouteCrossConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ExpressRouteCrossConnection resources.
	Value *[]ExpressRouteCrossConnection `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCrossConnectionListResult response for ListExpressRouteCrossConnection API service call.

func (ExpressRouteCrossConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCrossConnectionListResultIterator

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

ExpressRouteCrossConnectionListResultIterator provides access to a complete listing of ExpressRouteCrossConnection values.

func NewExpressRouteCrossConnectionListResultIterator

func NewExpressRouteCrossConnectionListResultIterator(page ExpressRouteCrossConnectionListResultPage) ExpressRouteCrossConnectionListResultIterator

Creates a new instance of the ExpressRouteCrossConnectionListResultIterator type.

func (*ExpressRouteCrossConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionListResultIterator) NextWithContext

func (iter *ExpressRouteCrossConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCrossConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCrossConnectionListResultPage

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

ExpressRouteCrossConnectionListResultPage contains a page of ExpressRouteCrossConnection values.

func NewExpressRouteCrossConnectionListResultPage

Creates a new instance of the ExpressRouteCrossConnectionListResultPage type.

func (*ExpressRouteCrossConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionListResultPage) NextWithContext

func (page *ExpressRouteCrossConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCrossConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCrossConnectionPeering

type ExpressRouteCrossConnectionPeering struct {
	autorest.Response `json:"-"`
	// ExpressRouteCrossConnectionPeeringProperties - Properties of the express route cross connection peering.
	*ExpressRouteCrossConnectionPeeringProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCrossConnectionPeering peering in an ExpressRoute Cross Connection resource.

func (ExpressRouteCrossConnectionPeering) MarshalJSON

func (erccp ExpressRouteCrossConnectionPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeering.

func (*ExpressRouteCrossConnectionPeering) UnmarshalJSON

func (erccp *ExpressRouteCrossConnectionPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCrossConnectionPeering struct.

type ExpressRouteCrossConnectionPeeringList

type ExpressRouteCrossConnectionPeeringList struct {
	autorest.Response `json:"-"`
	// Value - The peerings in an express route cross connection.
	Value *[]ExpressRouteCrossConnectionPeering `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCrossConnectionPeeringList response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.

func (ExpressRouteCrossConnectionPeeringList) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCrossConnectionPeeringListIterator

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

ExpressRouteCrossConnectionPeeringListIterator provides access to a complete listing of ExpressRouteCrossConnectionPeering values.

func NewExpressRouteCrossConnectionPeeringListIterator

func NewExpressRouteCrossConnectionPeeringListIterator(page ExpressRouteCrossConnectionPeeringListPage) ExpressRouteCrossConnectionPeeringListIterator

Creates a new instance of the ExpressRouteCrossConnectionPeeringListIterator type.

func (*ExpressRouteCrossConnectionPeeringListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionPeeringListIterator) NextWithContext

func (iter *ExpressRouteCrossConnectionPeeringListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCrossConnectionPeeringListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionPeeringListIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionPeeringListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCrossConnectionPeeringListPage

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

ExpressRouteCrossConnectionPeeringListPage contains a page of ExpressRouteCrossConnectionPeering values.

func NewExpressRouteCrossConnectionPeeringListPage

Creates a new instance of the ExpressRouteCrossConnectionPeeringListPage type.

func (*ExpressRouteCrossConnectionPeeringListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionPeeringListPage) NextWithContext

func (page *ExpressRouteCrossConnectionPeeringListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCrossConnectionPeeringListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionPeeringListPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionPeeringListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCrossConnectionPeeringProperties

type ExpressRouteCrossConnectionPeeringProperties struct {
	// PeeringType - The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
	PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"`
	// State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled'
	State ExpressRoutePeeringState `json:"state,omitempty"`
	// AzureASN - READ-ONLY; The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty"`
	// PeerASN - The peer ASN.
	PeerASN *int64 `json:"peerASN,omitempty"`
	// PrimaryPeerAddressPrefix - The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
	// SecondaryPeerAddressPrefix - The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
	// PrimaryAzurePort - READ-ONLY; The primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
	// SecondaryAzurePort - READ-ONLY; The secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
	// SharedKey - The shared key.
	SharedKey *string `json:"sharedKey,omitempty"`
	// VlanID - The VLAN ID.
	VlanID *int32 `json:"vlanId,omitempty"`
	// MicrosoftPeeringConfig - The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route cross connection peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// LastModifiedBy - Who was the last to modify the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Ipv6PeeringConfig - The IPv6 peering configuration.
	Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
}

ExpressRouteCrossConnectionPeeringProperties properties of express route cross connection peering.

type ExpressRouteCrossConnectionPeeringsClient

type ExpressRouteCrossConnectionPeeringsClient struct {
	BaseClient
}

ExpressRouteCrossConnectionPeeringsClient is the network Client

func NewExpressRouteCrossConnectionPeeringsClient

func NewExpressRouteCrossConnectionPeeringsClient(subscriptionID string) ExpressRouteCrossConnectionPeeringsClient

NewExpressRouteCrossConnectionPeeringsClient creates an instance of the ExpressRouteCrossConnectionPeeringsClient client.

func NewExpressRouteCrossConnectionPeeringsClientWithBaseURI

func NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionPeeringsClient

NewExpressRouteCrossConnectionPeeringsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdate

func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, peeringParameters ExpressRouteCrossConnectionPeering) (result ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a peering in the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. peeringParameters - parameters supplied to the create or update ExpressRouteCrossConnection peering operation.

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdatePreparer

func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, peeringParameters ExpressRouteCrossConnectionPeering) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateResponder

func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCrossConnectionPeering, err error)

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

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateSender

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

func (ExpressRouteCrossConnectionPeeringsClient) Delete

func (client ExpressRouteCrossConnectionPeeringsClient) Delete(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result ExpressRouteCrossConnectionPeeringsDeleteFuture, err error)

Delete deletes the specified peering from the ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering.

func (ExpressRouteCrossConnectionPeeringsClient) DeletePreparer

func (client ExpressRouteCrossConnectionPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCrossConnectionPeeringsClient) DeleteResponder

func (client ExpressRouteCrossConnectionPeeringsClient) 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 (ExpressRouteCrossConnectionPeeringsClient) DeleteSender

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

func (ExpressRouteCrossConnectionPeeringsClient) Get

func (client ExpressRouteCrossConnectionPeeringsClient) Get(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result ExpressRouteCrossConnectionPeering, err error)

Get gets the specified peering for the ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering.

func (ExpressRouteCrossConnectionPeeringsClient) GetPreparer

func (client ExpressRouteCrossConnectionPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCrossConnectionPeeringsClient) GetResponder

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

func (ExpressRouteCrossConnectionPeeringsClient) GetSender

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

func (ExpressRouteCrossConnectionPeeringsClient) List

func (client ExpressRouteCrossConnectionPeeringsClient) List(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnectionPeeringListPage, err error)

List gets all peerings in a specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection.

func (ExpressRouteCrossConnectionPeeringsClient) ListComplete

func (client ExpressRouteCrossConnectionPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnectionPeeringListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCrossConnectionPeeringsClient) ListPreparer

func (client ExpressRouteCrossConnectionPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCrossConnectionPeeringsClient) ListResponder

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

func (ExpressRouteCrossConnectionPeeringsClient) ListSender

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

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnectionPeeringsDeleteFuture

type ExpressRouteCrossConnectionPeeringsDeleteFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionPeeringsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnectionProperties

type ExpressRouteCrossConnectionProperties struct {
	// PrimaryAzurePort - READ-ONLY; The name of the primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
	// SecondaryAzurePort - READ-ONLY; The name of the secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
	// STag - READ-ONLY; The identifier of the circuit traffic.
	STag *int32 `json:"sTag,omitempty"`
	// PeeringLocation - The peering location of the ExpressRoute circuit.
	PeeringLocation *string `json:"peeringLocation,omitempty"`
	// BandwidthInMbps - The circuit bandwidth In Mbps.
	BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"`
	// ExpressRouteCircuit - The ExpressRouteCircuit.
	ExpressRouteCircuit *ExpressRouteCircuitReference `json:"expressRouteCircuit,omitempty"`
	// ServiceProviderProvisioningState - The provisioning state of the circuit in the connectivity provider system. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning'
	ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`
	// ServiceProviderNotes - Additional read only notes set by the connectivity provider.
	ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route cross connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Peerings - The list of peerings.
	Peerings *[]ExpressRouteCrossConnectionPeering `json:"peerings,omitempty"`
}

ExpressRouteCrossConnectionProperties properties of ExpressRouteCrossConnection.

type ExpressRouteCrossConnectionRoutesTableSummary

type ExpressRouteCrossConnectionRoutesTableSummary struct {
	// Neighbor - IP address of Neighbor router.
	Neighbor *string `json:"neighbor,omitempty"`
	// Asn - Autonomous system number.
	Asn *int32 `json:"asn,omitempty"`
	// UpDown - The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.
	UpDown *string `json:"upDown,omitempty"`
	// StateOrPrefixesReceived - Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
	StateOrPrefixesReceived *string `json:"stateOrPrefixesReceived,omitempty"`
}

ExpressRouteCrossConnectionRoutesTableSummary the routes table associated with the ExpressRouteCircuit.

type ExpressRouteCrossConnectionsClient

type ExpressRouteCrossConnectionsClient struct {
	BaseClient
}

ExpressRouteCrossConnectionsClient is the network Client

func NewExpressRouteCrossConnectionsClient

func NewExpressRouteCrossConnectionsClient(subscriptionID string) ExpressRouteCrossConnectionsClient

NewExpressRouteCrossConnectionsClient creates an instance of the ExpressRouteCrossConnectionsClient client.

func NewExpressRouteCrossConnectionsClientWithBaseURI

func NewExpressRouteCrossConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionsClient

NewExpressRouteCrossConnectionsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCrossConnectionsClient) CreateOrUpdate

func (client ExpressRouteCrossConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, crossConnectionName string, parameters ExpressRouteCrossConnection) (result ExpressRouteCrossConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate update the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. parameters - parameters supplied to the update express route crossConnection operation.

func (ExpressRouteCrossConnectionsClient) CreateOrUpdatePreparer

func (client ExpressRouteCrossConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, parameters ExpressRouteCrossConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCrossConnectionsClient) CreateOrUpdateResponder

func (client ExpressRouteCrossConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCrossConnection, err error)

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

func (ExpressRouteCrossConnectionsClient) CreateOrUpdateSender

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

func (ExpressRouteCrossConnectionsClient) Get

func (client ExpressRouteCrossConnectionsClient) Get(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnection, err error)

Get gets details about the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group (peering location of the circuit). crossConnectionName - the name of the ExpressRouteCrossConnection (service key of the circuit).

func (ExpressRouteCrossConnectionsClient) GetPreparer

func (client ExpressRouteCrossConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCrossConnectionsClient) GetResponder

func (client ExpressRouteCrossConnectionsClient) GetResponder(resp *http.Response) (result ExpressRouteCrossConnection, err error)

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

func (ExpressRouteCrossConnectionsClient) GetSender

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

func (ExpressRouteCrossConnectionsClient) List

List retrieves all the ExpressRouteCrossConnections in a subscription.

func (ExpressRouteCrossConnectionsClient) ListArpTable

func (client ExpressRouteCrossConnectionsClient) ListArpTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result ExpressRouteCrossConnectionsListArpTableFuture, err error)

ListArpTable gets the currently advertised ARP table associated with the express route cross connection in a resource group. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCrossConnectionsClient) ListArpTablePreparer

func (client ExpressRouteCrossConnectionsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (*http.Request, error)

ListArpTablePreparer prepares the ListArpTable request.

func (ExpressRouteCrossConnectionsClient) ListArpTableResponder

func (client ExpressRouteCrossConnectionsClient) 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 (ExpressRouteCrossConnectionsClient) ListArpTableSender

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

func (ExpressRouteCrossConnectionsClient) ListByResourceGroup

func (client ExpressRouteCrossConnectionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ExpressRouteCrossConnectionListResultPage, err error)

ListByResourceGroup retrieves all the ExpressRouteCrossConnections in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ExpressRouteCrossConnectionsClient) ListByResourceGroupComplete

func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCrossConnectionListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCrossConnectionsClient) ListByResourceGroupPreparer

func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ExpressRouteCrossConnectionsClient) ListByResourceGroupResponder

func (client ExpressRouteCrossConnectionsClient) ListByResourceGroupResponder(resp *http.Response) (result ExpressRouteCrossConnectionListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ExpressRouteCrossConnectionsClient) ListByResourceGroupSender

func (client ExpressRouteCrossConnectionsClient) 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 (ExpressRouteCrossConnectionsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCrossConnectionsClient) ListPreparer

func (client ExpressRouteCrossConnectionsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCrossConnectionsClient) ListResponder

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

func (ExpressRouteCrossConnectionsClient) ListRoutesTable

func (client ExpressRouteCrossConnectionsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result ExpressRouteCrossConnectionsListRoutesTableFuture, err error)

ListRoutesTable gets the currently advertised routes table associated with the express route cross connection in a resource group. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCrossConnectionsClient) ListRoutesTablePreparer

func (client ExpressRouteCrossConnectionsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (*http.Request, error)

ListRoutesTablePreparer prepares the ListRoutesTable request.

func (ExpressRouteCrossConnectionsClient) ListRoutesTableResponder

func (client ExpressRouteCrossConnectionsClient) 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 (ExpressRouteCrossConnectionsClient) ListRoutesTableSender

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

func (ExpressRouteCrossConnectionsClient) ListRoutesTableSummary

func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result ExpressRouteCrossConnectionsListRoutesTableSummaryFuture, err error)

ListRoutesTableSummary gets the route table summary associated with the express route cross connection in a resource group. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCrossConnectionsClient) ListRoutesTableSummaryPreparer

func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (*http.Request, error)

ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.

func (ExpressRouteCrossConnectionsClient) ListRoutesTableSummaryResponder

func (client ExpressRouteCrossConnectionsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCrossConnectionsRoutesTableSummaryListResult, err error)

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

func (ExpressRouteCrossConnectionsClient) ListRoutesTableSummarySender

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

func (ExpressRouteCrossConnectionsClient) ListSender

func (client ExpressRouteCrossConnectionsClient) 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 (ExpressRouteCrossConnectionsClient) UpdateTags

func (client ExpressRouteCrossConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, crossConnectionName string, crossConnectionParameters TagsObject) (result ExpressRouteCrossConnectionsUpdateTagsFuture, err error)

UpdateTags updates an express route cross connection tags. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the cross connection. crossConnectionParameters - parameters supplied to update express route cross connection tags.

func (ExpressRouteCrossConnectionsClient) UpdateTagsPreparer

func (client ExpressRouteCrossConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, crossConnectionParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ExpressRouteCrossConnectionsClient) UpdateTagsResponder

func (client ExpressRouteCrossConnectionsClient) UpdateTagsResponder(resp *http.Response) (result ExpressRouteCrossConnection, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ExpressRouteCrossConnectionsClient) UpdateTagsSender

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

type ExpressRouteCrossConnectionsCreateOrUpdateFuture

type ExpressRouteCrossConnectionsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnectionsListArpTableFuture

type ExpressRouteCrossConnectionsListArpTableFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionsListArpTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionsListArpTableFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnectionsListRoutesTableFuture

type ExpressRouteCrossConnectionsListRoutesTableFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionsListRoutesTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionsListRoutesTableFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnectionsListRoutesTableSummaryFuture

type ExpressRouteCrossConnectionsListRoutesTableSummaryFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionsListRoutesTableSummaryFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionsListRoutesTableSummaryFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteCrossConnectionsRoutesTableSummaryListResult

type ExpressRouteCrossConnectionsRoutesTableSummaryListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of the routes table.
	Value *[]ExpressRouteCrossConnectionRoutesTableSummary `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCrossConnectionsRoutesTableSummaryListResult response for ListRoutesTable associated with the Express Route Cross Connections.

type ExpressRouteCrossConnectionsUpdateTagsFuture

type ExpressRouteCrossConnectionsUpdateTagsFuture struct {
	azure.Future
}

ExpressRouteCrossConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteGateway

type ExpressRouteGateway struct {
	autorest.Response `json:"-"`
	// ExpressRouteGatewayProperties - Properties of the express route gateway.
	*ExpressRouteGatewayProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRouteGateway expressRoute gateway resource.

func (ExpressRouteGateway) MarshalJSON

func (erg ExpressRouteGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteGateway.

func (*ExpressRouteGateway) UnmarshalJSON

func (erg *ExpressRouteGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteGateway struct.

type ExpressRouteGatewayList

type ExpressRouteGatewayList struct {
	autorest.Response `json:"-"`
	// Value - List of ExpressRoute gateways.
	Value *[]ExpressRouteGateway `json:"value,omitempty"`
}

ExpressRouteGatewayList list of ExpressRoute gateways.

type ExpressRouteGatewayProperties

type ExpressRouteGatewayProperties struct {
	// AutoScaleConfiguration - Configuration for auto scaling.
	AutoScaleConfiguration *ExpressRouteGatewayPropertiesAutoScaleConfiguration `json:"autoScaleConfiguration,omitempty"`
	// ExpressRouteConnections - READ-ONLY; List of ExpressRoute connections to the ExpressRoute gateway.
	ExpressRouteConnections *[]ExpressRouteConnection `json:"expressRouteConnections,omitempty"`
	// ProvisioningState - The provisioning state of the express route gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VirtualHub - The Virtual Hub where the ExpressRoute gateway is or will be deployed.
	VirtualHub *VirtualHubID `json:"virtualHub,omitempty"`
}

ExpressRouteGatewayProperties expressRoute gateway resource properties.

type ExpressRouteGatewayPropertiesAutoScaleConfiguration

type ExpressRouteGatewayPropertiesAutoScaleConfiguration struct {
	// Bounds - Minimum and maximum number of scale units to deploy.
	Bounds *ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds `json:"bounds,omitempty"`
}

ExpressRouteGatewayPropertiesAutoScaleConfiguration configuration for auto scaling.

type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds

type ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds struct {
	// Min - Minimum number of scale units deployed for ExpressRoute gateway.
	Min *int32 `json:"min,omitempty"`
	// Max - Maximum number of scale units deployed for ExpressRoute gateway.
	Max *int32 `json:"max,omitempty"`
}

ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds minimum and maximum number of scale units to deploy.

type ExpressRouteGatewaysClient

type ExpressRouteGatewaysClient struct {
	BaseClient
}

ExpressRouteGatewaysClient is the network Client

func NewExpressRouteGatewaysClient

func NewExpressRouteGatewaysClient(subscriptionID string) ExpressRouteGatewaysClient

NewExpressRouteGatewaysClient creates an instance of the ExpressRouteGatewaysClient client.

func NewExpressRouteGatewaysClientWithBaseURI

func NewExpressRouteGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteGatewaysClient

NewExpressRouteGatewaysClientWithBaseURI creates an instance of the ExpressRouteGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteGatewaysClient) CreateOrUpdate

func (client ExpressRouteGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, putExpressRouteGatewayParameters ExpressRouteGateway) (result ExpressRouteGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a ExpressRoute gateway in a specified resource group. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. putExpressRouteGatewayParameters - parameters required in an ExpressRoute gateway PUT operation.

func (ExpressRouteGatewaysClient) CreateOrUpdatePreparer

func (client ExpressRouteGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, putExpressRouteGatewayParameters ExpressRouteGateway) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteGatewaysClient) CreateOrUpdateResponder

func (client ExpressRouteGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteGateway, err error)

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

func (ExpressRouteGatewaysClient) CreateOrUpdateSender

func (client ExpressRouteGatewaysClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteGatewaysCreateOrUpdateFuture, err error)

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

func (ExpressRouteGatewaysClient) Delete

func (client ExpressRouteGatewaysClient) Delete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteGatewaysDeleteFuture, err error)

Delete deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.

func (ExpressRouteGatewaysClient) DeletePreparer

func (client ExpressRouteGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteGatewaysClient) DeleteResponder

func (client ExpressRouteGatewaysClient) 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 (ExpressRouteGatewaysClient) DeleteSender

func (client ExpressRouteGatewaysClient) DeleteSender(req *http.Request) (future ExpressRouteGatewaysDeleteFuture, err error)

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

func (ExpressRouteGatewaysClient) Get

func (client ExpressRouteGatewaysClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteGateway, err error)

Get fetches the details of a ExpressRoute gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.

func (ExpressRouteGatewaysClient) GetPreparer

func (client ExpressRouteGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteGatewaysClient) GetResponder

func (client ExpressRouteGatewaysClient) GetResponder(resp *http.Response) (result ExpressRouteGateway, err error)

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

func (ExpressRouteGatewaysClient) GetSender

func (client ExpressRouteGatewaysClient) 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 (ExpressRouteGatewaysClient) ListByResourceGroup

func (client ExpressRouteGatewaysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ExpressRouteGatewayList, err error)

ListByResourceGroup lists ExpressRoute gateways in a given resource group. Parameters: resourceGroupName - the name of the resource group.

func (ExpressRouteGatewaysClient) ListByResourceGroupPreparer

func (client ExpressRouteGatewaysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ExpressRouteGatewaysClient) ListByResourceGroupResponder

func (client ExpressRouteGatewaysClient) ListByResourceGroupResponder(resp *http.Response) (result ExpressRouteGatewayList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ExpressRouteGatewaysClient) ListByResourceGroupSender

func (client ExpressRouteGatewaysClient) 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 (ExpressRouteGatewaysClient) ListBySubscription

func (client ExpressRouteGatewaysClient) ListBySubscription(ctx context.Context) (result ExpressRouteGatewayList, err error)

ListBySubscription lists ExpressRoute gateways under a given subscription.

func (ExpressRouteGatewaysClient) ListBySubscriptionPreparer

func (client ExpressRouteGatewaysClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ExpressRouteGatewaysClient) ListBySubscriptionResponder

func (client ExpressRouteGatewaysClient) ListBySubscriptionResponder(resp *http.Response) (result ExpressRouteGatewayList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ExpressRouteGatewaysClient) ListBySubscriptionSender

func (client ExpressRouteGatewaysClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

type ExpressRouteGatewaysCreateOrUpdateFuture

type ExpressRouteGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRouteGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteGatewaysCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteGatewaysDeleteFuture

type ExpressRouteGatewaysDeleteFuture struct {
	azure.Future
}

ExpressRouteGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteGatewaysDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteLink struct {
	autorest.Response `json:"-"`
	// ExpressRouteLinkPropertiesFormat - ExpressRouteLink properties.
	*ExpressRouteLinkPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of child port resource that is unique among child port resources of the parent.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteLink expressRouteLink child resource definition.

func (ExpressRouteLink) MarshalJSON

func (erl ExpressRouteLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteLink.

func (*ExpressRouteLink) UnmarshalJSON

func (erl *ExpressRouteLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteLink struct.

type ExpressRouteLinkAdminState

type ExpressRouteLinkAdminState string

ExpressRouteLinkAdminState enumerates the values for express route link admin state.

const (
	// ExpressRouteLinkAdminStateDisabled ...
	ExpressRouteLinkAdminStateDisabled ExpressRouteLinkAdminState = "Disabled"
	// ExpressRouteLinkAdminStateEnabled ...
	ExpressRouteLinkAdminStateEnabled ExpressRouteLinkAdminState = "Enabled"
)

func PossibleExpressRouteLinkAdminStateValues

func PossibleExpressRouteLinkAdminStateValues() []ExpressRouteLinkAdminState

PossibleExpressRouteLinkAdminStateValues returns an array of possible values for the ExpressRouteLinkAdminState const type.

type ExpressRouteLinkConnectorType

type ExpressRouteLinkConnectorType string

ExpressRouteLinkConnectorType enumerates the values for express route link connector type.

const (
	// LC ...
	LC ExpressRouteLinkConnectorType = "LC"
	// SC ...
	SC ExpressRouteLinkConnectorType = "SC"
)

func PossibleExpressRouteLinkConnectorTypeValues

func PossibleExpressRouteLinkConnectorTypeValues() []ExpressRouteLinkConnectorType

PossibleExpressRouteLinkConnectorTypeValues returns an array of possible values for the ExpressRouteLinkConnectorType const type.

type ExpressRouteLinkListResult

type ExpressRouteLinkListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of ExpressRouteLink sub-resources.
	Value *[]ExpressRouteLink `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteLinkListResult response for ListExpressRouteLinks API service call.

func (ExpressRouteLinkListResult) IsEmpty

func (erllr ExpressRouteLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteLinkListResultIterator

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

ExpressRouteLinkListResultIterator provides access to a complete listing of ExpressRouteLink values.

func NewExpressRouteLinkListResultIterator

func NewExpressRouteLinkListResultIterator(page ExpressRouteLinkListResultPage) ExpressRouteLinkListResultIterator

Creates a new instance of the ExpressRouteLinkListResultIterator type.

func (*ExpressRouteLinkListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteLinkListResultIterator) NextWithContext

func (iter *ExpressRouteLinkListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteLinkListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteLinkListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteLinkListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteLinkListResultPage

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

ExpressRouteLinkListResultPage contains a page of ExpressRouteLink values.

func NewExpressRouteLinkListResultPage

func NewExpressRouteLinkListResultPage(getNextPage func(context.Context, ExpressRouteLinkListResult) (ExpressRouteLinkListResult, error)) ExpressRouteLinkListResultPage

Creates a new instance of the ExpressRouteLinkListResultPage type.

func (*ExpressRouteLinkListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteLinkListResultPage) NextWithContext

func (page *ExpressRouteLinkListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteLinkListResultPage) NotDone

func (page ExpressRouteLinkListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteLinkListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteLinkListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteLinkMacSecCipher

type ExpressRouteLinkMacSecCipher string

ExpressRouteLinkMacSecCipher enumerates the values for express route link mac sec cipher.

const (
	// GcmAes128 ...
	GcmAes128 ExpressRouteLinkMacSecCipher = "gcm-aes-128"
	// GcmAes256 ...
	GcmAes256 ExpressRouteLinkMacSecCipher = "gcm-aes-256"
)

func PossibleExpressRouteLinkMacSecCipherValues

func PossibleExpressRouteLinkMacSecCipherValues() []ExpressRouteLinkMacSecCipher

PossibleExpressRouteLinkMacSecCipherValues returns an array of possible values for the ExpressRouteLinkMacSecCipher const type.

type ExpressRouteLinkMacSecConfig

type ExpressRouteLinkMacSecConfig struct {
	// CknSecretIdentifier - Keyvault Secret Identifier URL containing Mac security CKN key.
	CknSecretIdentifier *string `json:"cknSecretIdentifier,omitempty"`
	// CakSecretIdentifier - Keyvault Secret Identifier URL containing Mac security CAK key.
	CakSecretIdentifier *string `json:"cakSecretIdentifier,omitempty"`
	// Cipher - Mac security cipher. Possible values include: 'GcmAes128', 'GcmAes256'
	Cipher ExpressRouteLinkMacSecCipher `json:"cipher,omitempty"`
}

ExpressRouteLinkMacSecConfig expressRouteLink Mac Security Configuration.

type ExpressRouteLinkPropertiesFormat

type ExpressRouteLinkPropertiesFormat struct {
	// RouterName - READ-ONLY; Name of Azure router associated with physical port.
	RouterName *string `json:"routerName,omitempty"`
	// InterfaceName - READ-ONLY; Name of Azure router interface.
	InterfaceName *string `json:"interfaceName,omitempty"`
	// PatchPanelID - READ-ONLY; Mapping between physical port to patch panel port.
	PatchPanelID *string `json:"patchPanelId,omitempty"`
	// RackID - READ-ONLY; Mapping of physical patch panel to rack.
	RackID *string `json:"rackId,omitempty"`
	// ConnectorType - READ-ONLY; Physical fiber port type. Possible values include: 'LC', 'SC'
	ConnectorType ExpressRouteLinkConnectorType `json:"connectorType,omitempty"`
	// AdminState - Administrative state of the physical port. Possible values include: 'ExpressRouteLinkAdminStateEnabled', 'ExpressRouteLinkAdminStateDisabled'
	AdminState ExpressRouteLinkAdminState `json:"adminState,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// MacSecConfig - MacSec configuration.
	MacSecConfig *ExpressRouteLinkMacSecConfig `json:"macSecConfig,omitempty"`
}

ExpressRouteLinkPropertiesFormat properties specific to ExpressRouteLink resources.

type ExpressRouteLinksClient

type ExpressRouteLinksClient struct {
	BaseClient
}

ExpressRouteLinksClient is the network Client

func NewExpressRouteLinksClient

func NewExpressRouteLinksClient(subscriptionID string) ExpressRouteLinksClient

NewExpressRouteLinksClient creates an instance of the ExpressRouteLinksClient client.

func NewExpressRouteLinksClientWithBaseURI

func NewExpressRouteLinksClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteLinksClient

NewExpressRouteLinksClientWithBaseURI creates an instance of the ExpressRouteLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteLinksClient) Get

func (client ExpressRouteLinksClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string, linkName string) (result ExpressRouteLink, err error)

Get retrieves the specified ExpressRouteLink resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource. linkName - the name of the ExpressRouteLink resource.

func (ExpressRouteLinksClient) GetPreparer

func (client ExpressRouteLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, linkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteLinksClient) GetResponder

func (client ExpressRouteLinksClient) GetResponder(resp *http.Response) (result ExpressRouteLink, err error)

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

func (ExpressRouteLinksClient) GetSender

func (client ExpressRouteLinksClient) 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 (ExpressRouteLinksClient) List

func (client ExpressRouteLinksClient) List(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRouteLinkListResultPage, err error)

List retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource.

func (ExpressRouteLinksClient) ListComplete

func (client ExpressRouteLinksClient) ListComplete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRouteLinkListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteLinksClient) ListPreparer

func (client ExpressRouteLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteLinksClient) ListResponder

func (client ExpressRouteLinksClient) ListResponder(resp *http.Response) (result ExpressRouteLinkListResult, err error)

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

func (ExpressRouteLinksClient) ListSender

func (client ExpressRouteLinksClient) 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 ExpressRoutePeeringState

type ExpressRoutePeeringState string

ExpressRoutePeeringState enumerates the values for express route peering state.

const (
	// ExpressRoutePeeringStateDisabled ...
	ExpressRoutePeeringStateDisabled ExpressRoutePeeringState = "Disabled"
	// ExpressRoutePeeringStateEnabled ...
	ExpressRoutePeeringStateEnabled ExpressRoutePeeringState = "Enabled"
)

func PossibleExpressRoutePeeringStateValues

func PossibleExpressRoutePeeringStateValues() []ExpressRoutePeeringState

PossibleExpressRoutePeeringStateValues returns an array of possible values for the ExpressRoutePeeringState const type.

type ExpressRoutePeeringType

type ExpressRoutePeeringType string

ExpressRoutePeeringType enumerates the values for express route peering type.

const (
	// AzurePrivatePeering ...
	AzurePrivatePeering ExpressRoutePeeringType = "AzurePrivatePeering"
	// AzurePublicPeering ...
	AzurePublicPeering ExpressRoutePeeringType = "AzurePublicPeering"
	// MicrosoftPeering ...
	MicrosoftPeering ExpressRoutePeeringType = "MicrosoftPeering"
)

func PossibleExpressRoutePeeringTypeValues

func PossibleExpressRoutePeeringTypeValues() []ExpressRoutePeeringType

PossibleExpressRoutePeeringTypeValues returns an array of possible values for the ExpressRoutePeeringType const type.

type ExpressRoutePort

type ExpressRoutePort struct {
	autorest.Response `json:"-"`
	// ExpressRoutePortPropertiesFormat - ExpressRoutePort properties.
	*ExpressRoutePortPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Identity - The identity of ExpressRoutePort, if configured.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRoutePort expressRoutePort resource definition.

func (ExpressRoutePort) MarshalJSON

func (erp ExpressRoutePort) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRoutePort.

func (*ExpressRoutePort) UnmarshalJSON

func (erp *ExpressRoutePort) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRoutePort struct.

type ExpressRoutePortListResult

type ExpressRoutePortListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ExpressRoutePort resources.
	Value *[]ExpressRoutePort `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRoutePortListResult response for ListExpressRoutePorts API service call.

func (ExpressRoutePortListResult) IsEmpty

func (erplr ExpressRoutePortListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRoutePortListResultIterator

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

ExpressRoutePortListResultIterator provides access to a complete listing of ExpressRoutePort values.

func NewExpressRoutePortListResultIterator

func NewExpressRoutePortListResultIterator(page ExpressRoutePortListResultPage) ExpressRoutePortListResultIterator

Creates a new instance of the ExpressRoutePortListResultIterator type.

func (*ExpressRoutePortListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRoutePortListResultIterator) NextWithContext

func (iter *ExpressRoutePortListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRoutePortListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRoutePortListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRoutePortListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRoutePortListResultPage

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

ExpressRoutePortListResultPage contains a page of ExpressRoutePort values.

func NewExpressRoutePortListResultPage

func NewExpressRoutePortListResultPage(getNextPage func(context.Context, ExpressRoutePortListResult) (ExpressRoutePortListResult, error)) ExpressRoutePortListResultPage

Creates a new instance of the ExpressRoutePortListResultPage type.

func (*ExpressRoutePortListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRoutePortListResultPage) NextWithContext

func (page *ExpressRoutePortListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRoutePortListResultPage) NotDone

func (page ExpressRoutePortListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRoutePortListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRoutePortListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRoutePortPropertiesFormat

type ExpressRoutePortPropertiesFormat struct {
	// PeeringLocation - The name of the peering location that the ExpressRoutePort is mapped to physically.
	PeeringLocation *string `json:"peeringLocation,omitempty"`
	// BandwidthInGbps - Bandwidth of procured ports in Gbps.
	BandwidthInGbps *int32 `json:"bandwidthInGbps,omitempty"`
	// ProvisionedBandwidthInGbps - READ-ONLY; Aggregate Gbps of associated circuit bandwidths.
	ProvisionedBandwidthInGbps *float64 `json:"provisionedBandwidthInGbps,omitempty"`
	// Mtu - READ-ONLY; Maximum transmission unit of the physical port pair(s).
	Mtu *string `json:"mtu,omitempty"`
	// Encapsulation - Encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'
	Encapsulation ExpressRoutePortsEncapsulation `json:"encapsulation,omitempty"`
	// EtherType - READ-ONLY; Ether type of the physical port.
	EtherType *string `json:"etherType,omitempty"`
	// AllocationDate - READ-ONLY; Date of the physical port allocation to be used in Letter of Authorization.
	AllocationDate *string `json:"allocationDate,omitempty"`
	// Links - The set of physical links of the ExpressRoutePort resource.
	Links *[]ExpressRouteLink `json:"links,omitempty"`
	// Circuits - READ-ONLY; Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
	Circuits *[]SubResource `json:"circuits,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ResourceGUID - The resource GUID property of the express route port resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
}

ExpressRoutePortPropertiesFormat properties specific to ExpressRoutePort resources.

type ExpressRoutePortsClient

type ExpressRoutePortsClient struct {
	BaseClient
}

ExpressRoutePortsClient is the network Client

func NewExpressRoutePortsClient

func NewExpressRoutePortsClient(subscriptionID string) ExpressRoutePortsClient

NewExpressRoutePortsClient creates an instance of the ExpressRoutePortsClient client.

func NewExpressRoutePortsClientWithBaseURI

func NewExpressRoutePortsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsClient

NewExpressRoutePortsClientWithBaseURI creates an instance of the ExpressRoutePortsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRoutePortsClient) CreateOrUpdate

func (client ExpressRoutePortsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters ExpressRoutePort) (result ExpressRoutePortsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource. parameters - parameters supplied to the create ExpressRoutePort operation.

func (ExpressRoutePortsClient) CreateOrUpdatePreparer

func (client ExpressRoutePortsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters ExpressRoutePort) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRoutePortsClient) CreateOrUpdateResponder

func (client ExpressRoutePortsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRoutePort, err error)

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

func (ExpressRoutePortsClient) CreateOrUpdateSender

func (client ExpressRoutePortsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRoutePortsCreateOrUpdateFuture, err error)

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

func (ExpressRoutePortsClient) Delete

func (client ExpressRoutePortsClient) Delete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRoutePortsDeleteFuture, err error)

Delete deletes the specified ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource.

func (ExpressRoutePortsClient) DeletePreparer

func (client ExpressRoutePortsClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRoutePortsClient) DeleteResponder

func (client ExpressRoutePortsClient) 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 (ExpressRoutePortsClient) DeleteSender

func (client ExpressRoutePortsClient) DeleteSender(req *http.Request) (future ExpressRoutePortsDeleteFuture, err error)

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

func (ExpressRoutePortsClient) Get

func (client ExpressRoutePortsClient) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result ExpressRoutePort, err error)

Get retrieves the requested ExpressRoutePort resource. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of ExpressRoutePort.

func (ExpressRoutePortsClient) GetPreparer

func (client ExpressRoutePortsClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRoutePortsClient) GetResponder

func (client ExpressRoutePortsClient) GetResponder(resp *http.Response) (result ExpressRoutePort, err error)

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

func (ExpressRoutePortsClient) GetSender

func (client ExpressRoutePortsClient) 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 (ExpressRoutePortsClient) List

List list all the ExpressRoutePort resources in the specified subscription.

func (ExpressRoutePortsClient) ListByResourceGroup

func (client ExpressRoutePortsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ExpressRoutePortListResultPage, err error)

ListByResourceGroup list all the ExpressRoutePort resources in the specified resource group. Parameters: resourceGroupName - the name of the resource group.

func (ExpressRoutePortsClient) ListByResourceGroupComplete

func (client ExpressRoutePortsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ExpressRoutePortListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRoutePortsClient) ListByResourceGroupPreparer

func (client ExpressRoutePortsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ExpressRoutePortsClient) ListByResourceGroupResponder

func (client ExpressRoutePortsClient) ListByResourceGroupResponder(resp *http.Response) (result ExpressRoutePortListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ExpressRoutePortsClient) ListByResourceGroupSender

func (client ExpressRoutePortsClient) 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 (ExpressRoutePortsClient) ListComplete

func (client ExpressRoutePortsClient) ListComplete(ctx context.Context) (result ExpressRoutePortListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRoutePortsClient) ListPreparer

func (client ExpressRoutePortsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRoutePortsClient) ListResponder

func (client ExpressRoutePortsClient) ListResponder(resp *http.Response) (result ExpressRoutePortListResult, err error)

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

func (ExpressRoutePortsClient) ListSender

func (client ExpressRoutePortsClient) 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 (ExpressRoutePortsClient) UpdateTags

func (client ExpressRoutePortsClient) UpdateTags(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters TagsObject) (result ExpressRoutePortsUpdateTagsFuture, err error)

UpdateTags update ExpressRoutePort tags. Parameters: resourceGroupName - the name of the resource group. expressRoutePortName - the name of the ExpressRoutePort resource. parameters - parameters supplied to update ExpressRoutePort resource tags.

func (ExpressRoutePortsClient) UpdateTagsPreparer

func (client ExpressRoutePortsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ExpressRoutePortsClient) UpdateTagsResponder

func (client ExpressRoutePortsClient) UpdateTagsResponder(resp *http.Response) (result ExpressRoutePort, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ExpressRoutePortsClient) UpdateTagsSender

func (client ExpressRoutePortsClient) UpdateTagsSender(req *http.Request) (future ExpressRoutePortsUpdateTagsFuture, err error)

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

type ExpressRoutePortsCreateOrUpdateFuture

type ExpressRoutePortsCreateOrUpdateFuture struct {
	azure.Future
}

ExpressRoutePortsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRoutePortsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRoutePortsDeleteFuture

type ExpressRoutePortsDeleteFuture struct {
	azure.Future
}

ExpressRoutePortsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRoutePortsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRoutePortsEncapsulation

type ExpressRoutePortsEncapsulation string

ExpressRoutePortsEncapsulation enumerates the values for express route ports encapsulation.

const (
	// Dot1Q ...
	Dot1Q ExpressRoutePortsEncapsulation = "Dot1Q"
	// QinQ ...
	QinQ ExpressRoutePortsEncapsulation = "QinQ"
)

func PossibleExpressRoutePortsEncapsulationValues

func PossibleExpressRoutePortsEncapsulationValues() []ExpressRoutePortsEncapsulation

PossibleExpressRoutePortsEncapsulationValues returns an array of possible values for the ExpressRoutePortsEncapsulation const type.

type ExpressRoutePortsLocation

type ExpressRoutePortsLocation struct {
	autorest.Response `json:"-"`
	// ExpressRoutePortsLocationPropertiesFormat - ExpressRoutePort peering location properties.
	*ExpressRoutePortsLocationPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRoutePortsLocation definition of the ExpressRoutePorts peering location resource.

func (ExpressRoutePortsLocation) MarshalJSON

func (erpl ExpressRoutePortsLocation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRoutePortsLocation.

func (*ExpressRoutePortsLocation) UnmarshalJSON

func (erpl *ExpressRoutePortsLocation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRoutePortsLocation struct.

type ExpressRoutePortsLocationBandwidths

type ExpressRoutePortsLocationBandwidths struct {
	// OfferName - READ-ONLY; Bandwidth descriptive name.
	OfferName *string `json:"offerName,omitempty"`
	// ValueInGbps - READ-ONLY; Bandwidth value in Gbps.
	ValueInGbps *int32 `json:"valueInGbps,omitempty"`
}

ExpressRoutePortsLocationBandwidths real-time inventory of available ExpressRoute port bandwidths.

type ExpressRoutePortsLocationListResult

type ExpressRoutePortsLocationListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of all ExpressRoutePort peering locations.
	Value *[]ExpressRoutePortsLocation `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRoutePortsLocationListResult response for ListExpressRoutePortsLocations API service call.

func (ExpressRoutePortsLocationListResult) IsEmpty

func (erpllr ExpressRoutePortsLocationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRoutePortsLocationListResultIterator

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

ExpressRoutePortsLocationListResultIterator provides access to a complete listing of ExpressRoutePortsLocation values.

func NewExpressRoutePortsLocationListResultIterator

func NewExpressRoutePortsLocationListResultIterator(page ExpressRoutePortsLocationListResultPage) ExpressRoutePortsLocationListResultIterator

Creates a new instance of the ExpressRoutePortsLocationListResultIterator type.

func (*ExpressRoutePortsLocationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRoutePortsLocationListResultIterator) NextWithContext

func (iter *ExpressRoutePortsLocationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRoutePortsLocationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRoutePortsLocationListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRoutePortsLocationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRoutePortsLocationListResultPage

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

ExpressRoutePortsLocationListResultPage contains a page of ExpressRoutePortsLocation values.

func NewExpressRoutePortsLocationListResultPage

Creates a new instance of the ExpressRoutePortsLocationListResultPage type.

func (*ExpressRoutePortsLocationListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRoutePortsLocationListResultPage) NextWithContext

func (page *ExpressRoutePortsLocationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRoutePortsLocationListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRoutePortsLocationListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRoutePortsLocationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRoutePortsLocationPropertiesFormat

type ExpressRoutePortsLocationPropertiesFormat struct {
	// Address - READ-ONLY; Address of peering location.
	Address *string `json:"address,omitempty"`
	// Contact - READ-ONLY; Contact details of peering locations.
	Contact *string `json:"contact,omitempty"`
	// AvailableBandwidths - The inventory of available ExpressRoutePort bandwidths.
	AvailableBandwidths *[]ExpressRoutePortsLocationBandwidths `json:"availableBandwidths,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route port location resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ExpressRoutePortsLocationPropertiesFormat properties specific to ExpressRoutePorts peering location resources.

type ExpressRoutePortsLocationsClient

type ExpressRoutePortsLocationsClient struct {
	BaseClient
}

ExpressRoutePortsLocationsClient is the network Client

func NewExpressRoutePortsLocationsClient

func NewExpressRoutePortsLocationsClient(subscriptionID string) ExpressRoutePortsLocationsClient

NewExpressRoutePortsLocationsClient creates an instance of the ExpressRoutePortsLocationsClient client.

func NewExpressRoutePortsLocationsClientWithBaseURI

func NewExpressRoutePortsLocationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsLocationsClient

NewExpressRoutePortsLocationsClientWithBaseURI creates an instance of the ExpressRoutePortsLocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRoutePortsLocationsClient) Get

func (client ExpressRoutePortsLocationsClient) Get(ctx context.Context, locationName string) (result ExpressRoutePortsLocation, err error)

Get retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location. Parameters: locationName - name of the requested ExpressRoutePort peering location.

func (ExpressRoutePortsLocationsClient) GetPreparer

func (client ExpressRoutePortsLocationsClient) GetPreparer(ctx context.Context, locationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRoutePortsLocationsClient) GetResponder

func (client ExpressRoutePortsLocationsClient) GetResponder(resp *http.Response) (result ExpressRoutePortsLocation, err error)

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

func (ExpressRoutePortsLocationsClient) GetSender

func (client ExpressRoutePortsLocationsClient) 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 (ExpressRoutePortsLocationsClient) List

List retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.

func (ExpressRoutePortsLocationsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRoutePortsLocationsClient) ListPreparer

func (client ExpressRoutePortsLocationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRoutePortsLocationsClient) ListResponder

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

func (ExpressRoutePortsLocationsClient) ListSender

func (client ExpressRoutePortsLocationsClient) 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 ExpressRoutePortsUpdateTagsFuture

type ExpressRoutePortsUpdateTagsFuture struct {
	azure.Future
}

ExpressRoutePortsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRoutePortsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExpressRouteServiceProvider

type ExpressRouteServiceProvider struct {
	// ExpressRouteServiceProviderPropertiesFormat - Properties of the express route service provider.
	*ExpressRouteServiceProviderPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRouteServiceProvider a ExpressRouteResourceProvider object.

func (ExpressRouteServiceProvider) MarshalJSON

func (ersp ExpressRouteServiceProvider) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteServiceProvider.

func (*ExpressRouteServiceProvider) UnmarshalJSON

func (ersp *ExpressRouteServiceProvider) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteServiceProvider struct.

type ExpressRouteServiceProviderBandwidthsOffered

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

ExpressRouteServiceProviderBandwidthsOffered contains bandwidths offered in ExpressRouteServiceProvider resources.

type ExpressRouteServiceProviderListResult

type ExpressRouteServiceProviderListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ExpressRouteResourceProvider resources.
	Value *[]ExpressRouteServiceProvider `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteServiceProviderListResult response for the ListExpressRouteServiceProvider API service call.

func (ExpressRouteServiceProviderListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteServiceProviderListResultIterator

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

ExpressRouteServiceProviderListResultIterator provides access to a complete listing of ExpressRouteServiceProvider values.

func NewExpressRouteServiceProviderListResultIterator

func NewExpressRouteServiceProviderListResultIterator(page ExpressRouteServiceProviderListResultPage) ExpressRouteServiceProviderListResultIterator

Creates a new instance of the ExpressRouteServiceProviderListResultIterator type.

func (*ExpressRouteServiceProviderListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteServiceProviderListResultIterator) NextWithContext

func (iter *ExpressRouteServiceProviderListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteServiceProviderListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteServiceProviderListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteServiceProviderListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteServiceProviderListResultPage

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

ExpressRouteServiceProviderListResultPage contains a page of ExpressRouteServiceProvider values.

func NewExpressRouteServiceProviderListResultPage

Creates a new instance of the ExpressRouteServiceProviderListResultPage type.

func (*ExpressRouteServiceProviderListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteServiceProviderListResultPage) NextWithContext

func (page *ExpressRouteServiceProviderListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteServiceProviderListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteServiceProviderListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteServiceProviderListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteServiceProviderPropertiesFormat

type ExpressRouteServiceProviderPropertiesFormat struct {
	// PeeringLocations - A list of peering locations.
	PeeringLocations *[]string `json:"peeringLocations,omitempty"`
	// BandwidthsOffered - A list of bandwidths offered.
	BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`
	// ProvisioningState - The provisioning state of the express route service provider resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ExpressRouteServiceProviderPropertiesFormat properties of ExpressRouteServiceProvider.

type ExpressRouteServiceProvidersClient

type ExpressRouteServiceProvidersClient struct {
	BaseClient
}

ExpressRouteServiceProvidersClient is the network Client

func NewExpressRouteServiceProvidersClient

func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClient creates an instance of the ExpressRouteServiceProvidersClient client.

func NewExpressRouteServiceProvidersClientWithBaseURI

func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient

NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteServiceProvidersClient) List

List gets all the available express route service providers.

func (ExpressRouteServiceProvidersClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteServiceProvidersClient) ListPreparer

func (client ExpressRouteServiceProvidersClient) ListPreparer(ctx context.Context) (*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 FirewallPoliciesClient

type FirewallPoliciesClient struct {
	BaseClient
}

FirewallPoliciesClient is the network Client

func NewFirewallPoliciesClient

func NewFirewallPoliciesClient(subscriptionID string) FirewallPoliciesClient

NewFirewallPoliciesClient creates an instance of the FirewallPoliciesClient client.

func NewFirewallPoliciesClientWithBaseURI

func NewFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPoliciesClient

NewFirewallPoliciesClientWithBaseURI creates an instance of the FirewallPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FirewallPoliciesClient) CreateOrUpdate

func (client FirewallPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters FirewallPolicy) (result FirewallPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified Firewall Policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. parameters - parameters supplied to the create or update Firewall Policy operation.

func (FirewallPoliciesClient) CreateOrUpdatePreparer

func (client FirewallPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, parameters FirewallPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FirewallPoliciesClient) CreateOrUpdateResponder

func (client FirewallPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallPolicy, err error)

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

func (FirewallPoliciesClient) CreateOrUpdateSender

func (client FirewallPoliciesClient) CreateOrUpdateSender(req *http.Request) (future FirewallPoliciesCreateOrUpdateFuture, err error)

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

func (FirewallPoliciesClient) Delete

func (client FirewallPoliciesClient) Delete(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result FirewallPoliciesDeleteFuture, err error)

Delete deletes the specified Firewall Policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.

func (FirewallPoliciesClient) DeletePreparer

func (client FirewallPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FirewallPoliciesClient) DeleteResponder

func (client FirewallPoliciesClient) 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 (FirewallPoliciesClient) DeleteSender

func (client FirewallPoliciesClient) DeleteSender(req *http.Request) (future FirewallPoliciesDeleteFuture, err error)

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

func (FirewallPoliciesClient) Get

func (client FirewallPoliciesClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, expand string) (result FirewallPolicy, err error)

Get gets the specified Firewall Policy. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. expand - expands referenced resources.

func (FirewallPoliciesClient) GetPreparer

func (client FirewallPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FirewallPoliciesClient) GetResponder

func (client FirewallPoliciesClient) GetResponder(resp *http.Response) (result FirewallPolicy, err error)

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

func (FirewallPoliciesClient) GetSender

func (client FirewallPoliciesClient) 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 (FirewallPoliciesClient) List

func (client FirewallPoliciesClient) List(ctx context.Context, resourceGroupName string) (result FirewallPolicyListResultPage, err error)

List lists all Firewall Policies in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (FirewallPoliciesClient) ListAll

func (client FirewallPoliciesClient) ListAll(ctx context.Context) (result FirewallPolicyListResultPage, err error)

ListAll gets all the Firewall Policies in a subscription.

func (FirewallPoliciesClient) ListAllComplete

func (client FirewallPoliciesClient) ListAllComplete(ctx context.Context) (result FirewallPolicyListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (FirewallPoliciesClient) ListAllPreparer

func (client FirewallPoliciesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (FirewallPoliciesClient) ListAllResponder

func (client FirewallPoliciesClient) ListAllResponder(resp *http.Response) (result FirewallPolicyListResult, err error)

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

func (FirewallPoliciesClient) ListAllSender

func (client FirewallPoliciesClient) 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 (FirewallPoliciesClient) ListComplete

func (client FirewallPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result FirewallPolicyListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (FirewallPoliciesClient) ListPreparer

func (client FirewallPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (FirewallPoliciesClient) ListResponder

func (client FirewallPoliciesClient) ListResponder(resp *http.Response) (result FirewallPolicyListResult, err error)

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

func (FirewallPoliciesClient) ListSender

func (client FirewallPoliciesClient) 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 (FirewallPoliciesClient) UpdateTags

func (client FirewallPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, firewallPolicyName string, firewallPolicyParameters TagsObject) (result FirewallPolicy, err error)

UpdateTags updates a Firewall Policy Tags. Parameters: resourceGroupName - the resource group name of the Firewall Policy. firewallPolicyName - the name of the Firewall Policy being updated. firewallPolicyParameters - parameters supplied to Update Firewall Policy tags.

func (FirewallPoliciesClient) UpdateTagsPreparer

func (client FirewallPoliciesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, firewallPolicyParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (FirewallPoliciesClient) UpdateTagsResponder

func (client FirewallPoliciesClient) UpdateTagsResponder(resp *http.Response) (result FirewallPolicy, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (FirewallPoliciesClient) UpdateTagsSender

func (client FirewallPoliciesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type FirewallPoliciesCreateOrUpdateFuture

type FirewallPoliciesCreateOrUpdateFuture struct {
	azure.Future
}

FirewallPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FirewallPoliciesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FirewallPoliciesDeleteFuture

type FirewallPoliciesDeleteFuture struct {
	azure.Future
}

FirewallPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FirewallPoliciesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FirewallPolicy

type FirewallPolicy struct {
	autorest.Response `json:"-"`
	// FirewallPolicyPropertiesFormat - Properties of the firewall policy.
	*FirewallPolicyPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

FirewallPolicy firewallPolicy Resource.

func (FirewallPolicy) MarshalJSON

func (fp FirewallPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallPolicy.

func (*FirewallPolicy) UnmarshalJSON

func (fp *FirewallPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallPolicy struct.

type FirewallPolicyFilterRule

type FirewallPolicyFilterRule struct {
	// Action - The action type of a Filter rule.
	Action *FirewallPolicyFilterRuleAction `json:"action,omitempty"`
	// RuleConditions - Collection of rule conditions used by a rule.
	RuleConditions *[]BasicFirewallPolicyRuleCondition `json:"ruleConditions,omitempty"`
	// Name - The name of the rule.
	Name *string `json:"name,omitempty"`
	// Priority - Priority of the Firewall Policy Rule resource.
	Priority *int32 `json:"priority,omitempty"`
	// RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeFirewallPolicyNatRule', 'RuleTypeFirewallPolicyFilterRule'
	RuleType RuleType `json:"ruleType,omitempty"`
}

FirewallPolicyFilterRule firewall Policy Filter Rule.

func (FirewallPolicyFilterRule) AsBasicFirewallPolicyRule

func (fpfr FirewallPolicyFilterRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)

AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyFilterRule.

func (FirewallPolicyFilterRule) AsFirewallPolicyFilterRule

func (fpfr FirewallPolicyFilterRule) AsFirewallPolicyFilterRule() (*FirewallPolicyFilterRule, bool)

AsFirewallPolicyFilterRule is the BasicFirewallPolicyRule implementation for FirewallPolicyFilterRule.

func (FirewallPolicyFilterRule) AsFirewallPolicyNatRule

func (fpfr FirewallPolicyFilterRule) AsFirewallPolicyNatRule() (*FirewallPolicyNatRule, bool)

AsFirewallPolicyNatRule is the BasicFirewallPolicyRule implementation for FirewallPolicyFilterRule.

func (FirewallPolicyFilterRule) AsFirewallPolicyRule

func (fpfr FirewallPolicyFilterRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)

AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyFilterRule.

func (FirewallPolicyFilterRule) MarshalJSON

func (fpfr FirewallPolicyFilterRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallPolicyFilterRule.

func (*FirewallPolicyFilterRule) UnmarshalJSON

func (fpfr *FirewallPolicyFilterRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallPolicyFilterRule struct.

type FirewallPolicyFilterRuleAction

type FirewallPolicyFilterRuleAction struct {
	// Type - The type of action. Possible values include: 'FirewallPolicyFilterRuleActionTypeAllow', 'FirewallPolicyFilterRuleActionTypeDeny'
	Type FirewallPolicyFilterRuleActionType `json:"type,omitempty"`
}

FirewallPolicyFilterRuleAction properties of the FirewallPolicyFilterRuleAction.

type FirewallPolicyFilterRuleActionType

type FirewallPolicyFilterRuleActionType string

FirewallPolicyFilterRuleActionType enumerates the values for firewall policy filter rule action type.

const (
	// FirewallPolicyFilterRuleActionTypeAllow ...
	FirewallPolicyFilterRuleActionTypeAllow FirewallPolicyFilterRuleActionType = "Allow"
	// FirewallPolicyFilterRuleActionTypeDeny ...
	FirewallPolicyFilterRuleActionTypeDeny FirewallPolicyFilterRuleActionType = "Deny"
)

func PossibleFirewallPolicyFilterRuleActionTypeValues

func PossibleFirewallPolicyFilterRuleActionTypeValues() []FirewallPolicyFilterRuleActionType

PossibleFirewallPolicyFilterRuleActionTypeValues returns an array of possible values for the FirewallPolicyFilterRuleActionType const type.

type FirewallPolicyListResult

type FirewallPolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Firewall Policies in a resource group.
	Value *[]FirewallPolicy `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

FirewallPolicyListResult response for ListFirewallPolicies API service call.

func (FirewallPolicyListResult) IsEmpty

func (fplr FirewallPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FirewallPolicyListResultIterator

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

FirewallPolicyListResultIterator provides access to a complete listing of FirewallPolicy values.

func NewFirewallPolicyListResultIterator

func NewFirewallPolicyListResultIterator(page FirewallPolicyListResultPage) FirewallPolicyListResultIterator

Creates a new instance of the FirewallPolicyListResultIterator type.

func (*FirewallPolicyListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FirewallPolicyListResultIterator) NextWithContext

func (iter *FirewallPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (FirewallPolicyListResultIterator) NotDone

func (iter FirewallPolicyListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (FirewallPolicyListResultIterator) Response

Response returns the raw server response from the last page request.

func (FirewallPolicyListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type FirewallPolicyListResultPage

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

FirewallPolicyListResultPage contains a page of FirewallPolicy values.

func NewFirewallPolicyListResultPage

func NewFirewallPolicyListResultPage(getNextPage func(context.Context, FirewallPolicyListResult) (FirewallPolicyListResult, error)) FirewallPolicyListResultPage

Creates a new instance of the FirewallPolicyListResultPage type.

func (*FirewallPolicyListResultPage) Next

func (page *FirewallPolicyListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FirewallPolicyListResultPage) NextWithContext

func (page *FirewallPolicyListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (FirewallPolicyListResultPage) NotDone

func (page FirewallPolicyListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (FirewallPolicyListResultPage) Response

Response returns the raw server response from the last page request.

func (FirewallPolicyListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type FirewallPolicyNatRule

type FirewallPolicyNatRule struct {
	// Action - The action type of a Nat rule.
	Action *FirewallPolicyNatRuleAction `json:"action,omitempty"`
	// TranslatedAddress - The translated address for this NAT rule.
	TranslatedAddress *string `json:"translatedAddress,omitempty"`
	// TranslatedPort - The translated port for this NAT rule.
	TranslatedPort *string `json:"translatedPort,omitempty"`
	// RuleCondition - The match conditions for incoming traffic.
	RuleCondition BasicFirewallPolicyRuleCondition `json:"ruleCondition,omitempty"`
	// Name - The name of the rule.
	Name *string `json:"name,omitempty"`
	// Priority - Priority of the Firewall Policy Rule resource.
	Priority *int32 `json:"priority,omitempty"`
	// RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeFirewallPolicyNatRule', 'RuleTypeFirewallPolicyFilterRule'
	RuleType RuleType `json:"ruleType,omitempty"`
}

FirewallPolicyNatRule firewall Policy NAT Rule.

func (FirewallPolicyNatRule) AsBasicFirewallPolicyRule

func (fpnr FirewallPolicyNatRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)

AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyNatRule.

func (FirewallPolicyNatRule) AsFirewallPolicyFilterRule

func (fpnr FirewallPolicyNatRule) AsFirewallPolicyFilterRule() (*FirewallPolicyFilterRule, bool)

AsFirewallPolicyFilterRule is the BasicFirewallPolicyRule implementation for FirewallPolicyNatRule.

func (FirewallPolicyNatRule) AsFirewallPolicyNatRule

func (fpnr FirewallPolicyNatRule) AsFirewallPolicyNatRule() (*FirewallPolicyNatRule, bool)

AsFirewallPolicyNatRule is the BasicFirewallPolicyRule implementation for FirewallPolicyNatRule.

func (FirewallPolicyNatRule) AsFirewallPolicyRule

func (fpnr FirewallPolicyNatRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)

AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyNatRule.

func (FirewallPolicyNatRule) MarshalJSON

func (fpnr FirewallPolicyNatRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallPolicyNatRule.

func (*FirewallPolicyNatRule) UnmarshalJSON

func (fpnr *FirewallPolicyNatRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallPolicyNatRule struct.

type FirewallPolicyNatRuleAction

type FirewallPolicyNatRuleAction struct {
	// Type - The type of action. Possible values include: 'DNAT'
	Type FirewallPolicyNatRuleActionType `json:"type,omitempty"`
}

FirewallPolicyNatRuleAction properties of the FirewallPolicyNatRuleAction.

type FirewallPolicyNatRuleActionType

type FirewallPolicyNatRuleActionType string

FirewallPolicyNatRuleActionType enumerates the values for firewall policy nat rule action type.

const (
	// DNAT ...
	DNAT FirewallPolicyNatRuleActionType = "DNAT"
)

func PossibleFirewallPolicyNatRuleActionTypeValues

func PossibleFirewallPolicyNatRuleActionTypeValues() []FirewallPolicyNatRuleActionType

PossibleFirewallPolicyNatRuleActionTypeValues returns an array of possible values for the FirewallPolicyNatRuleActionType const type.

type FirewallPolicyPropertiesFormat

type FirewallPolicyPropertiesFormat struct {
	// RuleGroups - READ-ONLY; List of references to FirewallPolicyRuleGroups.
	RuleGroups *[]SubResource `json:"ruleGroups,omitempty"`
	// ProvisioningState - The provisioning state of the firewall policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// BasePolicy - The parent firewall policy from which rules are inherited.
	BasePolicy *SubResource `json:"basePolicy,omitempty"`
	// Firewalls - READ-ONLY; List of references to Azure Firewalls that this Firewall Policy is associated with.
	Firewalls *[]SubResource `json:"firewalls,omitempty"`
	// ChildPolicies - READ-ONLY; List of references to Child Firewall Policies.
	ChildPolicies *[]SubResource `json:"childPolicies,omitempty"`
	// ThreatIntelMode - The operation mode for Threat Intelligence. Possible values include: 'AzureFirewallThreatIntelModeAlert', 'AzureFirewallThreatIntelModeDeny', 'AzureFirewallThreatIntelModeOff'
	ThreatIntelMode AzureFirewallThreatIntelMode `json:"threatIntelMode,omitempty"`
}

FirewallPolicyPropertiesFormat firewall Policy definition.

type FirewallPolicyRule

type FirewallPolicyRule struct {
	// Name - The name of the rule.
	Name *string `json:"name,omitempty"`
	// Priority - Priority of the Firewall Policy Rule resource.
	Priority *int32 `json:"priority,omitempty"`
	// RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeFirewallPolicyNatRule', 'RuleTypeFirewallPolicyFilterRule'
	RuleType RuleType `json:"ruleType,omitempty"`
}

FirewallPolicyRule properties of the rule.

func (FirewallPolicyRule) AsBasicFirewallPolicyRule

func (fpr FirewallPolicyRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)

AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.

func (FirewallPolicyRule) AsFirewallPolicyFilterRule

func (fpr FirewallPolicyRule) AsFirewallPolicyFilterRule() (*FirewallPolicyFilterRule, bool)

AsFirewallPolicyFilterRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.

func (FirewallPolicyRule) AsFirewallPolicyNatRule

func (fpr FirewallPolicyRule) AsFirewallPolicyNatRule() (*FirewallPolicyNatRule, bool)

AsFirewallPolicyNatRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.

func (FirewallPolicyRule) AsFirewallPolicyRule

func (fpr FirewallPolicyRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)

AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for FirewallPolicyRule.

func (FirewallPolicyRule) MarshalJSON

func (fpr FirewallPolicyRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallPolicyRule.

type FirewallPolicyRuleCondition

type FirewallPolicyRuleCondition struct {
	// Name - Name of the rule condition.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule condition.
	Description *string `json:"description,omitempty"`
	// RuleConditionType - Possible values include: 'RuleConditionTypeFirewallPolicyRuleCondition', 'RuleConditionTypeApplicationRuleCondition', 'RuleConditionTypeNetworkRuleCondition'
	RuleConditionType RuleConditionType `json:"ruleConditionType,omitempty"`
}

FirewallPolicyRuleCondition properties of a rule.

func (FirewallPolicyRuleCondition) AsApplicationRuleCondition

func (fprc FirewallPolicyRuleCondition) AsApplicationRuleCondition() (*ApplicationRuleCondition, bool)

AsApplicationRuleCondition is the BasicFirewallPolicyRuleCondition implementation for FirewallPolicyRuleCondition.

func (FirewallPolicyRuleCondition) AsBasicFirewallPolicyRuleCondition

func (fprc FirewallPolicyRuleCondition) AsBasicFirewallPolicyRuleCondition() (BasicFirewallPolicyRuleCondition, bool)

AsBasicFirewallPolicyRuleCondition is the BasicFirewallPolicyRuleCondition implementation for FirewallPolicyRuleCondition.

func (FirewallPolicyRuleCondition) AsFirewallPolicyRuleCondition

func (fprc FirewallPolicyRuleCondition) AsFirewallPolicyRuleCondition() (*FirewallPolicyRuleCondition, bool)

AsFirewallPolicyRuleCondition is the BasicFirewallPolicyRuleCondition implementation for FirewallPolicyRuleCondition.

func (FirewallPolicyRuleCondition) AsRuleCondition

func (fprc FirewallPolicyRuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicFirewallPolicyRuleCondition implementation for FirewallPolicyRuleCondition.

func (FirewallPolicyRuleCondition) MarshalJSON

func (fprc FirewallPolicyRuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallPolicyRuleCondition.

type FirewallPolicyRuleConditionApplicationProtocol

type FirewallPolicyRuleConditionApplicationProtocol struct {
	// ProtocolType - Protocol type. Possible values include: 'FirewallPolicyRuleConditionApplicationProtocolTypeHTTP', 'FirewallPolicyRuleConditionApplicationProtocolTypeHTTPS'
	ProtocolType FirewallPolicyRuleConditionApplicationProtocolType `json:"protocolType,omitempty"`
	// Port - Port number for the protocol, cannot be greater than 64000.
	Port *int32 `json:"port,omitempty"`
}

FirewallPolicyRuleConditionApplicationProtocol properties of the application rule protocol.

type FirewallPolicyRuleConditionApplicationProtocolType

type FirewallPolicyRuleConditionApplicationProtocolType string

FirewallPolicyRuleConditionApplicationProtocolType enumerates the values for firewall policy rule condition application protocol type.

const (
	// FirewallPolicyRuleConditionApplicationProtocolTypeHTTP ...
	FirewallPolicyRuleConditionApplicationProtocolTypeHTTP FirewallPolicyRuleConditionApplicationProtocolType = "Http"
	// FirewallPolicyRuleConditionApplicationProtocolTypeHTTPS ...
	FirewallPolicyRuleConditionApplicationProtocolTypeHTTPS FirewallPolicyRuleConditionApplicationProtocolType = "Https"
)

func PossibleFirewallPolicyRuleConditionApplicationProtocolTypeValues

func PossibleFirewallPolicyRuleConditionApplicationProtocolTypeValues() []FirewallPolicyRuleConditionApplicationProtocolType

PossibleFirewallPolicyRuleConditionApplicationProtocolTypeValues returns an array of possible values for the FirewallPolicyRuleConditionApplicationProtocolType const type.

type FirewallPolicyRuleConditionNetworkProtocol

type FirewallPolicyRuleConditionNetworkProtocol string

FirewallPolicyRuleConditionNetworkProtocol enumerates the values for firewall policy rule condition network protocol.

const (
	// FirewallPolicyRuleConditionNetworkProtocolAny ...
	FirewallPolicyRuleConditionNetworkProtocolAny FirewallPolicyRuleConditionNetworkProtocol = "Any"
	// FirewallPolicyRuleConditionNetworkProtocolICMP ...
	FirewallPolicyRuleConditionNetworkProtocolICMP FirewallPolicyRuleConditionNetworkProtocol = "ICMP"
	// FirewallPolicyRuleConditionNetworkProtocolTCP ...
	FirewallPolicyRuleConditionNetworkProtocolTCP FirewallPolicyRuleConditionNetworkProtocol = "TCP"
	// FirewallPolicyRuleConditionNetworkProtocolUDP ...
	FirewallPolicyRuleConditionNetworkProtocolUDP FirewallPolicyRuleConditionNetworkProtocol = "UDP"
)

func PossibleFirewallPolicyRuleConditionNetworkProtocolValues

func PossibleFirewallPolicyRuleConditionNetworkProtocolValues() []FirewallPolicyRuleConditionNetworkProtocol

PossibleFirewallPolicyRuleConditionNetworkProtocolValues returns an array of possible values for the FirewallPolicyRuleConditionNetworkProtocol const type.

type FirewallPolicyRuleGroup

type FirewallPolicyRuleGroup struct {
	autorest.Response `json:"-"`
	// FirewallPolicyRuleGroupProperties - The properties of the firewall policy rule group.
	*FirewallPolicyRuleGroupProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Rule Group type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

FirewallPolicyRuleGroup rule Group resource.

func (FirewallPolicyRuleGroup) MarshalJSON

func (fprg FirewallPolicyRuleGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirewallPolicyRuleGroup.

func (*FirewallPolicyRuleGroup) UnmarshalJSON

func (fprg *FirewallPolicyRuleGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallPolicyRuleGroup struct.

type FirewallPolicyRuleGroupListResult

type FirewallPolicyRuleGroupListResult struct {
	autorest.Response `json:"-"`
	// Value - List of FirewallPolicyRuleGroups in a FirewallPolicy.
	Value *[]FirewallPolicyRuleGroup `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

FirewallPolicyRuleGroupListResult response for ListFirewallPolicyRuleGroups API service call.

func (FirewallPolicyRuleGroupListResult) IsEmpty

func (fprglr FirewallPolicyRuleGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FirewallPolicyRuleGroupListResultIterator

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

FirewallPolicyRuleGroupListResultIterator provides access to a complete listing of FirewallPolicyRuleGroup values.

func NewFirewallPolicyRuleGroupListResultIterator

func NewFirewallPolicyRuleGroupListResultIterator(page FirewallPolicyRuleGroupListResultPage) FirewallPolicyRuleGroupListResultIterator

Creates a new instance of the FirewallPolicyRuleGroupListResultIterator type.

func (*FirewallPolicyRuleGroupListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FirewallPolicyRuleGroupListResultIterator) NextWithContext

func (iter *FirewallPolicyRuleGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (FirewallPolicyRuleGroupListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (FirewallPolicyRuleGroupListResultIterator) Response

Response returns the raw server response from the last page request.

func (FirewallPolicyRuleGroupListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type FirewallPolicyRuleGroupListResultPage

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

FirewallPolicyRuleGroupListResultPage contains a page of FirewallPolicyRuleGroup values.

func NewFirewallPolicyRuleGroupListResultPage

Creates a new instance of the FirewallPolicyRuleGroupListResultPage type.

func (*FirewallPolicyRuleGroupListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FirewallPolicyRuleGroupListResultPage) NextWithContext

func (page *FirewallPolicyRuleGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (FirewallPolicyRuleGroupListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (FirewallPolicyRuleGroupListResultPage) Response

Response returns the raw server response from the last page request.

func (FirewallPolicyRuleGroupListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type FirewallPolicyRuleGroupProperties

type FirewallPolicyRuleGroupProperties struct {
	// Priority - Priority of the Firewall Policy Rule Group resource.
	Priority *int32 `json:"priority,omitempty"`
	// Rules - Group of Firewall Policy rules.
	Rules *[]BasicFirewallPolicyRule `json:"rules,omitempty"`
	// ProvisioningState - The provisioning state of the firewall policy rule group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

FirewallPolicyRuleGroupProperties properties of the rule group.

func (*FirewallPolicyRuleGroupProperties) UnmarshalJSON

func (fprgp *FirewallPolicyRuleGroupProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FirewallPolicyRuleGroupProperties struct.

type FirewallPolicyRuleGroupsClient

type FirewallPolicyRuleGroupsClient struct {
	BaseClient
}

FirewallPolicyRuleGroupsClient is the network Client

func NewFirewallPolicyRuleGroupsClient

func NewFirewallPolicyRuleGroupsClient(subscriptionID string) FirewallPolicyRuleGroupsClient

NewFirewallPolicyRuleGroupsClient creates an instance of the FirewallPolicyRuleGroupsClient client.

func NewFirewallPolicyRuleGroupsClientWithBaseURI

func NewFirewallPolicyRuleGroupsClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyRuleGroupsClient

NewFirewallPolicyRuleGroupsClientWithBaseURI creates an instance of the FirewallPolicyRuleGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FirewallPolicyRuleGroupsClient) CreateOrUpdate

func (client FirewallPolicyRuleGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string, parameters FirewallPolicyRuleGroup) (result FirewallPolicyRuleGroupsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified FirewallPolicyRuleGroup. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. ruleGroupName - the name of the FirewallPolicyRuleGroup. parameters - parameters supplied to the create or update FirewallPolicyRuleGroup operation.

func (FirewallPolicyRuleGroupsClient) CreateOrUpdatePreparer

func (client FirewallPolicyRuleGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string, parameters FirewallPolicyRuleGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FirewallPolicyRuleGroupsClient) CreateOrUpdateResponder

func (client FirewallPolicyRuleGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result FirewallPolicyRuleGroup, err error)

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

func (FirewallPolicyRuleGroupsClient) CreateOrUpdateSender

func (client FirewallPolicyRuleGroupsClient) CreateOrUpdateSender(req *http.Request) (future FirewallPolicyRuleGroupsCreateOrUpdateFuture, err error)

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

func (FirewallPolicyRuleGroupsClient) Delete

func (client FirewallPolicyRuleGroupsClient) Delete(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string) (result FirewallPolicyRuleGroupsDeleteFuture, err error)

Delete deletes the specified FirewallPolicyRuleGroup. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. ruleGroupName - the name of the FirewallPolicyRuleGroup.

func (FirewallPolicyRuleGroupsClient) DeletePreparer

func (client FirewallPolicyRuleGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FirewallPolicyRuleGroupsClient) DeleteResponder

func (client FirewallPolicyRuleGroupsClient) 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 (FirewallPolicyRuleGroupsClient) DeleteSender

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

func (FirewallPolicyRuleGroupsClient) Get

func (client FirewallPolicyRuleGroupsClient) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string) (result FirewallPolicyRuleGroup, err error)

Get gets the specified FirewallPolicyRuleGroup. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy. ruleGroupName - the name of the FirewallPolicyRuleGroup.

func (FirewallPolicyRuleGroupsClient) GetPreparer

func (client FirewallPolicyRuleGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FirewallPolicyRuleGroupsClient) GetResponder

func (client FirewallPolicyRuleGroupsClient) GetResponder(resp *http.Response) (result FirewallPolicyRuleGroup, err error)

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

func (FirewallPolicyRuleGroupsClient) GetSender

func (client FirewallPolicyRuleGroupsClient) 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 (FirewallPolicyRuleGroupsClient) List

func (client FirewallPolicyRuleGroupsClient) List(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result FirewallPolicyRuleGroupListResultPage, err error)

List lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. Parameters: resourceGroupName - the name of the resource group. firewallPolicyName - the name of the Firewall Policy.

func (FirewallPolicyRuleGroupsClient) ListComplete

func (client FirewallPolicyRuleGroupsClient) ListComplete(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result FirewallPolicyRuleGroupListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (FirewallPolicyRuleGroupsClient) ListPreparer

func (client FirewallPolicyRuleGroupsClient) ListPreparer(ctx context.Context, resourceGroupName string, firewallPolicyName string) (*http.Request, error)

ListPreparer prepares the List request.

func (FirewallPolicyRuleGroupsClient) ListResponder

func (client FirewallPolicyRuleGroupsClient) ListResponder(resp *http.Response) (result FirewallPolicyRuleGroupListResult, err error)

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

func (FirewallPolicyRuleGroupsClient) ListSender

func (client FirewallPolicyRuleGroupsClient) 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 FirewallPolicyRuleGroupsCreateOrUpdateFuture

type FirewallPolicyRuleGroupsCreateOrUpdateFuture struct {
	azure.Future
}

FirewallPolicyRuleGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FirewallPolicyRuleGroupsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FirewallPolicyRuleGroupsDeleteFuture

type FirewallPolicyRuleGroupsDeleteFuture struct {
	azure.Future
}

FirewallPolicyRuleGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*FirewallPolicyRuleGroupsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FlowLogFormatParameters

type FlowLogFormatParameters struct {
	// Type - The file type of flow log. Possible values include: 'JSON'
	Type FlowLogFormatType `json:"type,omitempty"`
	// Version - The version (revision) of the flow log.
	Version *int32 `json:"version,omitempty"`
}

FlowLogFormatParameters parameters that define the flow log format.

type FlowLogFormatType

type FlowLogFormatType string

FlowLogFormatType enumerates the values for flow log format type.

const (
	// JSON ...
	JSON FlowLogFormatType = "JSON"
)

func PossibleFlowLogFormatTypeValues

func PossibleFlowLogFormatTypeValues() []FlowLogFormatType

PossibleFlowLogFormatTypeValues returns an array of possible values for the FlowLogFormatType const type.

type FlowLogInformation

type FlowLogInformation struct {
	autorest.Response `json:"-"`
	// TargetResourceID - The ID of the resource to configure for flow log and traffic analytics (optional) .
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// FlowLogProperties - Properties of the flow log.
	*FlowLogProperties `json:"properties,omitempty"`
	// FlowAnalyticsConfiguration - Parameters that define the configuration of traffic analytics.
	FlowAnalyticsConfiguration *TrafficAnalyticsProperties `json:"flowAnalyticsConfiguration,omitempty"`
}

FlowLogInformation information on the configuration of flow log and traffic analytics (optional) .

func (FlowLogInformation) MarshalJSON

func (fli FlowLogInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FlowLogInformation.

func (*FlowLogInformation) UnmarshalJSON

func (fli *FlowLogInformation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FlowLogInformation struct.

type FlowLogProperties

type FlowLogProperties struct {
	// StorageID - ID of the storage account which is used to store the flow log.
	StorageID *string `json:"storageId,omitempty"`
	// Enabled - Flag to enable/disable flow logging.
	Enabled *bool `json:"enabled,omitempty"`
	// RetentionPolicy - Parameters that define the retention policy for flow log.
	RetentionPolicy *RetentionPolicyParameters `json:"retentionPolicy,omitempty"`
	// Format - Parameters that define the flow log format.
	Format *FlowLogFormatParameters `json:"format,omitempty"`
}

FlowLogProperties parameters that define the configuration of flow log.

type FlowLogStatusParameters

type FlowLogStatusParameters struct {
	// TargetResourceID - The target resource where getting the flow log and traffic analytics (optional) status.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

FlowLogStatusParameters parameters that define a resource to query flow log and traffic analytics (optional) status.

type FrontendIPConfiguration

type FrontendIPConfiguration struct {
	autorest.Response `json:"-"`
	// FrontendIPConfigurationPropertiesFormat - Properties of the load balancer probe.
	*FrontendIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// Zones - A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones *[]string `json:"zones,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

FrontendIPConfiguration frontend IP address of the load balancer.

func (FrontendIPConfiguration) MarshalJSON

func (fic FrontendIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontendIPConfiguration.

func (*FrontendIPConfiguration) UnmarshalJSON

func (fic *FrontendIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FrontendIPConfiguration struct.

type FrontendIPConfigurationPropertiesFormat

type FrontendIPConfigurationPropertiesFormat struct {
	// InboundNatRules - READ-ONLY; An array of references to inbound rules that use this frontend IP.
	InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"`
	// InboundNatPools - READ-ONLY; An array of references to inbound pools that use this frontend IP.
	InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"`
	// OutboundRules - READ-ONLY; An array of references to outbound rules that use this frontend IP.
	OutboundRules *[]SubResource `json:"outboundRules,omitempty"`
	// LoadBalancingRules - READ-ONLY; An array of references to load balancing rules that use this frontend IP.
	LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
	// PrivateIPAddress - The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The Private IP allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// PrivateIPAddressVersion - Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: 'IPv4', 'IPv6'
	PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
	// Subnet - The reference of the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`
	// PublicIPAddress - The reference of the Public IP resource.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`
	// PublicIPPrefix - The reference of the Public IP Prefix resource.
	PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`
	// ProvisioningState - The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

FrontendIPConfigurationPropertiesFormat properties of Frontend IP Configuration of the load balancer.

type GatewayRoute

type GatewayRoute struct {
	// LocalAddress - READ-ONLY; The gateway's local address.
	LocalAddress *string `json:"localAddress,omitempty"`
	// NetworkProperty - READ-ONLY; The route's network prefix.
	NetworkProperty *string `json:"network,omitempty"`
	// NextHop - READ-ONLY; The route's next hop.
	NextHop *string `json:"nextHop,omitempty"`
	// SourcePeer - READ-ONLY; The peer this route was learned from.
	SourcePeer *string `json:"sourcePeer,omitempty"`
	// Origin - READ-ONLY; The source this route was learned from.
	Origin *string `json:"origin,omitempty"`
	// AsPath - READ-ONLY; The route's AS path sequence.
	AsPath *string `json:"asPath,omitempty"`
	// Weight - READ-ONLY; The route's weight.
	Weight *int32 `json:"weight,omitempty"`
}

GatewayRoute gateway routing details.

type GatewayRouteListResult

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

GatewayRouteListResult list of virtual network gateway routes.

type GeneratevirtualwanvpnserverconfigurationvpnprofileFuture

type GeneratevirtualwanvpnserverconfigurationvpnprofileFuture struct {
	azure.Future
}

GeneratevirtualwanvpnserverconfigurationvpnprofileFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GeneratevirtualwanvpnserverconfigurationvpnprofileFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GetVpnSitesConfigurationRequest

type GetVpnSitesConfigurationRequest struct {
	// VpnSites - List of resource-ids of the vpn-sites for which config is to be downloaded.
	VpnSites *[]string `json:"vpnSites,omitempty"`
	// OutputBlobSasURL - The sas-url to download the configurations for vpn-sites.
	OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"`
}

GetVpnSitesConfigurationRequest list of Vpn-Sites.

type HTTPConfiguration

type HTTPConfiguration struct {
	// Method - HTTP method. Possible values include: 'Get'
	Method HTTPMethod `json:"method,omitempty"`
	// Headers - List of HTTP headers.
	Headers *[]HTTPHeader `json:"headers,omitempty"`
	// ValidStatusCodes - Valid status codes.
	ValidStatusCodes *[]int32 `json:"validStatusCodes,omitempty"`
}

HTTPConfiguration HTTP configuration of the connectivity check.

type HTTPHeader

type HTTPHeader struct {
	// Name - The name in HTTP header.
	Name *string `json:"name,omitempty"`
	// Value - The value in HTTP header.
	Value *string `json:"value,omitempty"`
}

HTTPHeader describes the HTTP header.

type HTTPMethod

type HTTPMethod string

HTTPMethod enumerates the values for http method.

const (
	// Get ...
	Get HTTPMethod = "Get"
)

func PossibleHTTPMethodValues

func PossibleHTTPMethodValues() []HTTPMethod

PossibleHTTPMethodValues returns an array of possible values for the HTTPMethod const type.

type HubIPAddresses

type HubIPAddresses struct {
	// PublicIPAddresses - List of Public IP addresses associated with azure firewall.
	PublicIPAddresses *[]AzureFirewallPublicIPAddress `json:"publicIPAddresses,omitempty"`
	// PrivateIPAddress - Private IP Address associated with azure firewall.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
}

HubIPAddresses IP addresses associated with azure firewall.

type HubVirtualNetworkConnection

type HubVirtualNetworkConnection struct {
	autorest.Response `json:"-"`
	// HubVirtualNetworkConnectionProperties - Properties of the hub virtual network connection.
	*HubVirtualNetworkConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

HubVirtualNetworkConnection hubVirtualNetworkConnection Resource.

func (HubVirtualNetworkConnection) MarshalJSON

func (hvnc HubVirtualNetworkConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HubVirtualNetworkConnection.

func (*HubVirtualNetworkConnection) UnmarshalJSON

func (hvnc *HubVirtualNetworkConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HubVirtualNetworkConnection struct.

type HubVirtualNetworkConnectionProperties

type HubVirtualNetworkConnectionProperties struct {
	// RemoteVirtualNetwork - Reference to the remote virtual network.
	RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"`
	// AllowHubToRemoteVnetTransit - VirtualHub to RemoteVnet transit to enabled or not.
	AllowHubToRemoteVnetTransit *bool `json:"allowHubToRemoteVnetTransit,omitempty"`
	// AllowRemoteVnetToUseHubVnetGateways - Allow RemoteVnet to use Virtual Hub's gateways.
	AllowRemoteVnetToUseHubVnetGateways *bool `json:"allowRemoteVnetToUseHubVnetGateways,omitempty"`
	// EnableInternetSecurity - Enable internet security.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`
	// ProvisioningState - The provisioning state of the hub virtual network connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

HubVirtualNetworkConnectionProperties parameters for HubVirtualNetworkConnection.

type HubVirtualNetworkConnectionStatus

type HubVirtualNetworkConnectionStatus string

HubVirtualNetworkConnectionStatus enumerates the values for hub virtual network connection status.

const (
	// HubVirtualNetworkConnectionStatusConnected ...
	HubVirtualNetworkConnectionStatusConnected HubVirtualNetworkConnectionStatus = "Connected"
	// HubVirtualNetworkConnectionStatusConnecting ...
	HubVirtualNetworkConnectionStatusConnecting HubVirtualNetworkConnectionStatus = "Connecting"
	// HubVirtualNetworkConnectionStatusNotConnected ...
	HubVirtualNetworkConnectionStatusNotConnected HubVirtualNetworkConnectionStatus = "NotConnected"
	// HubVirtualNetworkConnectionStatusUnknown ...
	HubVirtualNetworkConnectionStatusUnknown HubVirtualNetworkConnectionStatus = "Unknown"
)

func PossibleHubVirtualNetworkConnectionStatusValues

func PossibleHubVirtualNetworkConnectionStatusValues() []HubVirtualNetworkConnectionStatus

PossibleHubVirtualNetworkConnectionStatusValues returns an array of possible values for the HubVirtualNetworkConnectionStatus const type.

type HubVirtualNetworkConnectionsClient

type HubVirtualNetworkConnectionsClient struct {
	BaseClient
}

HubVirtualNetworkConnectionsClient is the network Client

func NewHubVirtualNetworkConnectionsClient

func NewHubVirtualNetworkConnectionsClient(subscriptionID string) HubVirtualNetworkConnectionsClient

NewHubVirtualNetworkConnectionsClient creates an instance of the HubVirtualNetworkConnectionsClient client.

func NewHubVirtualNetworkConnectionsClientWithBaseURI

func NewHubVirtualNetworkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HubVirtualNetworkConnectionsClient

NewHubVirtualNetworkConnectionsClientWithBaseURI creates an instance of the HubVirtualNetworkConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HubVirtualNetworkConnectionsClient) Get

func (client HubVirtualNetworkConnectionsClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (result HubVirtualNetworkConnection, err error)

Get retrieves the details of a HubVirtualNetworkConnection. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. connectionName - the name of the vpn connection.

func (HubVirtualNetworkConnectionsClient) GetPreparer

func (client HubVirtualNetworkConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (HubVirtualNetworkConnectionsClient) GetResponder

func (client HubVirtualNetworkConnectionsClient) GetResponder(resp *http.Response) (result HubVirtualNetworkConnection, err error)

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

func (HubVirtualNetworkConnectionsClient) GetSender

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

func (HubVirtualNetworkConnectionsClient) List

func (client HubVirtualNetworkConnectionsClient) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListHubVirtualNetworkConnectionsResultPage, err error)

List retrieves the details of all HubVirtualNetworkConnections. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.

func (HubVirtualNetworkConnectionsClient) ListComplete

func (client HubVirtualNetworkConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result ListHubVirtualNetworkConnectionsResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (HubVirtualNetworkConnectionsClient) ListPreparer

func (client HubVirtualNetworkConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)

ListPreparer prepares the List request.

func (HubVirtualNetworkConnectionsClient) ListResponder

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

func (HubVirtualNetworkConnectionsClient) ListSender

func (client HubVirtualNetworkConnectionsClient) 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 IPAddressAvailabilityResult

type IPAddressAvailabilityResult struct {
	autorest.Response `json:"-"`
	// Available - Private IP address availability.
	Available *bool `json:"available,omitempty"`
	// AvailableIPAddresses - Contains other available private IP addresses if the asked for address is taken.
	AvailableIPAddresses *[]string `json:"availableIPAddresses,omitempty"`
}

IPAddressAvailabilityResult response for CheckIPAddressAvailability API service call.

type IPAllocationMethod

type IPAllocationMethod string

IPAllocationMethod enumerates the values for ip allocation method.

const (
	// Dynamic ...
	Dynamic IPAllocationMethod = "Dynamic"
	// Static ...
	Static IPAllocationMethod = "Static"
)

func PossibleIPAllocationMethodValues

func PossibleIPAllocationMethodValues() []IPAllocationMethod

PossibleIPAllocationMethodValues returns an array of possible values for the IPAllocationMethod const type.

type IPConfiguration

type IPConfiguration struct {
	// IPConfigurationPropertiesFormat - Properties of the IP configuration.
	*IPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

IPConfiguration IP configuration.

func (IPConfiguration) MarshalJSON

func (ic IPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IPConfiguration.

func (*IPConfiguration) UnmarshalJSON

func (ic *IPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IPConfiguration struct.

type IPConfigurationProfile

type IPConfigurationProfile struct {
	// IPConfigurationProfilePropertiesFormat - Properties of the IP configuration profile.
	*IPConfigurationProfilePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

IPConfigurationProfile IP configuration profile child resource.

func (IPConfigurationProfile) MarshalJSON

func (icp IPConfigurationProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IPConfigurationProfile.

func (*IPConfigurationProfile) UnmarshalJSON

func (icp *IPConfigurationProfile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IPConfigurationProfile struct.

type IPConfigurationProfilePropertiesFormat

type IPConfigurationProfilePropertiesFormat struct {
	// Subnet - The reference of the subnet resource to create a container network interface ip configuration.
	Subnet *Subnet `json:"subnet,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the IP configuration profile resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

IPConfigurationProfilePropertiesFormat IP configuration profile properties.

type IPConfigurationPropertiesFormat

type IPConfigurationPropertiesFormat struct {
	// PrivateIPAddress - The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// Subnet - The reference of the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`
	// PublicIPAddress - The reference of the public IP resource.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`
	// ProvisioningState - The provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

IPConfigurationPropertiesFormat properties of IP configuration.

type IPFlowProtocol

type IPFlowProtocol string

IPFlowProtocol enumerates the values for ip flow protocol.

const (
	// IPFlowProtocolTCP ...
	IPFlowProtocolTCP IPFlowProtocol = "TCP"
	// IPFlowProtocolUDP ...
	IPFlowProtocolUDP IPFlowProtocol = "UDP"
)

func PossibleIPFlowProtocolValues

func PossibleIPFlowProtocolValues() []IPFlowProtocol

PossibleIPFlowProtocolValues returns an array of possible values for the IPFlowProtocol const type.

type IPTag

type IPTag struct {
	// IPTagType - The IP tag type. Example: FirstPartyUsage.
	IPTagType *string `json:"ipTagType,omitempty"`
	// Tag - The value of the IP tag associated with the public IP. Example: SQL.
	Tag *string `json:"tag,omitempty"`
}

IPTag contains the IpTag associated with the object.

type IPVersion

type IPVersion string

IPVersion enumerates the values for ip version.

const (
	// IPv4 ...
	IPv4 IPVersion = "IPv4"
	// IPv6 ...
	IPv6 IPVersion = "IPv6"
)

func PossibleIPVersionValues

func PossibleIPVersionValues() []IPVersion

PossibleIPVersionValues returns an array of possible values for the IPVersion const type.

type IkeEncryption

type IkeEncryption string

IkeEncryption enumerates the values for ike encryption.

const (
	// AES128 ...
	AES128 IkeEncryption = "AES128"
	// AES192 ...
	AES192 IkeEncryption = "AES192"
	// AES256 ...
	AES256 IkeEncryption = "AES256"
	// DES ...
	DES IkeEncryption = "DES"
	// DES3 ...
	DES3 IkeEncryption = "DES3"
	// GCMAES128 ...
	GCMAES128 IkeEncryption = "GCMAES128"
	// GCMAES256 ...
	GCMAES256 IkeEncryption = "GCMAES256"
)

func PossibleIkeEncryptionValues

func PossibleIkeEncryptionValues() []IkeEncryption

PossibleIkeEncryptionValues returns an array of possible values for the IkeEncryption const type.

type IkeIntegrity

type IkeIntegrity string

IkeIntegrity enumerates the values for ike integrity.

const (
	// IkeIntegrityGCMAES128 ...
	IkeIntegrityGCMAES128 IkeIntegrity = "GCMAES128"
	// IkeIntegrityGCMAES256 ...
	IkeIntegrityGCMAES256 IkeIntegrity = "GCMAES256"
	// IkeIntegrityMD5 ...
	IkeIntegrityMD5 IkeIntegrity = "MD5"
	// IkeIntegritySHA1 ...
	IkeIntegritySHA1 IkeIntegrity = "SHA1"
	// IkeIntegritySHA256 ...
	IkeIntegritySHA256 IkeIntegrity = "SHA256"
	// IkeIntegritySHA384 ...
	IkeIntegritySHA384 IkeIntegrity = "SHA384"
)

func PossibleIkeIntegrityValues

func PossibleIkeIntegrityValues() []IkeIntegrity

PossibleIkeIntegrityValues returns an array of possible values for the IkeIntegrity const type.

type InboundNatPool

type InboundNatPool struct {
	// InboundNatPoolPropertiesFormat - Properties of load balancer inbound nat pool.
	*InboundNatPoolPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

InboundNatPool inbound NAT pool of the load balancer.

func (InboundNatPool) MarshalJSON

func (inp InboundNatPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InboundNatPool.

func (*InboundNatPool) UnmarshalJSON

func (inp *InboundNatPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InboundNatPool struct.

type InboundNatPoolPropertiesFormat

type InboundNatPoolPropertiesFormat struct {
	// FrontendIPConfiguration - A reference to frontend IP addresses.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
	// Protocol - The reference to the transport protocol used by the inbound NAT pool. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll'
	Protocol TransportProtocol `json:"protocol,omitempty"`
	// FrontendPortRangeStart - The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.
	FrontendPortRangeStart *int32 `json:"frontendPortRangeStart,omitempty"`
	// FrontendPortRangeEnd - The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.
	FrontendPortRangeEnd *int32 `json:"frontendPortRangeEnd,omitempty"`
	// BackendPort - The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.
	BackendPort *int32 `json:"backendPort,omitempty"`
	// IdleTimeoutInMinutes - The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
	// EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
	EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
	// EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`
	// ProvisioningState - The provisioning state of the inbound NAT pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

InboundNatPoolPropertiesFormat properties of Inbound NAT pool.

type InboundNatRule

type InboundNatRule struct {
	autorest.Response `json:"-"`
	// InboundNatRulePropertiesFormat - Properties of load balancer inbound nat rule.
	*InboundNatRulePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

InboundNatRule inbound NAT rule of the load balancer.

func (InboundNatRule) MarshalJSON

func (inr InboundNatRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InboundNatRule.

func (*InboundNatRule) UnmarshalJSON

func (inr *InboundNatRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InboundNatRule struct.

type InboundNatRuleListResult

type InboundNatRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of inbound nat rules in a load balancer.
	Value *[]InboundNatRule `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

InboundNatRuleListResult response for ListInboundNatRule API service call.

func (InboundNatRuleListResult) IsEmpty

func (inrlr InboundNatRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InboundNatRuleListResultIterator

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

InboundNatRuleListResultIterator provides access to a complete listing of InboundNatRule values.

func NewInboundNatRuleListResultIterator

func NewInboundNatRuleListResultIterator(page InboundNatRuleListResultPage) InboundNatRuleListResultIterator

Creates a new instance of the InboundNatRuleListResultIterator type.

func (*InboundNatRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InboundNatRuleListResultIterator) NextWithContext

func (iter *InboundNatRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InboundNatRuleListResultIterator) NotDone

func (iter InboundNatRuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (InboundNatRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (InboundNatRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InboundNatRuleListResultPage

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

InboundNatRuleListResultPage contains a page of InboundNatRule values.

func NewInboundNatRuleListResultPage

func NewInboundNatRuleListResultPage(getNextPage func(context.Context, InboundNatRuleListResult) (InboundNatRuleListResult, error)) InboundNatRuleListResultPage

Creates a new instance of the InboundNatRuleListResultPage type.

func (*InboundNatRuleListResultPage) Next

func (page *InboundNatRuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InboundNatRuleListResultPage) NextWithContext

func (page *InboundNatRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InboundNatRuleListResultPage) NotDone

func (page InboundNatRuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InboundNatRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (InboundNatRuleListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type InboundNatRulePropertiesFormat

type InboundNatRulePropertiesFormat struct {
	// FrontendIPConfiguration - A reference to frontend IP addresses.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
	// BackendIPConfiguration - READ-ONLY; A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.
	BackendIPConfiguration *InterfaceIPConfiguration `json:"backendIPConfiguration,omitempty"`
	// Protocol - The reference to the transport protocol used by the load balancing rule. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll'
	Protocol TransportProtocol `json:"protocol,omitempty"`
	// FrontendPort - The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.
	FrontendPort *int32 `json:"frontendPort,omitempty"`
	// BackendPort - The port used for the internal endpoint. Acceptable values range from 1 to 65535.
	BackendPort *int32 `json:"backendPort,omitempty"`
	// IdleTimeoutInMinutes - The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
	// EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
	EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
	// EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`
	// ProvisioningState - The provisioning state of the inbound NAT rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

InboundNatRulePropertiesFormat properties of the inbound NAT rule.

type InboundNatRulesClient

type InboundNatRulesClient struct {
	BaseClient
}

InboundNatRulesClient is the network Client

func NewInboundNatRulesClient

func NewInboundNatRulesClient(subscriptionID string) InboundNatRulesClient

NewInboundNatRulesClient creates an instance of the InboundNatRulesClient client.

func NewInboundNatRulesClientWithBaseURI

func NewInboundNatRulesClientWithBaseURI(baseURI string, subscriptionID string) InboundNatRulesClient

NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (InboundNatRulesClient) CreateOrUpdate

func (client InboundNatRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule) (result InboundNatRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a load balancer inbound nat rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. inboundNatRuleName - the name of the inbound nat rule. inboundNatRuleParameters - parameters supplied to the create or update inbound nat rule operation.

func (InboundNatRulesClient) CreateOrUpdatePreparer

func (client InboundNatRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, inboundNatRuleParameters InboundNatRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InboundNatRulesClient) CreateOrUpdateResponder

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

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

func (InboundNatRulesClient) CreateOrUpdateSender

func (client InboundNatRulesClient) CreateOrUpdateSender(req *http.Request) (future InboundNatRulesCreateOrUpdateFuture, err error)

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

func (InboundNatRulesClient) Delete

func (client InboundNatRulesClient) Delete(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string) (result InboundNatRulesDeleteFuture, err error)

Delete deletes the specified load balancer inbound nat rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. inboundNatRuleName - the name of the inbound nat rule.

func (InboundNatRulesClient) DeletePreparer

func (client InboundNatRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (InboundNatRulesClient) DeleteResponder

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

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

func (InboundNatRulesClient) DeleteSender

func (client InboundNatRulesClient) DeleteSender(req *http.Request) (future InboundNatRulesDeleteFuture, err error)

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

func (InboundNatRulesClient) Get

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

Get gets the specified load balancer inbound nat rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. inboundNatRuleName - the name of the inbound nat rule. expand - expands referenced resources.

func (InboundNatRulesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (InboundNatRulesClient) GetResponder

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

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

func (InboundNatRulesClient) GetSender

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

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

func (InboundNatRulesClient) List

func (client InboundNatRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InboundNatRuleListResultPage, err error)

List gets all the inbound nat rules in a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (InboundNatRulesClient) ListComplete

func (client InboundNatRulesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InboundNatRuleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InboundNatRulesClient) ListPreparer

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

ListPreparer prepares the List request.

func (InboundNatRulesClient) ListResponder

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

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

func (InboundNatRulesClient) ListSender

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

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

type InboundNatRulesCreateOrUpdateFuture

type InboundNatRulesCreateOrUpdateFuture struct {
	azure.Future
}

InboundNatRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InboundNatRulesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InboundNatRulesDeleteFuture

type InboundNatRulesDeleteFuture struct {
	azure.Future
}

InboundNatRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InboundNatRulesDeleteFuture) Result

func (future *InboundNatRulesDeleteFuture) Result(client InboundNatRulesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type IntentPolicy

type IntentPolicy struct {
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

IntentPolicy network Intent Policy resource.

func (IntentPolicy) MarshalJSON

func (IP IntentPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IntentPolicy.

type IntentPolicyConfiguration

type IntentPolicyConfiguration struct {
	// NetworkIntentPolicyName - The name of the Network Intent Policy for storing in target subscription.
	NetworkIntentPolicyName *string `json:"networkIntentPolicyName,omitempty"`
	// SourceNetworkIntentPolicy - Source network intent policy.
	SourceNetworkIntentPolicy *IntentPolicy `json:"sourceNetworkIntentPolicy,omitempty"`
}

IntentPolicyConfiguration details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.

type Interface

type Interface struct {
	autorest.Response `json:"-"`
	// InterfacePropertiesFormat - Properties of the network interface.
	*InterfacePropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Interface a network interface in a resource group.

func (Interface) MarshalJSON

func (i Interface) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Interface.

func (*Interface) UnmarshalJSON

func (i *Interface) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Interface struct.

type InterfaceAssociation

type InterfaceAssociation struct {
	// ID - READ-ONLY; Network interface ID.
	ID *string `json:"id,omitempty"`
	// SecurityRules - Collection of custom security rules.
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
}

InterfaceAssociation network interface and its custom security rules.

type InterfaceDNSSettings

type InterfaceDNSSettings struct {
	// DNSServers - List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
	DNSServers *[]string `json:"dnsServers,omitempty"`
	// AppliedDNSServers - If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.
	AppliedDNSServers *[]string `json:"appliedDnsServers,omitempty"`
	// InternalDNSNameLabel - Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
	InternalDNSNameLabel *string `json:"internalDnsNameLabel,omitempty"`
	// InternalFqdn - Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
	InternalFqdn *string `json:"internalFqdn,omitempty"`
	// InternalDomainNameSuffix - Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
	InternalDomainNameSuffix *string `json:"internalDomainNameSuffix,omitempty"`
}

InterfaceDNSSettings DNS settings of a network interface.

type InterfaceIPConfiguration

type InterfaceIPConfiguration struct {
	autorest.Response `json:"-"`
	// InterfaceIPConfigurationPropertiesFormat - Network interface IP configuration properties.
	*InterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

InterfaceIPConfiguration iPConfiguration in a network interface.

func (InterfaceIPConfiguration) MarshalJSON

func (iic InterfaceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceIPConfiguration.

func (*InterfaceIPConfiguration) UnmarshalJSON

func (iic *InterfaceIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InterfaceIPConfiguration struct.

type InterfaceIPConfigurationListResult

type InterfaceIPConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ip configurations.
	Value *[]InterfaceIPConfiguration `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

InterfaceIPConfigurationListResult response for list ip configurations API service call.

func (InterfaceIPConfigurationListResult) IsEmpty

func (iiclr InterfaceIPConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InterfaceIPConfigurationListResultIterator

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

InterfaceIPConfigurationListResultIterator provides access to a complete listing of InterfaceIPConfiguration values.

func NewInterfaceIPConfigurationListResultIterator

func NewInterfaceIPConfigurationListResultIterator(page InterfaceIPConfigurationListResultPage) InterfaceIPConfigurationListResultIterator

Creates a new instance of the InterfaceIPConfigurationListResultIterator type.

func (*InterfaceIPConfigurationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceIPConfigurationListResultIterator) NextWithContext

func (iter *InterfaceIPConfigurationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InterfaceIPConfigurationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (InterfaceIPConfigurationListResultIterator) Response

Response returns the raw server response from the last page request.

func (InterfaceIPConfigurationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InterfaceIPConfigurationListResultPage

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

InterfaceIPConfigurationListResultPage contains a page of InterfaceIPConfiguration values.

func NewInterfaceIPConfigurationListResultPage

Creates a new instance of the InterfaceIPConfigurationListResultPage type.

func (*InterfaceIPConfigurationListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceIPConfigurationListResultPage) NextWithContext

func (page *InterfaceIPConfigurationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InterfaceIPConfigurationListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InterfaceIPConfigurationListResultPage) Response

Response returns the raw server response from the last page request.

func (InterfaceIPConfigurationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type InterfaceIPConfigurationPrivateLinkConnectionProperties

type InterfaceIPConfigurationPrivateLinkConnectionProperties struct {
	// GroupID - READ-ONLY; The group ID for current private link connection.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMemberName - READ-ONLY; The required member name for current private link connection.
	RequiredMemberName *string `json:"requiredMemberName,omitempty"`
	// Fqdns - READ-ONLY; List of FQDNs for current private link connection.
	Fqdns *[]string `json:"fqdns,omitempty"`
}

InterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnection properties for the network interface.

type InterfaceIPConfigurationPropertiesFormat

type InterfaceIPConfigurationPropertiesFormat struct {
	// VirtualNetworkTaps - The reference to Virtual Network Taps.
	VirtualNetworkTaps *[]VirtualNetworkTap `json:"virtualNetworkTaps,omitempty"`
	// ApplicationGatewayBackendAddressPools - The reference of ApplicationGatewayBackendAddressPool resource.
	ApplicationGatewayBackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"applicationGatewayBackendAddressPools,omitempty"`
	// LoadBalancerBackendAddressPools - The reference of LoadBalancerBackendAddressPool resource.
	LoadBalancerBackendAddressPools *[]BackendAddressPool `json:"loadBalancerBackendAddressPools,omitempty"`
	// LoadBalancerInboundNatRules - A list of references of LoadBalancerInboundNatRules.
	LoadBalancerInboundNatRules *[]InboundNatRule `json:"loadBalancerInboundNatRules,omitempty"`
	// PrivateIPAddress - Private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// PrivateIPAddressVersion - Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'
	PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
	// Subnet - Subnet bound to the IP configuration.
	Subnet *Subnet `json:"subnet,omitempty"`
	// Primary - Whether this is a primary customer address on the network interface.
	Primary *bool `json:"primary,omitempty"`
	// PublicIPAddress - Public IP address bound to the IP configuration.
	PublicIPAddress *PublicIPAddress `json:"publicIPAddress,omitempty"`
	// ApplicationSecurityGroups - Application security groups in which the IP configuration is included.
	ApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"`
	// ProvisioningState - The provisioning state of the network interface IP configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateLinkConnectionProperties - READ-ONLY; PrivateLinkConnection properties for the network interface.
	PrivateLinkConnectionProperties *InterfaceIPConfigurationPrivateLinkConnectionProperties `json:"privateLinkConnectionProperties,omitempty"`
}

InterfaceIPConfigurationPropertiesFormat properties of IP configuration.

type InterfaceIPConfigurationsClient

type InterfaceIPConfigurationsClient struct {
	BaseClient
}

InterfaceIPConfigurationsClient is the network Client

func NewInterfaceIPConfigurationsClient

func NewInterfaceIPConfigurationsClient(subscriptionID string) InterfaceIPConfigurationsClient

NewInterfaceIPConfigurationsClient creates an instance of the InterfaceIPConfigurationsClient client.

func NewInterfaceIPConfigurationsClientWithBaseURI

func NewInterfaceIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceIPConfigurationsClient

NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (InterfaceIPConfigurationsClient) Get

func (client InterfaceIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (result InterfaceIPConfiguration, err error)

Get gets the specified network interface ip configuration. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the ip configuration name.

func (InterfaceIPConfigurationsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (InterfaceIPConfigurationsClient) GetResponder

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

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

func (InterfaceIPConfigurationsClient) GetSender

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

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

func (InterfaceIPConfigurationsClient) List

func (client InterfaceIPConfigurationsClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceIPConfigurationListResultPage, err error)

List get all ip configurations in a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfaceIPConfigurationsClient) ListComplete

func (client InterfaceIPConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceIPConfigurationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfaceIPConfigurationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (InterfaceIPConfigurationsClient) ListResponder

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

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

func (InterfaceIPConfigurationsClient) ListSender

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

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

type InterfaceListResult

type InterfaceListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of network interfaces in a resource group.
	Value *[]Interface `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

InterfaceListResult response for the ListNetworkInterface API service call.

func (InterfaceListResult) IsEmpty

func (ilr InterfaceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InterfaceListResultIterator

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

InterfaceListResultIterator provides access to a complete listing of Interface values.

func NewInterfaceListResultIterator

func NewInterfaceListResultIterator(page InterfaceListResultPage) InterfaceListResultIterator

Creates a new instance of the InterfaceListResultIterator type.

func (*InterfaceListResultIterator) Next

func (iter *InterfaceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceListResultIterator) NextWithContext

func (iter *InterfaceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InterfaceListResultIterator) NotDone

func (iter InterfaceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (InterfaceListResultIterator) Response

Response returns the raw server response from the last page request.

func (InterfaceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InterfaceListResultPage

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

InterfaceListResultPage contains a page of Interface values.

func NewInterfaceListResultPage

func NewInterfaceListResultPage(getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage

Creates a new instance of the InterfaceListResultPage type.

func (*InterfaceListResultPage) Next

func (page *InterfaceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceListResultPage) NextWithContext

func (page *InterfaceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InterfaceListResultPage) NotDone

func (page InterfaceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InterfaceListResultPage) Response

Response returns the raw server response from the last page request.

func (InterfaceListResultPage) Values

func (page InterfaceListResultPage) Values() []Interface

Values returns the slice of values for the current page or nil if there are no values.

type InterfaceLoadBalancerListResult

type InterfaceLoadBalancerListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of load balancers.
	Value *[]LoadBalancer `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

InterfaceLoadBalancerListResult response for list ip configurations API service call.

func (InterfaceLoadBalancerListResult) IsEmpty

func (ilblr InterfaceLoadBalancerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InterfaceLoadBalancerListResultIterator

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

InterfaceLoadBalancerListResultIterator provides access to a complete listing of LoadBalancer values.

func NewInterfaceLoadBalancerListResultIterator

func NewInterfaceLoadBalancerListResultIterator(page InterfaceLoadBalancerListResultPage) InterfaceLoadBalancerListResultIterator

Creates a new instance of the InterfaceLoadBalancerListResultIterator type.

func (*InterfaceLoadBalancerListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceLoadBalancerListResultIterator) NextWithContext

func (iter *InterfaceLoadBalancerListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InterfaceLoadBalancerListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (InterfaceLoadBalancerListResultIterator) Response

Response returns the raw server response from the last page request.

func (InterfaceLoadBalancerListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InterfaceLoadBalancerListResultPage

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

InterfaceLoadBalancerListResultPage contains a page of LoadBalancer values.

func NewInterfaceLoadBalancerListResultPage

Creates a new instance of the InterfaceLoadBalancerListResultPage type.

func (*InterfaceLoadBalancerListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceLoadBalancerListResultPage) NextWithContext

func (page *InterfaceLoadBalancerListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InterfaceLoadBalancerListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InterfaceLoadBalancerListResultPage) Response

Response returns the raw server response from the last page request.

func (InterfaceLoadBalancerListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type InterfaceLoadBalancersClient

type InterfaceLoadBalancersClient struct {
	BaseClient
}

InterfaceLoadBalancersClient is the network Client

func NewInterfaceLoadBalancersClient

func NewInterfaceLoadBalancersClient(subscriptionID string) InterfaceLoadBalancersClient

NewInterfaceLoadBalancersClient creates an instance of the InterfaceLoadBalancersClient client.

func NewInterfaceLoadBalancersClientWithBaseURI

func NewInterfaceLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) InterfaceLoadBalancersClient

NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (InterfaceLoadBalancersClient) List

func (client InterfaceLoadBalancersClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceLoadBalancerListResultPage, err error)

List list all load balancers in a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfaceLoadBalancersClient) ListComplete

func (client InterfaceLoadBalancersClient) ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceLoadBalancerListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfaceLoadBalancersClient) ListPreparer

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

ListPreparer prepares the List request.

func (InterfaceLoadBalancersClient) ListResponder

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

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

func (InterfaceLoadBalancersClient) ListSender

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

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

type InterfacePropertiesFormat

type InterfacePropertiesFormat struct {
	// VirtualMachine - READ-ONLY; The reference of a virtual machine.
	VirtualMachine *SubResource `json:"virtualMachine,omitempty"`
	// NetworkSecurityGroup - The reference of the NetworkSecurityGroup resource.
	NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"`
	// PrivateEndpoint - READ-ONLY; A reference to the private endpoint to which the network interface is linked.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// IPConfigurations - A list of IPConfigurations of the network interface.
	IPConfigurations *[]InterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
	// TapConfigurations - A list of TapConfigurations of the network interface.
	TapConfigurations *[]InterfaceTapConfiguration `json:"tapConfigurations,omitempty"`
	// DNSSettings - The DNS settings in network interface.
	DNSSettings *InterfaceDNSSettings `json:"dnsSettings,omitempty"`
	// MacAddress - The MAC address of the network interface.
	MacAddress *string `json:"macAddress,omitempty"`
	// Primary - Whether this is a primary network interface on a virtual machine.
	Primary *bool `json:"primary,omitempty"`
	// EnableAcceleratedNetworking - If the network interface is accelerated networking enabled.
	EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
	// EnableIPForwarding - Indicates whether IP forwarding is enabled on this network interface.
	EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
	// HostedWorkloads - READ-ONLY; A list of references to linked BareMetal resources.
	HostedWorkloads *[]string `json:"hostedWorkloads,omitempty"`
	// ResourceGUID - The resource GUID property of the network interface resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

InterfacePropertiesFormat networkInterface properties.

type InterfaceTapConfiguration

type InterfaceTapConfiguration struct {
	autorest.Response `json:"-"`
	// InterfaceTapConfigurationPropertiesFormat - Properties of the Virtual Network Tap configuration.
	*InterfaceTapConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

InterfaceTapConfiguration tap configuration in a Network Interface.

func (InterfaceTapConfiguration) MarshalJSON

func (itc InterfaceTapConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceTapConfiguration.

func (*InterfaceTapConfiguration) UnmarshalJSON

func (itc *InterfaceTapConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for InterfaceTapConfiguration struct.

type InterfaceTapConfigurationListResult

type InterfaceTapConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of tap configurations.
	Value *[]InterfaceTapConfiguration `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

InterfaceTapConfigurationListResult response for list tap configurations API service call.

func (InterfaceTapConfigurationListResult) IsEmpty

func (itclr InterfaceTapConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type InterfaceTapConfigurationListResultIterator

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

InterfaceTapConfigurationListResultIterator provides access to a complete listing of InterfaceTapConfiguration values.

func NewInterfaceTapConfigurationListResultIterator

func NewInterfaceTapConfigurationListResultIterator(page InterfaceTapConfigurationListResultPage) InterfaceTapConfigurationListResultIterator

Creates a new instance of the InterfaceTapConfigurationListResultIterator type.

func (*InterfaceTapConfigurationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceTapConfigurationListResultIterator) NextWithContext

func (iter *InterfaceTapConfigurationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (InterfaceTapConfigurationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (InterfaceTapConfigurationListResultIterator) Response

Response returns the raw server response from the last page request.

func (InterfaceTapConfigurationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type InterfaceTapConfigurationListResultPage

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

InterfaceTapConfigurationListResultPage contains a page of InterfaceTapConfiguration values.

func NewInterfaceTapConfigurationListResultPage

Creates a new instance of the InterfaceTapConfigurationListResultPage type.

func (*InterfaceTapConfigurationListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*InterfaceTapConfigurationListResultPage) NextWithContext

func (page *InterfaceTapConfigurationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (InterfaceTapConfigurationListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (InterfaceTapConfigurationListResultPage) Response

Response returns the raw server response from the last page request.

func (InterfaceTapConfigurationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type InterfaceTapConfigurationPropertiesFormat

type InterfaceTapConfigurationPropertiesFormat struct {
	// VirtualNetworkTap - The reference of the Virtual Network Tap resource.
	VirtualNetworkTap *VirtualNetworkTap `json:"virtualNetworkTap,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the network interface tap configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

InterfaceTapConfigurationPropertiesFormat properties of Virtual Network Tap configuration.

type InterfaceTapConfigurationsClient

type InterfaceTapConfigurationsClient struct {
	BaseClient
}

InterfaceTapConfigurationsClient is the network Client

func NewInterfaceTapConfigurationsClient

func NewInterfaceTapConfigurationsClient(subscriptionID string) InterfaceTapConfigurationsClient

NewInterfaceTapConfigurationsClient creates an instance of the InterfaceTapConfigurationsClient client.

func NewInterfaceTapConfigurationsClientWithBaseURI

func NewInterfaceTapConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceTapConfigurationsClient

NewInterfaceTapConfigurationsClientWithBaseURI creates an instance of the InterfaceTapConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (InterfaceTapConfigurationsClient) CreateOrUpdate

func (client InterfaceTapConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string, tapConfigurationParameters InterfaceTapConfiguration) (result InterfaceTapConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a Tap configuration in the specified NetworkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. tapConfigurationName - the name of the tap configuration. tapConfigurationParameters - parameters supplied to the create or update tap configuration operation.

func (InterfaceTapConfigurationsClient) CreateOrUpdatePreparer

func (client InterfaceTapConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string, tapConfigurationParameters InterfaceTapConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (InterfaceTapConfigurationsClient) CreateOrUpdateResponder

func (client InterfaceTapConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result InterfaceTapConfiguration, err error)

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

func (InterfaceTapConfigurationsClient) CreateOrUpdateSender

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

func (InterfaceTapConfigurationsClient) Delete

func (client InterfaceTapConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (result InterfaceTapConfigurationsDeleteFuture, err error)

Delete deletes the specified tap configuration from the NetworkInterface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. tapConfigurationName - the name of the tap configuration.

func (InterfaceTapConfigurationsClient) DeletePreparer

func (client InterfaceTapConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (InterfaceTapConfigurationsClient) DeleteResponder

func (client InterfaceTapConfigurationsClient) 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 (InterfaceTapConfigurationsClient) DeleteSender

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

func (InterfaceTapConfigurationsClient) Get

func (client InterfaceTapConfigurationsClient) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (result InterfaceTapConfiguration, err error)

Get get the specified tap configuration on a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. tapConfigurationName - the name of the tap configuration.

func (InterfaceTapConfigurationsClient) GetPreparer

func (client InterfaceTapConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (InterfaceTapConfigurationsClient) GetResponder

func (client InterfaceTapConfigurationsClient) GetResponder(resp *http.Response) (result InterfaceTapConfiguration, err error)

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

func (InterfaceTapConfigurationsClient) GetSender

func (client InterfaceTapConfigurationsClient) 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 (InterfaceTapConfigurationsClient) List

func (client InterfaceTapConfigurationsClient) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceTapConfigurationListResultPage, err error)

List get all Tap configurations in a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfaceTapConfigurationsClient) ListComplete

func (client InterfaceTapConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfaceTapConfigurationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfaceTapConfigurationsClient) ListPreparer

func (client InterfaceTapConfigurationsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (InterfaceTapConfigurationsClient) ListResponder

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

func (InterfaceTapConfigurationsClient) ListSender

func (client InterfaceTapConfigurationsClient) 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 InterfaceTapConfigurationsCreateOrUpdateFuture

type InterfaceTapConfigurationsCreateOrUpdateFuture struct {
	azure.Future
}

InterfaceTapConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfaceTapConfigurationsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InterfaceTapConfigurationsDeleteFuture

type InterfaceTapConfigurationsDeleteFuture struct {
	azure.Future
}

InterfaceTapConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfaceTapConfigurationsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InterfacesClient

type InterfacesClient struct {
	BaseClient
}

InterfacesClient is the network Client

func NewInterfacesClient

func NewInterfacesClient(subscriptionID string) InterfacesClient

NewInterfacesClient creates an instance of the InterfacesClient client.

func NewInterfacesClientWithBaseURI

func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient

NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (InterfacesClient) CreateOrUpdate

func (client InterfacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (result InterfacesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. parameters - parameters supplied to the create or update network interface operation.

func (InterfacesClient) CreateOrUpdatePreparer

func (client InterfacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters Interface) (*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) (future InterfacesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesDeleteFuture, err error)

Delete deletes the specified network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfacesClient) DeletePreparer

func (client InterfacesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*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) (future InterfacesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, networkInterfaceName string, expand string) (result Interface, err error)

Get gets information about the specified network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. expand - expands referenced resources.

func (InterfacesClient) GetEffectiveRouteTable

func (client InterfacesClient) GetEffectiveRouteTable(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesGetEffectiveRouteTableFuture, err error)

GetEffectiveRouteTable gets all route tables applied to a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfacesClient) GetEffectiveRouteTablePreparer

func (client InterfacesClient) GetEffectiveRouteTablePreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*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) (future InterfacesGetEffectiveRouteTableFuture, err 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(ctx context.Context, 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) GetVirtualMachineScaleSetIPConfiguration

func (client InterfacesClient) GetVirtualMachineScaleSetIPConfiguration(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, expand string) (result InterfaceIPConfiguration, err error)

GetVirtualMachineScaleSetIPConfiguration get the specified network interface ip configuration in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the ip configuration. expand - expands referenced resources.

func (InterfacesClient) GetVirtualMachineScaleSetIPConfigurationPreparer

func (client InterfacesClient) GetVirtualMachineScaleSetIPConfigurationPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, expand string) (*http.Request, error)

GetVirtualMachineScaleSetIPConfigurationPreparer prepares the GetVirtualMachineScaleSetIPConfiguration request.

func (InterfacesClient) GetVirtualMachineScaleSetIPConfigurationResponder

func (client InterfacesClient) GetVirtualMachineScaleSetIPConfigurationResponder(resp *http.Response) (result InterfaceIPConfiguration, err error)

GetVirtualMachineScaleSetIPConfigurationResponder handles the response to the GetVirtualMachineScaleSetIPConfiguration request. The method always closes the http.Response Body.

func (InterfacesClient) GetVirtualMachineScaleSetIPConfigurationSender

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

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

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterface

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. expand - expands referenced resources.

func (InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer

func (client InterfacesClient) GetVirtualMachineScaleSetNetworkInterfacePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result InterfaceListResultPage, err error)

List gets all network interfaces in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (InterfacesClient) ListAll

func (client InterfacesClient) ListAll(ctx context.Context) (result InterfaceListResultPage, err error)

ListAll gets all network interfaces in a subscription.

func (InterfacesClient) ListAllComplete

func (client InterfacesClient) ListAllComplete(ctx context.Context) (result InterfaceListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfacesClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (InterfacesClient) ListAllResponder

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

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

func (InterfacesClient) ListAllSender

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

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

func (InterfacesClient) ListComplete

func (client InterfacesClient) ListComplete(ctx context.Context, resourceGroupName string) (result InterfaceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfacesClient) ListEffectiveNetworkSecurityGroups

func (client InterfacesClient) ListEffectiveNetworkSecurityGroups(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result InterfacesListEffectiveNetworkSecurityGroupsFuture, err error)

ListEffectiveNetworkSecurityGroups gets all network security groups applied to a network interface. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface.

func (InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer

func (client InterfacesClient) ListEffectiveNetworkSecurityGroupsPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string) (*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) (future InterfacesListEffectiveNetworkSecurityGroupsFuture, err error)

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

func (InterfacesClient) ListPreparer

func (client InterfacesClient) ListPreparer(ctx context.Context, 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) ListVirtualMachineScaleSetIPConfigurations

func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurations(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result InterfaceIPConfigurationListResultPage, err error)

ListVirtualMachineScaleSetIPConfigurations get the specified network interface ip configuration in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. expand - expands referenced resources.

func (InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsComplete

func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result InterfaceIPConfigurationListResultIterator, err error)

ListVirtualMachineScaleSetIPConfigurationsComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (*http.Request, error)

ListVirtualMachineScaleSetIPConfigurationsPreparer prepares the ListVirtualMachineScaleSetIPConfigurations request.

func (InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsResponder

func (client InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsResponder(resp *http.Response) (result InterfaceIPConfigurationListResult, err error)

ListVirtualMachineScaleSetIPConfigurationsResponder handles the response to the ListVirtualMachineScaleSetIPConfigurations request. The method always closes the http.Response Body.

func (InterfacesClient) ListVirtualMachineScaleSetIPConfigurationsSender

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

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

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultPage, err error)

ListVirtualMachineScaleSetNetworkInterfaces gets all network interfaces in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result InterfaceListResultIterator, err error)

ListVirtualMachineScaleSetNetworkInterfacesComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetNetworkInterfacesPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultPage, err error)

ListVirtualMachineScaleSetVMNetworkInterfaces gets information about all network interfaces in a virtual machine in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result InterfaceListResultIterator, err error)

ListVirtualMachineScaleSetVMNetworkInterfacesComplete enumerates all values, automatically crossing page boundaries as required.

func (InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer

func (client InterfacesClient) ListVirtualMachineScaleSetVMNetworkInterfacesPreparer(ctx context.Context, 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.

func (InterfacesClient) UpdateTags

func (client InterfacesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters TagsObject) (result InterfacesUpdateTagsFuture, err error)

UpdateTags updates a network interface tags. Parameters: resourceGroupName - the name of the resource group. networkInterfaceName - the name of the network interface. parameters - parameters supplied to update network interface tags.

func (InterfacesClient) UpdateTagsPreparer

func (client InterfacesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (InterfacesClient) UpdateTagsResponder

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

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (InterfacesClient) UpdateTagsSender

func (client InterfacesClient) UpdateTagsSender(req *http.Request) (future InterfacesUpdateTagsFuture, err error)

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

type InterfacesCreateOrUpdateFuture

type InterfacesCreateOrUpdateFuture struct {
	azure.Future
}

InterfacesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfacesCreateOrUpdateFuture) Result

func (future *InterfacesCreateOrUpdateFuture) Result(client InterfacesClient) (i Interface, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InterfacesDeleteFuture

type InterfacesDeleteFuture struct {
	azure.Future
}

InterfacesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfacesDeleteFuture) Result

func (future *InterfacesDeleteFuture) Result(client InterfacesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InterfacesGetEffectiveRouteTableFuture

type InterfacesGetEffectiveRouteTableFuture struct {
	azure.Future
}

InterfacesGetEffectiveRouteTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfacesGetEffectiveRouteTableFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InterfacesListEffectiveNetworkSecurityGroupsFuture

type InterfacesListEffectiveNetworkSecurityGroupsFuture struct {
	azure.Future
}

InterfacesListEffectiveNetworkSecurityGroupsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfacesListEffectiveNetworkSecurityGroupsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type InterfacesUpdateTagsFuture

type InterfacesUpdateTagsFuture struct {
	azure.Future
}

InterfacesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*InterfacesUpdateTagsFuture) Result

func (future *InterfacesUpdateTagsFuture) Result(client InterfacesClient) (i Interface, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type IpsecEncryption

type IpsecEncryption string

IpsecEncryption enumerates the values for ipsec encryption.

const (
	// IpsecEncryptionAES128 ...
	IpsecEncryptionAES128 IpsecEncryption = "AES128"
	// IpsecEncryptionAES192 ...
	IpsecEncryptionAES192 IpsecEncryption = "AES192"
	// IpsecEncryptionAES256 ...
	IpsecEncryptionAES256 IpsecEncryption = "AES256"
	// IpsecEncryptionDES ...
	IpsecEncryptionDES IpsecEncryption = "DES"
	// IpsecEncryptionDES3 ...
	IpsecEncryptionDES3 IpsecEncryption = "DES3"
	// IpsecEncryptionGCMAES128 ...
	IpsecEncryptionGCMAES128 IpsecEncryption = "GCMAES128"
	// IpsecEncryptionGCMAES192 ...
	IpsecEncryptionGCMAES192 IpsecEncryption = "GCMAES192"
	// IpsecEncryptionGCMAES256 ...
	IpsecEncryptionGCMAES256 IpsecEncryption = "GCMAES256"
	// IpsecEncryptionNone ...
	IpsecEncryptionNone IpsecEncryption = "None"
)

func PossibleIpsecEncryptionValues

func PossibleIpsecEncryptionValues() []IpsecEncryption

PossibleIpsecEncryptionValues returns an array of possible values for the IpsecEncryption const type.

type IpsecIntegrity

type IpsecIntegrity string

IpsecIntegrity enumerates the values for ipsec integrity.

const (
	// IpsecIntegrityGCMAES128 ...
	IpsecIntegrityGCMAES128 IpsecIntegrity = "GCMAES128"
	// IpsecIntegrityGCMAES192 ...
	IpsecIntegrityGCMAES192 IpsecIntegrity = "GCMAES192"
	// IpsecIntegrityGCMAES256 ...
	IpsecIntegrityGCMAES256 IpsecIntegrity = "GCMAES256"
	// IpsecIntegrityMD5 ...
	IpsecIntegrityMD5 IpsecIntegrity = "MD5"
	// IpsecIntegritySHA1 ...
	IpsecIntegritySHA1 IpsecIntegrity = "SHA1"
	// IpsecIntegritySHA256 ...
	IpsecIntegritySHA256 IpsecIntegrity = "SHA256"
)

func PossibleIpsecIntegrityValues

func PossibleIpsecIntegrityValues() []IpsecIntegrity

PossibleIpsecIntegrityValues returns an array of possible values for the IpsecIntegrity const type.

type IpsecPolicy

type IpsecPolicy struct {
	// SaLifeTimeSeconds - The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
	SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"`
	// SaDataSizeKilobytes - The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
	SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"`
	// IpsecEncryption - The IPSec encryption algorithm (IKE phase 1). Possible values include: 'IpsecEncryptionNone', 'IpsecEncryptionDES', 'IpsecEncryptionDES3', 'IpsecEncryptionAES128', 'IpsecEncryptionAES192', 'IpsecEncryptionAES256', 'IpsecEncryptionGCMAES128', 'IpsecEncryptionGCMAES192', 'IpsecEncryptionGCMAES256'
	IpsecEncryption IpsecEncryption `json:"ipsecEncryption,omitempty"`
	// IpsecIntegrity - The IPSec integrity algorithm (IKE phase 1). Possible values include: 'IpsecIntegrityMD5', 'IpsecIntegritySHA1', 'IpsecIntegritySHA256', 'IpsecIntegrityGCMAES128', 'IpsecIntegrityGCMAES192', 'IpsecIntegrityGCMAES256'
	IpsecIntegrity IpsecIntegrity `json:"ipsecIntegrity,omitempty"`
	// IkeEncryption - The IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'
	IkeEncryption IkeEncryption `json:"ikeEncryption,omitempty"`
	// IkeIntegrity - The IKE integrity algorithm (IKE phase 2). Possible values include: 'IkeIntegrityMD5', 'IkeIntegritySHA1', 'IkeIntegritySHA256', 'IkeIntegritySHA384', 'IkeIntegrityGCMAES256', 'IkeIntegrityGCMAES128'
	IkeIntegrity IkeIntegrity `json:"ikeIntegrity,omitempty"`
	// DhGroup - The DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'
	DhGroup DhGroup `json:"dhGroup,omitempty"`
	// PfsGroup - The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'PfsGroupNone', 'PfsGroupPFS1', 'PfsGroupPFS2', 'PfsGroupPFS2048', 'PfsGroupECP256', 'PfsGroupECP384', 'PfsGroupPFS24', 'PfsGroupPFS14', 'PfsGroupPFSMM'
	PfsGroup PfsGroup `json:"pfsGroup,omitempty"`
}

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

type Ipv6ExpressRouteCircuitPeeringConfig

type Ipv6ExpressRouteCircuitPeeringConfig struct {
	// PrimaryPeerAddressPrefix - The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
	// SecondaryPeerAddressPrefix - The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
	// MicrosoftPeeringConfig - The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	// RouteFilter - The reference of the RouteFilter resource.
	RouteFilter *SubResource `json:"routeFilter,omitempty"`
	// State - The state of peering. Possible values include: 'ExpressRouteCircuitPeeringStateDisabled', 'ExpressRouteCircuitPeeringStateEnabled'
	State ExpressRouteCircuitPeeringState `json:"state,omitempty"`
}

Ipv6ExpressRouteCircuitPeeringConfig contains IPv6 peering config.

type IssueType

type IssueType string

IssueType enumerates the values for issue type.

const (
	// IssueTypeAgentStopped ...
	IssueTypeAgentStopped IssueType = "AgentStopped"
	// IssueTypeDNSResolution ...
	IssueTypeDNSResolution IssueType = "DnsResolution"
	// IssueTypeGuestFirewall ...
	IssueTypeGuestFirewall IssueType = "GuestFirewall"
	// IssueTypeNetworkSecurityRule ...
	IssueTypeNetworkSecurityRule IssueType = "NetworkSecurityRule"
	// IssueTypePlatform ...
	IssueTypePlatform IssueType = "Platform"
	// IssueTypePortThrottled ...
	IssueTypePortThrottled IssueType = "PortThrottled"
	// IssueTypeSocketBind ...
	IssueTypeSocketBind IssueType = "SocketBind"
	// IssueTypeUnknown ...
	IssueTypeUnknown IssueType = "Unknown"
	// IssueTypeUserDefinedRoute ...
	IssueTypeUserDefinedRoute IssueType = "UserDefinedRoute"
)

func PossibleIssueTypeValues

func PossibleIssueTypeValues() []IssueType

PossibleIssueTypeValues returns an array of possible values for the IssueType const type.

type ListHubVirtualNetworkConnectionsResult

type ListHubVirtualNetworkConnectionsResult struct {
	autorest.Response `json:"-"`
	// Value - List of HubVirtualNetworkConnections.
	Value *[]HubVirtualNetworkConnection `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListHubVirtualNetworkConnectionsResult list of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.

func (ListHubVirtualNetworkConnectionsResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ListHubVirtualNetworkConnectionsResultIterator

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

ListHubVirtualNetworkConnectionsResultIterator provides access to a complete listing of HubVirtualNetworkConnection values.

func NewListHubVirtualNetworkConnectionsResultIterator

func NewListHubVirtualNetworkConnectionsResultIterator(page ListHubVirtualNetworkConnectionsResultPage) ListHubVirtualNetworkConnectionsResultIterator

Creates a new instance of the ListHubVirtualNetworkConnectionsResultIterator type.

func (*ListHubVirtualNetworkConnectionsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListHubVirtualNetworkConnectionsResultIterator) NextWithContext

func (iter *ListHubVirtualNetworkConnectionsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListHubVirtualNetworkConnectionsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListHubVirtualNetworkConnectionsResultIterator) Response

Response returns the raw server response from the last page request.

func (ListHubVirtualNetworkConnectionsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListHubVirtualNetworkConnectionsResultPage

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

ListHubVirtualNetworkConnectionsResultPage contains a page of HubVirtualNetworkConnection values.

func NewListHubVirtualNetworkConnectionsResultPage

Creates a new instance of the ListHubVirtualNetworkConnectionsResultPage type.

func (*ListHubVirtualNetworkConnectionsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListHubVirtualNetworkConnectionsResultPage) NextWithContext

func (page *ListHubVirtualNetworkConnectionsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListHubVirtualNetworkConnectionsResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListHubVirtualNetworkConnectionsResultPage) Response

Response returns the raw server response from the last page request.

func (ListHubVirtualNetworkConnectionsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ListP2SVpnGatewaysResult

type ListP2SVpnGatewaysResult struct {
	autorest.Response `json:"-"`
	// Value - List of P2SVpnGateways.
	Value *[]P2SVpnGateway `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListP2SVpnGatewaysResult result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.

func (ListP2SVpnGatewaysResult) IsEmpty

func (lpvgr ListP2SVpnGatewaysResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListP2SVpnGatewaysResultIterator

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

ListP2SVpnGatewaysResultIterator provides access to a complete listing of P2SVpnGateway values.

func NewListP2SVpnGatewaysResultIterator

func NewListP2SVpnGatewaysResultIterator(page ListP2SVpnGatewaysResultPage) ListP2SVpnGatewaysResultIterator

Creates a new instance of the ListP2SVpnGatewaysResultIterator type.

func (*ListP2SVpnGatewaysResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListP2SVpnGatewaysResultIterator) NextWithContext

func (iter *ListP2SVpnGatewaysResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListP2SVpnGatewaysResultIterator) NotDone

func (iter ListP2SVpnGatewaysResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListP2SVpnGatewaysResultIterator) Response

Response returns the raw server response from the last page request.

func (ListP2SVpnGatewaysResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListP2SVpnGatewaysResultPage

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

ListP2SVpnGatewaysResultPage contains a page of P2SVpnGateway values.

func NewListP2SVpnGatewaysResultPage

func NewListP2SVpnGatewaysResultPage(getNextPage func(context.Context, ListP2SVpnGatewaysResult) (ListP2SVpnGatewaysResult, error)) ListP2SVpnGatewaysResultPage

Creates a new instance of the ListP2SVpnGatewaysResultPage type.

func (*ListP2SVpnGatewaysResultPage) Next

func (page *ListP2SVpnGatewaysResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListP2SVpnGatewaysResultPage) NextWithContext

func (page *ListP2SVpnGatewaysResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListP2SVpnGatewaysResultPage) NotDone

func (page ListP2SVpnGatewaysResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListP2SVpnGatewaysResultPage) Response

Response returns the raw server response from the last page request.

func (ListP2SVpnGatewaysResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ListString

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

ListString ...

type ListVirtualHubsResult

type ListVirtualHubsResult struct {
	autorest.Response `json:"-"`
	// Value - List of VirtualHubs.
	Value *[]VirtualHub `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVirtualHubsResult result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.

func (ListVirtualHubsResult) IsEmpty

func (lvhr ListVirtualHubsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVirtualHubsResultIterator

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

ListVirtualHubsResultIterator provides access to a complete listing of VirtualHub values.

func NewListVirtualHubsResultIterator

func NewListVirtualHubsResultIterator(page ListVirtualHubsResultPage) ListVirtualHubsResultIterator

Creates a new instance of the ListVirtualHubsResultIterator type.

func (*ListVirtualHubsResultIterator) Next

func (iter *ListVirtualHubsResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVirtualHubsResultIterator) NextWithContext

func (iter *ListVirtualHubsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVirtualHubsResultIterator) NotDone

func (iter ListVirtualHubsResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVirtualHubsResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVirtualHubsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVirtualHubsResultPage

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

ListVirtualHubsResultPage contains a page of VirtualHub values.

func NewListVirtualHubsResultPage

func NewListVirtualHubsResultPage(getNextPage func(context.Context, ListVirtualHubsResult) (ListVirtualHubsResult, error)) ListVirtualHubsResultPage

Creates a new instance of the ListVirtualHubsResultPage type.

func (*ListVirtualHubsResultPage) Next

func (page *ListVirtualHubsResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVirtualHubsResultPage) NextWithContext

func (page *ListVirtualHubsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVirtualHubsResultPage) NotDone

func (page ListVirtualHubsResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVirtualHubsResultPage) Response

Response returns the raw server response from the last page request.

func (ListVirtualHubsResultPage) Values

func (page ListVirtualHubsResultPage) Values() []VirtualHub

Values returns the slice of values for the current page or nil if there are no values.

type ListVirtualWANsResult

type ListVirtualWANsResult struct {
	autorest.Response `json:"-"`
	// Value - List of VirtualWANs.
	Value *[]VirtualWAN `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVirtualWANsResult result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.

func (ListVirtualWANsResult) IsEmpty

func (lvwnr ListVirtualWANsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVirtualWANsResultIterator

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

ListVirtualWANsResultIterator provides access to a complete listing of VirtualWAN values.

func NewListVirtualWANsResultIterator

func NewListVirtualWANsResultIterator(page ListVirtualWANsResultPage) ListVirtualWANsResultIterator

Creates a new instance of the ListVirtualWANsResultIterator type.

func (*ListVirtualWANsResultIterator) Next

func (iter *ListVirtualWANsResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVirtualWANsResultIterator) NextWithContext

func (iter *ListVirtualWANsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVirtualWANsResultIterator) NotDone

func (iter ListVirtualWANsResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVirtualWANsResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVirtualWANsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVirtualWANsResultPage

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

ListVirtualWANsResultPage contains a page of VirtualWAN values.

func NewListVirtualWANsResultPage

func NewListVirtualWANsResultPage(getNextPage func(context.Context, ListVirtualWANsResult) (ListVirtualWANsResult, error)) ListVirtualWANsResultPage

Creates a new instance of the ListVirtualWANsResultPage type.

func (*ListVirtualWANsResultPage) Next

func (page *ListVirtualWANsResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVirtualWANsResultPage) NextWithContext

func (page *ListVirtualWANsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVirtualWANsResultPage) NotDone

func (page ListVirtualWANsResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVirtualWANsResultPage) Response

Response returns the raw server response from the last page request.

func (ListVirtualWANsResultPage) Values

func (page ListVirtualWANsResultPage) Values() []VirtualWAN

Values returns the slice of values for the current page or nil if there are no values.

type ListVpnConnectionsResult

type ListVpnConnectionsResult struct {
	autorest.Response `json:"-"`
	// Value - List of Vpn Connections.
	Value *[]VpnConnection `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVpnConnectionsResult result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.

func (ListVpnConnectionsResult) IsEmpty

func (lvcr ListVpnConnectionsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVpnConnectionsResultIterator

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

ListVpnConnectionsResultIterator provides access to a complete listing of VpnConnection values.

func NewListVpnConnectionsResultIterator

func NewListVpnConnectionsResultIterator(page ListVpnConnectionsResultPage) ListVpnConnectionsResultIterator

Creates a new instance of the ListVpnConnectionsResultIterator type.

func (*ListVpnConnectionsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnConnectionsResultIterator) NextWithContext

func (iter *ListVpnConnectionsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVpnConnectionsResultIterator) NotDone

func (iter ListVpnConnectionsResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVpnConnectionsResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVpnConnectionsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVpnConnectionsResultPage

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

ListVpnConnectionsResultPage contains a page of VpnConnection values.

func NewListVpnConnectionsResultPage

func NewListVpnConnectionsResultPage(getNextPage func(context.Context, ListVpnConnectionsResult) (ListVpnConnectionsResult, error)) ListVpnConnectionsResultPage

Creates a new instance of the ListVpnConnectionsResultPage type.

func (*ListVpnConnectionsResultPage) Next

func (page *ListVpnConnectionsResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnConnectionsResultPage) NextWithContext

func (page *ListVpnConnectionsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVpnConnectionsResultPage) NotDone

func (page ListVpnConnectionsResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVpnConnectionsResultPage) Response

Response returns the raw server response from the last page request.

func (ListVpnConnectionsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ListVpnGatewaysResult

type ListVpnGatewaysResult struct {
	autorest.Response `json:"-"`
	// Value - List of VpnGateways.
	Value *[]VpnGateway `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVpnGatewaysResult result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.

func (ListVpnGatewaysResult) IsEmpty

func (lvgr ListVpnGatewaysResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVpnGatewaysResultIterator

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

ListVpnGatewaysResultIterator provides access to a complete listing of VpnGateway values.

func NewListVpnGatewaysResultIterator

func NewListVpnGatewaysResultIterator(page ListVpnGatewaysResultPage) ListVpnGatewaysResultIterator

Creates a new instance of the ListVpnGatewaysResultIterator type.

func (*ListVpnGatewaysResultIterator) Next

func (iter *ListVpnGatewaysResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnGatewaysResultIterator) NextWithContext

func (iter *ListVpnGatewaysResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVpnGatewaysResultIterator) NotDone

func (iter ListVpnGatewaysResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVpnGatewaysResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVpnGatewaysResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVpnGatewaysResultPage

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

ListVpnGatewaysResultPage contains a page of VpnGateway values.

func NewListVpnGatewaysResultPage

func NewListVpnGatewaysResultPage(getNextPage func(context.Context, ListVpnGatewaysResult) (ListVpnGatewaysResult, error)) ListVpnGatewaysResultPage

Creates a new instance of the ListVpnGatewaysResultPage type.

func (*ListVpnGatewaysResultPage) Next

func (page *ListVpnGatewaysResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnGatewaysResultPage) NextWithContext

func (page *ListVpnGatewaysResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVpnGatewaysResultPage) NotDone

func (page ListVpnGatewaysResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVpnGatewaysResultPage) Response

Response returns the raw server response from the last page request.

func (ListVpnGatewaysResultPage) Values

func (page ListVpnGatewaysResultPage) Values() []VpnGateway

Values returns the slice of values for the current page or nil if there are no values.

type ListVpnServerConfigurationsResult

type ListVpnServerConfigurationsResult struct {
	autorest.Response `json:"-"`
	// Value - List of VpnServerConfigurations.
	Value *[]VpnServerConfiguration `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVpnServerConfigurationsResult result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results.

func (ListVpnServerConfigurationsResult) IsEmpty

func (lvscr ListVpnServerConfigurationsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVpnServerConfigurationsResultIterator

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

ListVpnServerConfigurationsResultIterator provides access to a complete listing of VpnServerConfiguration values.

func NewListVpnServerConfigurationsResultIterator

func NewListVpnServerConfigurationsResultIterator(page ListVpnServerConfigurationsResultPage) ListVpnServerConfigurationsResultIterator

Creates a new instance of the ListVpnServerConfigurationsResultIterator type.

func (*ListVpnServerConfigurationsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnServerConfigurationsResultIterator) NextWithContext

func (iter *ListVpnServerConfigurationsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVpnServerConfigurationsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVpnServerConfigurationsResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVpnServerConfigurationsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVpnServerConfigurationsResultPage

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

ListVpnServerConfigurationsResultPage contains a page of VpnServerConfiguration values.

func NewListVpnServerConfigurationsResultPage

Creates a new instance of the ListVpnServerConfigurationsResultPage type.

func (*ListVpnServerConfigurationsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnServerConfigurationsResultPage) NextWithContext

func (page *ListVpnServerConfigurationsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVpnServerConfigurationsResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVpnServerConfigurationsResultPage) Response

Response returns the raw server response from the last page request.

func (ListVpnServerConfigurationsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ListVpnSiteLinkConnectionsResult

type ListVpnSiteLinkConnectionsResult struct {
	autorest.Response `json:"-"`
	// Value - List of VpnSiteLinkConnections.
	Value *[]VpnSiteLinkConnection `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVpnSiteLinkConnectionsResult result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.

func (ListVpnSiteLinkConnectionsResult) IsEmpty

func (lvslcr ListVpnSiteLinkConnectionsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVpnSiteLinkConnectionsResultIterator

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

ListVpnSiteLinkConnectionsResultIterator provides access to a complete listing of VpnSiteLinkConnection values.

func NewListVpnSiteLinkConnectionsResultIterator

func NewListVpnSiteLinkConnectionsResultIterator(page ListVpnSiteLinkConnectionsResultPage) ListVpnSiteLinkConnectionsResultIterator

Creates a new instance of the ListVpnSiteLinkConnectionsResultIterator type.

func (*ListVpnSiteLinkConnectionsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnSiteLinkConnectionsResultIterator) NextWithContext

func (iter *ListVpnSiteLinkConnectionsResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVpnSiteLinkConnectionsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVpnSiteLinkConnectionsResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVpnSiteLinkConnectionsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVpnSiteLinkConnectionsResultPage

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

ListVpnSiteLinkConnectionsResultPage contains a page of VpnSiteLinkConnection values.

func NewListVpnSiteLinkConnectionsResultPage

Creates a new instance of the ListVpnSiteLinkConnectionsResultPage type.

func (*ListVpnSiteLinkConnectionsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnSiteLinkConnectionsResultPage) NextWithContext

func (page *ListVpnSiteLinkConnectionsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVpnSiteLinkConnectionsResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVpnSiteLinkConnectionsResultPage) Response

Response returns the raw server response from the last page request.

func (ListVpnSiteLinkConnectionsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ListVpnSiteLinksResult

type ListVpnSiteLinksResult struct {
	autorest.Response `json:"-"`
	// Value - List of VpnSitesLinks.
	Value *[]VpnSiteLink `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVpnSiteLinksResult result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results.

func (ListVpnSiteLinksResult) IsEmpty

func (lvslr ListVpnSiteLinksResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVpnSiteLinksResultIterator

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

ListVpnSiteLinksResultIterator provides access to a complete listing of VpnSiteLink values.

func NewListVpnSiteLinksResultIterator

func NewListVpnSiteLinksResultIterator(page ListVpnSiteLinksResultPage) ListVpnSiteLinksResultIterator

Creates a new instance of the ListVpnSiteLinksResultIterator type.

func (*ListVpnSiteLinksResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnSiteLinksResultIterator) NextWithContext

func (iter *ListVpnSiteLinksResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVpnSiteLinksResultIterator) NotDone

func (iter ListVpnSiteLinksResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVpnSiteLinksResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVpnSiteLinksResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVpnSiteLinksResultPage

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

ListVpnSiteLinksResultPage contains a page of VpnSiteLink values.

func NewListVpnSiteLinksResultPage

func NewListVpnSiteLinksResultPage(getNextPage func(context.Context, ListVpnSiteLinksResult) (ListVpnSiteLinksResult, error)) ListVpnSiteLinksResultPage

Creates a new instance of the ListVpnSiteLinksResultPage type.

func (*ListVpnSiteLinksResultPage) Next

func (page *ListVpnSiteLinksResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnSiteLinksResultPage) NextWithContext

func (page *ListVpnSiteLinksResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVpnSiteLinksResultPage) NotDone

func (page ListVpnSiteLinksResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVpnSiteLinksResultPage) Response

Response returns the raw server response from the last page request.

func (ListVpnSiteLinksResultPage) Values

func (page ListVpnSiteLinksResultPage) Values() []VpnSiteLink

Values returns the slice of values for the current page or nil if there are no values.

type ListVpnSitesResult

type ListVpnSitesResult struct {
	autorest.Response `json:"-"`
	// Value - List of VpnSites.
	Value *[]VpnSite `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ListVpnSitesResult result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.

func (ListVpnSitesResult) IsEmpty

func (lvsr ListVpnSitesResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListVpnSitesResultIterator

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

ListVpnSitesResultIterator provides access to a complete listing of VpnSite values.

func NewListVpnSitesResultIterator

func NewListVpnSitesResultIterator(page ListVpnSitesResultPage) ListVpnSitesResultIterator

Creates a new instance of the ListVpnSitesResultIterator type.

func (*ListVpnSitesResultIterator) Next

func (iter *ListVpnSitesResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnSitesResultIterator) NextWithContext

func (iter *ListVpnSitesResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListVpnSitesResultIterator) NotDone

func (iter ListVpnSitesResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListVpnSitesResultIterator) Response

Response returns the raw server response from the last page request.

func (ListVpnSitesResultIterator) Value

func (iter ListVpnSitesResultIterator) Value() VpnSite

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListVpnSitesResultPage

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

ListVpnSitesResultPage contains a page of VpnSite values.

func NewListVpnSitesResultPage

func NewListVpnSitesResultPage(getNextPage func(context.Context, ListVpnSitesResult) (ListVpnSitesResult, error)) ListVpnSitesResultPage

Creates a new instance of the ListVpnSitesResultPage type.

func (*ListVpnSitesResultPage) Next

func (page *ListVpnSitesResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListVpnSitesResultPage) NextWithContext

func (page *ListVpnSitesResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListVpnSitesResultPage) NotDone

func (page ListVpnSitesResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListVpnSitesResultPage) Response

Response returns the raw server response from the last page request.

func (ListVpnSitesResultPage) Values

func (page ListVpnSitesResultPage) Values() []VpnSite

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancer

type LoadBalancer struct {
	autorest.Response `json:"-"`
	// Sku - The load balancer SKU.
	Sku *LoadBalancerSku `json:"sku,omitempty"`
	// LoadBalancerPropertiesFormat - Properties of load balancer.
	*LoadBalancerPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

LoadBalancer loadBalancer resource.

func (LoadBalancer) MarshalJSON

func (lb LoadBalancer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancer.

func (*LoadBalancer) UnmarshalJSON

func (lb *LoadBalancer) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LoadBalancer struct.

type LoadBalancerBackendAddressPoolListResult

type LoadBalancerBackendAddressPoolListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of backend address pools in a load balancer.
	Value *[]BackendAddressPool `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerBackendAddressPoolListResult response for ListBackendAddressPool API service call.

func (LoadBalancerBackendAddressPoolListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerBackendAddressPoolListResultIterator

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

LoadBalancerBackendAddressPoolListResultIterator provides access to a complete listing of BackendAddressPool values.

func NewLoadBalancerBackendAddressPoolListResultIterator

func NewLoadBalancerBackendAddressPoolListResultIterator(page LoadBalancerBackendAddressPoolListResultPage) LoadBalancerBackendAddressPoolListResultIterator

Creates a new instance of the LoadBalancerBackendAddressPoolListResultIterator type.

func (*LoadBalancerBackendAddressPoolListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerBackendAddressPoolListResultIterator) NextWithContext

func (iter *LoadBalancerBackendAddressPoolListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LoadBalancerBackendAddressPoolListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (LoadBalancerBackendAddressPoolListResultIterator) Response

Response returns the raw server response from the last page request.

func (LoadBalancerBackendAddressPoolListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LoadBalancerBackendAddressPoolListResultPage

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

LoadBalancerBackendAddressPoolListResultPage contains a page of BackendAddressPool values.

func NewLoadBalancerBackendAddressPoolListResultPage

Creates a new instance of the LoadBalancerBackendAddressPoolListResultPage type.

func (*LoadBalancerBackendAddressPoolListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerBackendAddressPoolListResultPage) NextWithContext

func (page *LoadBalancerBackendAddressPoolListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LoadBalancerBackendAddressPoolListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LoadBalancerBackendAddressPoolListResultPage) Response

Response returns the raw server response from the last page request.

func (LoadBalancerBackendAddressPoolListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancerBackendAddressPoolsClient

type LoadBalancerBackendAddressPoolsClient struct {
	BaseClient
}

LoadBalancerBackendAddressPoolsClient is the network Client

func NewLoadBalancerBackendAddressPoolsClient

func NewLoadBalancerBackendAddressPoolsClient(subscriptionID string) LoadBalancerBackendAddressPoolsClient

NewLoadBalancerBackendAddressPoolsClient creates an instance of the LoadBalancerBackendAddressPoolsClient client.

func NewLoadBalancerBackendAddressPoolsClientWithBaseURI

func NewLoadBalancerBackendAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerBackendAddressPoolsClient

NewLoadBalancerBackendAddressPoolsClientWithBaseURI creates an instance of the LoadBalancerBackendAddressPoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancerBackendAddressPoolsClient) Get

func (client LoadBalancerBackendAddressPoolsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (result BackendAddressPool, err error)

Get gets load balancer backend address pool. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. backendAddressPoolName - the name of the backend address pool.

func (LoadBalancerBackendAddressPoolsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (LoadBalancerBackendAddressPoolsClient) GetResponder

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

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

func (LoadBalancerBackendAddressPoolsClient) GetSender

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

func (LoadBalancerBackendAddressPoolsClient) List

func (client LoadBalancerBackendAddressPoolsClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerBackendAddressPoolListResultPage, err error)

List gets all the load balancer backed address pools. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancerBackendAddressPoolsClient) ListComplete

func (client LoadBalancerBackendAddressPoolsClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerBackendAddressPoolListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancerBackendAddressPoolsClient) ListPreparer

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

ListPreparer prepares the List request.

func (LoadBalancerBackendAddressPoolsClient) ListResponder

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

func (LoadBalancerBackendAddressPoolsClient) ListSender

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

type LoadBalancerFrontendIPConfigurationListResult

type LoadBalancerFrontendIPConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of frontend IP configurations in a load balancer.
	Value *[]FrontendIPConfiguration `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerFrontendIPConfigurationListResult response for ListFrontendIPConfiguration API service call.

func (LoadBalancerFrontendIPConfigurationListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerFrontendIPConfigurationListResultIterator

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

LoadBalancerFrontendIPConfigurationListResultIterator provides access to a complete listing of FrontendIPConfiguration values.

func NewLoadBalancerFrontendIPConfigurationListResultIterator

func NewLoadBalancerFrontendIPConfigurationListResultIterator(page LoadBalancerFrontendIPConfigurationListResultPage) LoadBalancerFrontendIPConfigurationListResultIterator

Creates a new instance of the LoadBalancerFrontendIPConfigurationListResultIterator type.

func (*LoadBalancerFrontendIPConfigurationListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerFrontendIPConfigurationListResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LoadBalancerFrontendIPConfigurationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (LoadBalancerFrontendIPConfigurationListResultIterator) Response

Response returns the raw server response from the last page request.

func (LoadBalancerFrontendIPConfigurationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LoadBalancerFrontendIPConfigurationListResultPage

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

LoadBalancerFrontendIPConfigurationListResultPage contains a page of FrontendIPConfiguration values.

func NewLoadBalancerFrontendIPConfigurationListResultPage

Creates a new instance of the LoadBalancerFrontendIPConfigurationListResultPage type.

func (*LoadBalancerFrontendIPConfigurationListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerFrontendIPConfigurationListResultPage) NextWithContext

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LoadBalancerFrontendIPConfigurationListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LoadBalancerFrontendIPConfigurationListResultPage) Response

Response returns the raw server response from the last page request.

func (LoadBalancerFrontendIPConfigurationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancerFrontendIPConfigurationsClient

type LoadBalancerFrontendIPConfigurationsClient struct {
	BaseClient
}

LoadBalancerFrontendIPConfigurationsClient is the network Client

func NewLoadBalancerFrontendIPConfigurationsClient

func NewLoadBalancerFrontendIPConfigurationsClient(subscriptionID string) LoadBalancerFrontendIPConfigurationsClient

NewLoadBalancerFrontendIPConfigurationsClient creates an instance of the LoadBalancerFrontendIPConfigurationsClient client.

func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI

func NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerFrontendIPConfigurationsClient

NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI creates an instance of the LoadBalancerFrontendIPConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancerFrontendIPConfigurationsClient) Get

func (client LoadBalancerFrontendIPConfigurationsClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (result FrontendIPConfiguration, err error)

Get gets load balancer frontend IP configuration. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. frontendIPConfigurationName - the name of the frontend IP configuration.

func (LoadBalancerFrontendIPConfigurationsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (LoadBalancerFrontendIPConfigurationsClient) GetResponder

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

func (LoadBalancerFrontendIPConfigurationsClient) GetSender

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

func (LoadBalancerFrontendIPConfigurationsClient) List

func (client LoadBalancerFrontendIPConfigurationsClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerFrontendIPConfigurationListResultPage, err error)

List gets all the load balancer frontend IP configurations. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancerFrontendIPConfigurationsClient) ListComplete

func (client LoadBalancerFrontendIPConfigurationsClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerFrontendIPConfigurationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancerFrontendIPConfigurationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (LoadBalancerFrontendIPConfigurationsClient) ListResponder

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

func (LoadBalancerFrontendIPConfigurationsClient) ListSender

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

type LoadBalancerListResult

type LoadBalancerListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of load balancers in a resource group.
	Value *[]LoadBalancer `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerListResult response for ListLoadBalancers API service call.

func (LoadBalancerListResult) IsEmpty

func (lblr LoadBalancerListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerListResultIterator

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

LoadBalancerListResultIterator provides access to a complete listing of LoadBalancer values.

func NewLoadBalancerListResultIterator

func NewLoadBalancerListResultIterator(page LoadBalancerListResultPage) LoadBalancerListResultIterator

Creates a new instance of the LoadBalancerListResultIterator type.

func (*LoadBalancerListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerListResultIterator) NextWithContext

func (iter *LoadBalancerListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LoadBalancerListResultIterator) NotDone

func (iter LoadBalancerListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LoadBalancerListResultIterator) Response

Response returns the raw server response from the last page request.

func (LoadBalancerListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LoadBalancerListResultPage

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

LoadBalancerListResultPage contains a page of LoadBalancer values.

func NewLoadBalancerListResultPage

func NewLoadBalancerListResultPage(getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage

Creates a new instance of the LoadBalancerListResultPage type.

func (*LoadBalancerListResultPage) Next

func (page *LoadBalancerListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerListResultPage) NextWithContext

func (page *LoadBalancerListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LoadBalancerListResultPage) NotDone

func (page LoadBalancerListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LoadBalancerListResultPage) Response

Response returns the raw server response from the last page request.

func (LoadBalancerListResultPage) Values

func (page LoadBalancerListResultPage) Values() []LoadBalancer

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancerLoadBalancingRuleListResult

type LoadBalancerLoadBalancingRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of load balancing rules in a load balancer.
	Value *[]LoadBalancingRule `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerLoadBalancingRuleListResult response for ListLoadBalancingRule API service call.

func (LoadBalancerLoadBalancingRuleListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerLoadBalancingRuleListResultIterator

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

LoadBalancerLoadBalancingRuleListResultIterator provides access to a complete listing of LoadBalancingRule values.

func NewLoadBalancerLoadBalancingRuleListResultIterator

func NewLoadBalancerLoadBalancingRuleListResultIterator(page LoadBalancerLoadBalancingRuleListResultPage) LoadBalancerLoadBalancingRuleListResultIterator

Creates a new instance of the LoadBalancerLoadBalancingRuleListResultIterator type.

func (*LoadBalancerLoadBalancingRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerLoadBalancingRuleListResultIterator) NextWithContext

func (iter *LoadBalancerLoadBalancingRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LoadBalancerLoadBalancingRuleListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (LoadBalancerLoadBalancingRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (LoadBalancerLoadBalancingRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LoadBalancerLoadBalancingRuleListResultPage

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

LoadBalancerLoadBalancingRuleListResultPage contains a page of LoadBalancingRule values.

func NewLoadBalancerLoadBalancingRuleListResultPage

Creates a new instance of the LoadBalancerLoadBalancingRuleListResultPage type.

func (*LoadBalancerLoadBalancingRuleListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerLoadBalancingRuleListResultPage) NextWithContext

func (page *LoadBalancerLoadBalancingRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LoadBalancerLoadBalancingRuleListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LoadBalancerLoadBalancingRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (LoadBalancerLoadBalancingRuleListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancerLoadBalancingRulesClient

type LoadBalancerLoadBalancingRulesClient struct {
	BaseClient
}

LoadBalancerLoadBalancingRulesClient is the network Client

func NewLoadBalancerLoadBalancingRulesClient

func NewLoadBalancerLoadBalancingRulesClient(subscriptionID string) LoadBalancerLoadBalancingRulesClient

NewLoadBalancerLoadBalancingRulesClient creates an instance of the LoadBalancerLoadBalancingRulesClient client.

func NewLoadBalancerLoadBalancingRulesClientWithBaseURI

func NewLoadBalancerLoadBalancingRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerLoadBalancingRulesClient

NewLoadBalancerLoadBalancingRulesClientWithBaseURI creates an instance of the LoadBalancerLoadBalancingRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancerLoadBalancingRulesClient) Get

func (client LoadBalancerLoadBalancingRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (result LoadBalancingRule, err error)

Get gets the specified load balancer load balancing rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. loadBalancingRuleName - the name of the load balancing rule.

func (LoadBalancerLoadBalancingRulesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (LoadBalancerLoadBalancingRulesClient) GetResponder

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

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

func (LoadBalancerLoadBalancingRulesClient) GetSender

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

func (LoadBalancerLoadBalancingRulesClient) List

func (client LoadBalancerLoadBalancingRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerLoadBalancingRuleListResultPage, err error)

List gets all the load balancing rules in a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancerLoadBalancingRulesClient) ListComplete

func (client LoadBalancerLoadBalancingRulesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerLoadBalancingRuleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancerLoadBalancingRulesClient) ListPreparer

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

ListPreparer prepares the List request.

func (LoadBalancerLoadBalancingRulesClient) ListResponder

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

func (LoadBalancerLoadBalancingRulesClient) ListSender

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

type LoadBalancerNetworkInterfacesClient

type LoadBalancerNetworkInterfacesClient struct {
	BaseClient
}

LoadBalancerNetworkInterfacesClient is the network Client

func NewLoadBalancerNetworkInterfacesClient

func NewLoadBalancerNetworkInterfacesClient(subscriptionID string) LoadBalancerNetworkInterfacesClient

NewLoadBalancerNetworkInterfacesClient creates an instance of the LoadBalancerNetworkInterfacesClient client.

func NewLoadBalancerNetworkInterfacesClientWithBaseURI

func NewLoadBalancerNetworkInterfacesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerNetworkInterfacesClient

NewLoadBalancerNetworkInterfacesClientWithBaseURI creates an instance of the LoadBalancerNetworkInterfacesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancerNetworkInterfacesClient) List

func (client LoadBalancerNetworkInterfacesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InterfaceListResultPage, err error)

List gets associated load balancer network interfaces. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancerNetworkInterfacesClient) ListComplete

func (client LoadBalancerNetworkInterfacesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result InterfaceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancerNetworkInterfacesClient) ListPreparer

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

ListPreparer prepares the List request.

func (LoadBalancerNetworkInterfacesClient) ListResponder

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

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

func (LoadBalancerNetworkInterfacesClient) ListSender

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

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

type LoadBalancerOutboundRuleListResult

type LoadBalancerOutboundRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of outbound rules in a load balancer.
	Value *[]OutboundRule `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerOutboundRuleListResult response for ListOutboundRule API service call.

func (LoadBalancerOutboundRuleListResult) IsEmpty

func (lborlr LoadBalancerOutboundRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerOutboundRuleListResultIterator

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

LoadBalancerOutboundRuleListResultIterator provides access to a complete listing of OutboundRule values.

func NewLoadBalancerOutboundRuleListResultIterator

func NewLoadBalancerOutboundRuleListResultIterator(page LoadBalancerOutboundRuleListResultPage) LoadBalancerOutboundRuleListResultIterator

Creates a new instance of the LoadBalancerOutboundRuleListResultIterator type.

func (*LoadBalancerOutboundRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerOutboundRuleListResultIterator) NextWithContext

func (iter *LoadBalancerOutboundRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LoadBalancerOutboundRuleListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (LoadBalancerOutboundRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (LoadBalancerOutboundRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LoadBalancerOutboundRuleListResultPage

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

LoadBalancerOutboundRuleListResultPage contains a page of OutboundRule values.

func NewLoadBalancerOutboundRuleListResultPage

Creates a new instance of the LoadBalancerOutboundRuleListResultPage type.

func (*LoadBalancerOutboundRuleListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerOutboundRuleListResultPage) NextWithContext

func (page *LoadBalancerOutboundRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LoadBalancerOutboundRuleListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LoadBalancerOutboundRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (LoadBalancerOutboundRuleListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancerOutboundRuleProtocol

type LoadBalancerOutboundRuleProtocol string

LoadBalancerOutboundRuleProtocol enumerates the values for load balancer outbound rule protocol.

const (
	// LoadBalancerOutboundRuleProtocolAll ...
	LoadBalancerOutboundRuleProtocolAll LoadBalancerOutboundRuleProtocol = "All"
	// LoadBalancerOutboundRuleProtocolTCP ...
	LoadBalancerOutboundRuleProtocolTCP LoadBalancerOutboundRuleProtocol = "Tcp"
	// LoadBalancerOutboundRuleProtocolUDP ...
	LoadBalancerOutboundRuleProtocolUDP LoadBalancerOutboundRuleProtocol = "Udp"
)

func PossibleLoadBalancerOutboundRuleProtocolValues

func PossibleLoadBalancerOutboundRuleProtocolValues() []LoadBalancerOutboundRuleProtocol

PossibleLoadBalancerOutboundRuleProtocolValues returns an array of possible values for the LoadBalancerOutboundRuleProtocol const type.

type LoadBalancerOutboundRulesClient

type LoadBalancerOutboundRulesClient struct {
	BaseClient
}

LoadBalancerOutboundRulesClient is the network Client

func NewLoadBalancerOutboundRulesClient

func NewLoadBalancerOutboundRulesClient(subscriptionID string) LoadBalancerOutboundRulesClient

NewLoadBalancerOutboundRulesClient creates an instance of the LoadBalancerOutboundRulesClient client.

func NewLoadBalancerOutboundRulesClientWithBaseURI

func NewLoadBalancerOutboundRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerOutboundRulesClient

NewLoadBalancerOutboundRulesClientWithBaseURI creates an instance of the LoadBalancerOutboundRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancerOutboundRulesClient) Get

func (client LoadBalancerOutboundRulesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, outboundRuleName string) (result OutboundRule, err error)

Get gets the specified load balancer outbound rule. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. outboundRuleName - the name of the outbound rule.

func (LoadBalancerOutboundRulesClient) GetPreparer

func (client LoadBalancerOutboundRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, outboundRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LoadBalancerOutboundRulesClient) GetResponder

func (client LoadBalancerOutboundRulesClient) GetResponder(resp *http.Response) (result OutboundRule, err error)

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

func (LoadBalancerOutboundRulesClient) GetSender

func (client LoadBalancerOutboundRulesClient) 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 (LoadBalancerOutboundRulesClient) List

func (client LoadBalancerOutboundRulesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerOutboundRuleListResultPage, err error)

List gets all the outbound rules in a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancerOutboundRulesClient) ListComplete

func (client LoadBalancerOutboundRulesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerOutboundRuleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancerOutboundRulesClient) ListPreparer

func (client LoadBalancerOutboundRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*http.Request, error)

ListPreparer prepares the List request.

func (LoadBalancerOutboundRulesClient) ListResponder

func (client LoadBalancerOutboundRulesClient) ListResponder(resp *http.Response) (result LoadBalancerOutboundRuleListResult, err error)

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

func (LoadBalancerOutboundRulesClient) ListSender

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

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

type LoadBalancerProbeListResult

type LoadBalancerProbeListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of probes in a load balancer.
	Value *[]Probe `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LoadBalancerProbeListResult response for ListProbe API service call.

func (LoadBalancerProbeListResult) IsEmpty

func (lbplr LoadBalancerProbeListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LoadBalancerProbeListResultIterator

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

LoadBalancerProbeListResultIterator provides access to a complete listing of Probe values.

func NewLoadBalancerProbeListResultIterator

func NewLoadBalancerProbeListResultIterator(page LoadBalancerProbeListResultPage) LoadBalancerProbeListResultIterator

Creates a new instance of the LoadBalancerProbeListResultIterator type.

func (*LoadBalancerProbeListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerProbeListResultIterator) NextWithContext

func (iter *LoadBalancerProbeListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LoadBalancerProbeListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (LoadBalancerProbeListResultIterator) Response

Response returns the raw server response from the last page request.

func (LoadBalancerProbeListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LoadBalancerProbeListResultPage

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

LoadBalancerProbeListResultPage contains a page of Probe values.

func NewLoadBalancerProbeListResultPage

func NewLoadBalancerProbeListResultPage(getNextPage func(context.Context, LoadBalancerProbeListResult) (LoadBalancerProbeListResult, error)) LoadBalancerProbeListResultPage

Creates a new instance of the LoadBalancerProbeListResultPage type.

func (*LoadBalancerProbeListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LoadBalancerProbeListResultPage) NextWithContext

func (page *LoadBalancerProbeListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LoadBalancerProbeListResultPage) NotDone

func (page LoadBalancerProbeListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LoadBalancerProbeListResultPage) Response

Response returns the raw server response from the last page request.

func (LoadBalancerProbeListResultPage) Values

func (page LoadBalancerProbeListResultPage) Values() []Probe

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancerProbesClient

type LoadBalancerProbesClient struct {
	BaseClient
}

LoadBalancerProbesClient is the network Client

func NewLoadBalancerProbesClient

func NewLoadBalancerProbesClient(subscriptionID string) LoadBalancerProbesClient

NewLoadBalancerProbesClient creates an instance of the LoadBalancerProbesClient client.

func NewLoadBalancerProbesClientWithBaseURI

func NewLoadBalancerProbesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerProbesClient

NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancerProbesClient) Get

func (client LoadBalancerProbesClient) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, probeName string) (result Probe, err error)

Get gets load balancer probe. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. probeName - the name of the probe.

func (LoadBalancerProbesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (LoadBalancerProbesClient) GetResponder

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

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

func (LoadBalancerProbesClient) GetSender

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

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

func (LoadBalancerProbesClient) List

func (client LoadBalancerProbesClient) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerProbeListResultPage, err error)

List gets all the load balancer probes. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancerProbesClient) ListComplete

func (client LoadBalancerProbesClient) ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancerProbeListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancerProbesClient) ListPreparer

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

ListPreparer prepares the List request.

func (LoadBalancerProbesClient) ListResponder

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

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

func (LoadBalancerProbesClient) ListSender

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

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

type LoadBalancerPropertiesFormat

type LoadBalancerPropertiesFormat struct {
	// FrontendIPConfigurations - Object representing the frontend IPs to be used for the load balancer.
	FrontendIPConfigurations *[]FrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	// BackendAddressPools - Collection of backend address pools used by a load balancer.
	BackendAddressPools *[]BackendAddressPool `json:"backendAddressPools,omitempty"`
	// LoadBalancingRules - Object collection representing the load balancing rules Gets the provisioning.
	LoadBalancingRules *[]LoadBalancingRule `json:"loadBalancingRules,omitempty"`
	// Probes - Collection of probe objects used in the load balancer.
	Probes *[]Probe `json:"probes,omitempty"`
	// InboundNatRules - Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.
	InboundNatRules *[]InboundNatRule `json:"inboundNatRules,omitempty"`
	// InboundNatPools - Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.
	InboundNatPools *[]InboundNatPool `json:"inboundNatPools,omitempty"`
	// OutboundRules - The outbound rules.
	OutboundRules *[]OutboundRule `json:"outboundRules,omitempty"`
	// ResourceGUID - The resource GUID property of the load balancer resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the load balancer resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

LoadBalancerPropertiesFormat properties of the load balancer.

type LoadBalancerSku

type LoadBalancerSku struct {
	// Name - Name of a load balancer SKU. Possible values include: 'LoadBalancerSkuNameBasic', 'LoadBalancerSkuNameStandard'
	Name LoadBalancerSkuName `json:"name,omitempty"`
}

LoadBalancerSku SKU of a load balancer.

type LoadBalancerSkuName

type LoadBalancerSkuName string

LoadBalancerSkuName enumerates the values for load balancer sku name.

const (
	// LoadBalancerSkuNameBasic ...
	LoadBalancerSkuNameBasic LoadBalancerSkuName = "Basic"
	// LoadBalancerSkuNameStandard ...
	LoadBalancerSkuNameStandard LoadBalancerSkuName = "Standard"
)

func PossibleLoadBalancerSkuNameValues

func PossibleLoadBalancerSkuNameValues() []LoadBalancerSkuName

PossibleLoadBalancerSkuNameValues returns an array of possible values for the LoadBalancerSkuName const type.

type LoadBalancersClient

type LoadBalancersClient struct {
	BaseClient
}

LoadBalancersClient is the network Client

func NewLoadBalancersClient

func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient

NewLoadBalancersClient creates an instance of the LoadBalancersClient client.

func NewLoadBalancersClientWithBaseURI

func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient

NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LoadBalancersClient) CreateOrUpdate

func (client LoadBalancersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (result LoadBalancersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. parameters - parameters supplied to the create or update load balancer operation.

func (LoadBalancersClient) CreateOrUpdatePreparer

func (client LoadBalancersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters LoadBalancer) (*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) (future LoadBalancersCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, loadBalancerName string) (result LoadBalancersDeleteFuture, err error)

Delete deletes the specified load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer.

func (LoadBalancersClient) DeletePreparer

func (client LoadBalancersClient) DeletePreparer(ctx context.Context, resourceGroupName string, loadBalancerName string) (*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) (future LoadBalancersDeleteFuture, err 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(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (result LoadBalancer, err error)

Get gets the specified load balancer. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. expand - expands referenced resources.

func (LoadBalancersClient) GetPreparer

func (client LoadBalancersClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultPage, err error)

List gets all the load balancers in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (LoadBalancersClient) ListAll

func (client LoadBalancersClient) ListAll(ctx context.Context) (result LoadBalancerListResultPage, err error)

ListAll gets all the load balancers in a subscription.

func (LoadBalancersClient) ListAllComplete

func (client LoadBalancersClient) ListAllComplete(ctx context.Context) (result LoadBalancerListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancersClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (LoadBalancersClient) ListAllResponder

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

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

func (LoadBalancersClient) ListAllSender

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

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

func (LoadBalancersClient) ListComplete

func (client LoadBalancersClient) ListComplete(ctx context.Context, resourceGroupName string) (result LoadBalancerListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LoadBalancersClient) ListPreparer

func (client LoadBalancersClient) ListPreparer(ctx context.Context, 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.

func (LoadBalancersClient) UpdateTags

func (client LoadBalancersClient) UpdateTags(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters TagsObject) (result LoadBalancersUpdateTagsFuture, err error)

UpdateTags updates a load balancer tags. Parameters: resourceGroupName - the name of the resource group. loadBalancerName - the name of the load balancer. parameters - parameters supplied to update load balancer tags.

func (LoadBalancersClient) UpdateTagsPreparer

func (client LoadBalancersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (LoadBalancersClient) UpdateTagsResponder

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

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (LoadBalancersClient) UpdateTagsSender

func (client LoadBalancersClient) UpdateTagsSender(req *http.Request) (future LoadBalancersUpdateTagsFuture, err error)

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

type LoadBalancersCreateOrUpdateFuture

type LoadBalancersCreateOrUpdateFuture struct {
	azure.Future
}

LoadBalancersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LoadBalancersCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LoadBalancersDeleteFuture

type LoadBalancersDeleteFuture struct {
	azure.Future
}

LoadBalancersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LoadBalancersDeleteFuture) Result

func (future *LoadBalancersDeleteFuture) Result(client LoadBalancersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LoadBalancersUpdateTagsFuture

type LoadBalancersUpdateTagsFuture struct {
	azure.Future
}

LoadBalancersUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LoadBalancersUpdateTagsFuture) Result

func (future *LoadBalancersUpdateTagsFuture) Result(client LoadBalancersClient) (lb LoadBalancer, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LoadBalancingRule

type LoadBalancingRule struct {
	autorest.Response `json:"-"`
	// LoadBalancingRulePropertiesFormat - Properties of load balancer load balancing rule.
	*LoadBalancingRulePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

LoadBalancingRule a load balancing rule for a load balancer.

func (LoadBalancingRule) MarshalJSON

func (lbr LoadBalancingRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancingRule.

func (*LoadBalancingRule) UnmarshalJSON

func (lbr *LoadBalancingRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LoadBalancingRule struct.

type LoadBalancingRulePropertiesFormat

type LoadBalancingRulePropertiesFormat struct {
	// FrontendIPConfiguration - A reference to frontend IP addresses.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
	// BackendAddressPool - A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
	// Probe - The reference of the load balancer probe used by the load balancing rule.
	Probe *SubResource `json:"probe,omitempty"`
	// Protocol - The reference to the transport protocol used by the load balancing rule. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP', 'TransportProtocolAll'
	Protocol TransportProtocol `json:"protocol,omitempty"`
	// LoadDistribution - The load distribution policy for this rule. Possible values include: 'LoadDistributionDefault', 'LoadDistributionSourceIP', 'LoadDistributionSourceIPProtocol'
	LoadDistribution LoadDistribution `json:"loadDistribution,omitempty"`
	// FrontendPort - The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
	FrontendPort *int32 `json:"frontendPort,omitempty"`
	// BackendPort - The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
	BackendPort *int32 `json:"backendPort,omitempty"`
	// IdleTimeoutInMinutes - The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
	// EnableFloatingIP - Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
	EnableFloatingIP *bool `json:"enableFloatingIP,omitempty"`
	// EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`
	// DisableOutboundSnat - Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
	DisableOutboundSnat *bool `json:"disableOutboundSnat,omitempty"`
	// ProvisioningState - The provisioning state of the load balancing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

LoadBalancingRulePropertiesFormat properties of the load balancer.

type LoadDistribution

type LoadDistribution string

LoadDistribution enumerates the values for load distribution.

const (
	// LoadDistributionDefault ...
	LoadDistributionDefault LoadDistribution = "Default"
	// LoadDistributionSourceIP ...
	LoadDistributionSourceIP LoadDistribution = "SourceIP"
	// LoadDistributionSourceIPProtocol ...
	LoadDistributionSourceIPProtocol LoadDistribution = "SourceIPProtocol"
)

func PossibleLoadDistributionValues

func PossibleLoadDistributionValues() []LoadDistribution

PossibleLoadDistributionValues returns an array of possible values for the LoadDistribution const type.

type LocalNetworkGateway

type LocalNetworkGateway struct {
	autorest.Response `json:"-"`
	// LocalNetworkGatewayPropertiesFormat - Properties of the local network gateway.
	*LocalNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

LocalNetworkGateway a common class for general resource information.

func (LocalNetworkGateway) MarshalJSON

func (lng LocalNetworkGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalNetworkGateway.

func (*LocalNetworkGateway) UnmarshalJSON

func (lng *LocalNetworkGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LocalNetworkGateway struct.

type LocalNetworkGatewayListResult

type LocalNetworkGatewayListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of local network gateways that exists in a resource group.
	Value *[]LocalNetworkGateway `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

LocalNetworkGatewayListResult response for ListLocalNetworkGateways API service call.

func (LocalNetworkGatewayListResult) IsEmpty

func (lnglr LocalNetworkGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LocalNetworkGatewayListResultIterator

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

LocalNetworkGatewayListResultIterator provides access to a complete listing of LocalNetworkGateway values.

func NewLocalNetworkGatewayListResultIterator

func NewLocalNetworkGatewayListResultIterator(page LocalNetworkGatewayListResultPage) LocalNetworkGatewayListResultIterator

Creates a new instance of the LocalNetworkGatewayListResultIterator type.

func (*LocalNetworkGatewayListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LocalNetworkGatewayListResultIterator) NextWithContext

func (iter *LocalNetworkGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LocalNetworkGatewayListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (LocalNetworkGatewayListResultIterator) Response

Response returns the raw server response from the last page request.

func (LocalNetworkGatewayListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LocalNetworkGatewayListResultPage

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

LocalNetworkGatewayListResultPage contains a page of LocalNetworkGateway values.

func NewLocalNetworkGatewayListResultPage

Creates a new instance of the LocalNetworkGatewayListResultPage type.

func (*LocalNetworkGatewayListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LocalNetworkGatewayListResultPage) NextWithContext

func (page *LocalNetworkGatewayListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LocalNetworkGatewayListResultPage) NotDone

func (page LocalNetworkGatewayListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LocalNetworkGatewayListResultPage) Response

Response returns the raw server response from the last page request.

func (LocalNetworkGatewayListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type LocalNetworkGatewayPropertiesFormat

type LocalNetworkGatewayPropertiesFormat struct {
	// LocalNetworkAddressSpace - Local network site address space.
	LocalNetworkAddressSpace *AddressSpace `json:"localNetworkAddressSpace,omitempty"`
	// GatewayIPAddress - IP address of local network gateway.
	GatewayIPAddress *string `json:"gatewayIpAddress,omitempty"`
	// BgpSettings - Local network gateway's BGP speaker settings.
	BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`
	// ResourceGUID - The resource GUID property of the local network gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the local network gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

LocalNetworkGatewayPropertiesFormat localNetworkGateway properties.

type LocalNetworkGatewaysClient

type LocalNetworkGatewaysClient struct {
	BaseClient
}

LocalNetworkGatewaysClient is the network Client

func NewLocalNetworkGatewaysClient

func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClient creates an instance of the LocalNetworkGatewaysClient client.

func NewLocalNetworkGatewaysClientWithBaseURI

func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient

NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocalNetworkGatewaysClient) CreateOrUpdate

func (client LocalNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (result LocalNetworkGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a local network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway. parameters - parameters supplied to the create or update local network gateway operation.

func (LocalNetworkGatewaysClient) CreateOrUpdatePreparer

func (client LocalNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters LocalNetworkGateway) (*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) (future LocalNetworkGatewaysCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGatewaysDeleteFuture, err error)

Delete deletes the specified local network gateway. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway.

func (LocalNetworkGatewaysClient) DeletePreparer

func (client LocalNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (*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) (future LocalNetworkGatewaysDeleteFuture, err 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(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result LocalNetworkGateway, err error)

Get gets the specified local network gateway in a resource group. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway.

func (LocalNetworkGatewaysClient) GetPreparer

func (client LocalNetworkGatewaysClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultPage, err error)

List gets all the local network gateways in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (LocalNetworkGatewaysClient) ListComplete

func (client LocalNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result LocalNetworkGatewayListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LocalNetworkGatewaysClient) ListPreparer

func (client LocalNetworkGatewaysClient) ListPreparer(ctx context.Context, 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.

func (LocalNetworkGatewaysClient) UpdateTags

func (client LocalNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters TagsObject) (result LocalNetworkGatewaysUpdateTagsFuture, err error)

UpdateTags updates a local network gateway tags. Parameters: resourceGroupName - the name of the resource group. localNetworkGatewayName - the name of the local network gateway. parameters - parameters supplied to update local network gateway tags.

func (LocalNetworkGatewaysClient) UpdateTagsPreparer

func (client LocalNetworkGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (LocalNetworkGatewaysClient) UpdateTagsResponder

func (client LocalNetworkGatewaysClient) UpdateTagsResponder(resp *http.Response) (result LocalNetworkGateway, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (LocalNetworkGatewaysClient) UpdateTagsSender

func (client LocalNetworkGatewaysClient) UpdateTagsSender(req *http.Request) (future LocalNetworkGatewaysUpdateTagsFuture, err error)

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

type LocalNetworkGatewaysCreateOrUpdateFuture

type LocalNetworkGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

LocalNetworkGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LocalNetworkGatewaysCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LocalNetworkGatewaysDeleteFuture

type LocalNetworkGatewaysDeleteFuture struct {
	azure.Future
}

LocalNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LocalNetworkGatewaysDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LocalNetworkGatewaysUpdateTagsFuture

type LocalNetworkGatewaysUpdateTagsFuture struct {
	azure.Future
}

LocalNetworkGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LocalNetworkGatewaysUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LogSpecification

type LogSpecification struct {
	// Name - The name of the specification.
	Name *string `json:"name,omitempty"`
	// DisplayName - The display name of the specification.
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Duration of the blob.
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification description of logging specification.

type ManagedRuleEnabledState

type ManagedRuleEnabledState string

ManagedRuleEnabledState enumerates the values for managed rule enabled state.

const (
	// ManagedRuleEnabledStateDisabled ...
	ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled"
)

func PossibleManagedRuleEnabledStateValues

func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState

PossibleManagedRuleEnabledStateValues returns an array of possible values for the ManagedRuleEnabledState const type.

type ManagedRuleGroupOverride

type ManagedRuleGroupOverride struct {
	// RuleGroupName - Describes the managed rule group to override.
	RuleGroupName *string `json:"ruleGroupName,omitempty"`
	// Rules - List of rules that will be disabled. If none specified, all rules in the group will be disabled.
	Rules *[]ManagedRuleOverride `json:"rules,omitempty"`
}

ManagedRuleGroupOverride defines a managed rule group override setting.

type ManagedRuleOverride

type ManagedRuleOverride struct {
	// RuleID - Identifier for the managed rule.
	RuleID *string `json:"ruleId,omitempty"`
	// State - Describes the state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'ManagedRuleEnabledStateDisabled'
	State ManagedRuleEnabledState `json:"state,omitempty"`
}

ManagedRuleOverride defines a managed rule group override setting.

type ManagedRuleSet

type ManagedRuleSet struct {
	// RuleSetType - Defines the rule set type to use.
	RuleSetType *string `json:"ruleSetType,omitempty"`
	// RuleSetVersion - Defines the version of the rule set to use.
	RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
	// RuleGroupOverrides - Defines the rule group overrides to apply to the rule set.
	RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"`
}

ManagedRuleSet defines a managed rule set.

type ManagedRulesDefinition

type ManagedRulesDefinition struct {
	// Exclusions - Describes the Exclusions that are applied on the policy.
	Exclusions *[]OwaspCrsExclusionEntry `json:"exclusions,omitempty"`
	// ManagedRuleSets - Describes the ruleSets that are associated with the policy.
	ManagedRuleSets *[]ManagedRuleSet `json:"managedRuleSets,omitempty"`
}

ManagedRulesDefinition allow to exclude some variable satisfy the condition for the WAF check.

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	// PrincipalID - READ-ONLY; The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
	Type ResourceIdentityType `json:"type,omitempty"`
	// UserAssignedIdentities - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	UserAssignedIdentities map[string]*ManagedServiceIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
}

ManagedServiceIdentity identity for the resource.

func (ManagedServiceIdentity) MarshalJSON

func (msi ManagedServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedServiceIdentity.

type ManagedServiceIdentityUserAssignedIdentitiesValue

type ManagedServiceIdentityUserAssignedIdentitiesValue struct {
	// PrincipalID - READ-ONLY; The principal id of user assigned identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// ClientID - READ-ONLY; The client id of user assigned identity.
	ClientID *string `json:"clientId,omitempty"`
}

ManagedServiceIdentityUserAssignedIdentitiesValue ...

type MatchCondition

type MatchCondition struct {
	// MatchVariables - List of match variables.
	MatchVariables *[]MatchVariable `json:"matchVariables,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'WebApplicationFirewallOperatorIPMatch', 'WebApplicationFirewallOperatorEqual', 'WebApplicationFirewallOperatorContains', 'WebApplicationFirewallOperatorLessThan', 'WebApplicationFirewallOperatorGreaterThan', 'WebApplicationFirewallOperatorLessThanOrEqual', 'WebApplicationFirewallOperatorGreaterThanOrEqual', 'WebApplicationFirewallOperatorBeginsWith', 'WebApplicationFirewallOperatorEndsWith', 'WebApplicationFirewallOperatorRegex'
	Operator WebApplicationFirewallOperator `json:"operator,omitempty"`
	// NegationConditon - Describes if this is negate condition or not.
	NegationConditon *bool `json:"negationConditon,omitempty"`
	// MatchValues - Match value.
	MatchValues *[]string `json:"matchValues,omitempty"`
	// Transforms - List of transforms.
	Transforms *[]WebApplicationFirewallTransform `json:"transforms,omitempty"`
}

MatchCondition define match conditions.

type MatchVariable

type MatchVariable struct {
	// VariableName - Match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestURI', 'RequestHeaders', 'RequestBody', 'RequestCookies'
	VariableName WebApplicationFirewallMatchVariable `json:"variableName,omitempty"`
	// Selector - Describes field of the matchVariable collection.
	Selector *string `json:"selector,omitempty"`
}

MatchVariable define match variables.

type MatchedRule

type MatchedRule struct {
	// RuleName - Name of the matched network security rule.
	RuleName *string `json:"ruleName,omitempty"`
	// Action - The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'.
	Action *string `json:"action,omitempty"`
}

MatchedRule matched rule.

type MetricSpecification

type MetricSpecification struct {
	// Name - The name of the metric.
	Name *string `json:"name,omitempty"`
	// DisplayName - The display name of the metric.
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - The description of the metric.
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - Units the metric to be displayed in.
	Unit *string `json:"unit,omitempty"`
	// AggregationType - The aggregation type.
	AggregationType *string `json:"aggregationType,omitempty"`
	// Availabilities - List of availability.
	Availabilities *[]Availability `json:"availabilities,omitempty"`
	// EnableRegionalMdmAccount - Whether regional MDM account enabled.
	EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"`
	// FillGapWithZero - Whether gaps would be filled with zeros.
	FillGapWithZero *bool `json:"fillGapWithZero,omitempty"`
	// MetricFilterPattern - Pattern for the filter of the metric.
	MetricFilterPattern *string `json:"metricFilterPattern,omitempty"`
	// Dimensions - List of dimensions.
	Dimensions *[]Dimension `json:"dimensions,omitempty"`
	// IsInternal - Whether the metric is internal.
	IsInternal *bool `json:"isInternal,omitempty"`
	// SourceMdmAccount - The source MDM account.
	SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
	// SourceMdmNamespace - The source MDM namespace.
	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
	// ResourceIDDimensionNameOverride - The resource Id dimension name override.
	ResourceIDDimensionNameOverride *string `json:"resourceIdDimensionNameOverride,omitempty"`
}

MetricSpecification description of metrics specification.

type NatGateway

type NatGateway struct {
	autorest.Response `json:"-"`
	// Sku - The nat gateway SKU.
	Sku *NatGatewaySku `json:"sku,omitempty"`
	// NatGatewayPropertiesFormat - Nat Gateway properties.
	*NatGatewayPropertiesFormat `json:"properties,omitempty"`
	// Zones - A list of availability zones denoting the zone in which Nat Gateway should be deployed.
	Zones *[]string `json:"zones,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

NatGateway nat Gateway resource.

func (NatGateway) MarshalJSON

func (ng NatGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NatGateway.

func (*NatGateway) UnmarshalJSON

func (ng *NatGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NatGateway struct.

type NatGatewayListResult

type NatGatewayListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of Nat Gateways that exists in a resource group.
	Value *[]NatGateway `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

NatGatewayListResult response for ListNatGateways API service call.

func (NatGatewayListResult) IsEmpty

func (nglr NatGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NatGatewayListResultIterator

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

NatGatewayListResultIterator provides access to a complete listing of NatGateway values.

func NewNatGatewayListResultIterator

func NewNatGatewayListResultIterator(page NatGatewayListResultPage) NatGatewayListResultIterator

Creates a new instance of the NatGatewayListResultIterator type.

func (*NatGatewayListResultIterator) Next

func (iter *NatGatewayListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*NatGatewayListResultIterator) NextWithContext

func (iter *NatGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (NatGatewayListResultIterator) NotDone

func (iter NatGatewayListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (NatGatewayListResultIterator) Response

Response returns the raw server response from the last page request.

func (NatGatewayListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type NatGatewayListResultPage

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

NatGatewayListResultPage contains a page of NatGateway values.

func NewNatGatewayListResultPage

func NewNatGatewayListResultPage(getNextPage func(context.Context, NatGatewayListResult) (NatGatewayListResult, error)) NatGatewayListResultPage

Creates a new instance of the NatGatewayListResultPage type.

func (*NatGatewayListResultPage) Next

func (page *NatGatewayListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*NatGatewayListResultPage) NextWithContext

func (page *NatGatewayListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (NatGatewayListResultPage) NotDone

func (page NatGatewayListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (NatGatewayListResultPage) Response

Response returns the raw server response from the last page request.

func (NatGatewayListResultPage) Values

func (page NatGatewayListResultPage) Values() []NatGateway

Values returns the slice of values for the current page or nil if there are no values.

type NatGatewayPropertiesFormat

type NatGatewayPropertiesFormat struct {
	// IdleTimeoutInMinutes - The idle timeout of the nat gateway.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
	// PublicIPAddresses - An array of public ip addresses associated with the nat gateway resource.
	PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"`
	// PublicIPPrefixes - An array of public ip prefixes associated with the nat gateway resource.
	PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"`
	// Subnets - READ-ONLY; An array of references to the subnets using this nat gateway resource.
	Subnets *[]SubResource `json:"subnets,omitempty"`
	// ResourceGUID - The resource GUID property of the NAT gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the NAT gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

NatGatewayPropertiesFormat nat Gateway properties.

type NatGatewaySku

type NatGatewaySku struct {
	// Name - Name of Nat Gateway SKU. Possible values include: 'NatGatewaySkuNameStandard'
	Name NatGatewaySkuName `json:"name,omitempty"`
}

NatGatewaySku SKU of nat gateway.

type NatGatewaySkuName

type NatGatewaySkuName string

NatGatewaySkuName enumerates the values for nat gateway sku name.

const (
	// NatGatewaySkuNameStandard ...
	NatGatewaySkuNameStandard NatGatewaySkuName = "Standard"
)

func PossibleNatGatewaySkuNameValues

func PossibleNatGatewaySkuNameValues() []NatGatewaySkuName

PossibleNatGatewaySkuNameValues returns an array of possible values for the NatGatewaySkuName const type.

type NatGatewaysClient

type NatGatewaysClient struct {
	BaseClient
}

NatGatewaysClient is the network Client

func NewNatGatewaysClient

func NewNatGatewaysClient(subscriptionID string) NatGatewaysClient

NewNatGatewaysClient creates an instance of the NatGatewaysClient client.

func NewNatGatewaysClientWithBaseURI

func NewNatGatewaysClientWithBaseURI(baseURI string, subscriptionID string) NatGatewaysClient

NewNatGatewaysClientWithBaseURI creates an instance of the NatGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (NatGatewaysClient) CreateOrUpdate

func (client NatGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, natGatewayName string, parameters NatGateway) (result NatGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a nat gateway. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway. parameters - parameters supplied to the create or update nat gateway operation.

func (NatGatewaysClient) CreateOrUpdatePreparer

func (client NatGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, natGatewayName string, parameters NatGateway) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NatGatewaysClient) CreateOrUpdateResponder

func (client NatGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result NatGateway, err error)

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

func (NatGatewaysClient) CreateOrUpdateSender

func (client NatGatewaysClient) CreateOrUpdateSender(req *http.Request) (future NatGatewaysCreateOrUpdateFuture, err error)

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

func (NatGatewaysClient) Delete

func (client NatGatewaysClient) Delete(ctx context.Context, resourceGroupName string, natGatewayName string) (result NatGatewaysDeleteFuture, err error)

Delete deletes the specified nat gateway. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway.

func (NatGatewaysClient) DeletePreparer

func (client NatGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, natGatewayName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (NatGatewaysClient) DeleteResponder

func (client NatGatewaysClient) 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 (NatGatewaysClient) DeleteSender

func (client NatGatewaysClient) DeleteSender(req *http.Request) (future NatGatewaysDeleteFuture, err error)

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

func (NatGatewaysClient) Get

func (client NatGatewaysClient) Get(ctx context.Context, resourceGroupName string, natGatewayName string, expand string) (result NatGateway, err error)

Get gets the specified nat gateway in a specified resource group. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway. expand - expands referenced resources.

func (NatGatewaysClient) GetPreparer

func (client NatGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, natGatewayName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NatGatewaysClient) GetResponder

func (client NatGatewaysClient) GetResponder(resp *http.Response) (result NatGateway, err error)

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

func (NatGatewaysClient) GetSender

func (client NatGatewaysClient) 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 (NatGatewaysClient) List

func (client NatGatewaysClient) List(ctx context.Context, resourceGroupName string) (result NatGatewayListResultPage, err error)

List gets all nat gateways in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (NatGatewaysClient) ListAll

func (client NatGatewaysClient) ListAll(ctx context.Context) (result NatGatewayListResultPage, err error)

ListAll gets all the Nat Gateways in a subscription.

func (NatGatewaysClient) ListAllComplete

func (client NatGatewaysClient) ListAllComplete(ctx context.Context) (result NatGatewayListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (NatGatewaysClient) ListAllPreparer

func (client NatGatewaysClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (NatGatewaysClient) ListAllResponder

func (client NatGatewaysClient) ListAllResponder(resp *http.Response) (result NatGatewayListResult, err error)

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

func (NatGatewaysClient) ListAllSender

func (client NatGatewaysClient) 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 (NatGatewaysClient) ListComplete

func (client NatGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result NatGatewayListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (NatGatewaysClient) ListPreparer

func (client NatGatewaysClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (NatGatewaysClient) ListResponder

func (client NatGatewaysClient) ListResponder(resp *http.Response) (result NatGatewayListResult, err error)

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

func (NatGatewaysClient) ListSender

func (client NatGatewaysClient) 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 (NatGatewaysClient) UpdateTags

func (client NatGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, natGatewayName string, parameters TagsObject) (result NatGateway, err error)

UpdateTags updates nat gateway tags. Parameters: resourceGroupName - the name of the resource group. natGatewayName - the name of the nat gateway. parameters - parameters supplied to update nat gateway tags.

func (NatGatewaysClient) UpdateTagsPreparer

func (client NatGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, natGatewayName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (NatGatewaysClient) UpdateTagsResponder

func (client NatGatewaysClient) UpdateTagsResponder(resp *http.Response) (result NatGateway, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (NatGatewaysClient) UpdateTagsSender

func (client NatGatewaysClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type NatGatewaysCreateOrUpdateFuture

type NatGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

NatGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*NatGatewaysCreateOrUpdateFuture) Result

func (future *NatGatewaysCreateOrUpdateFuture) Result(client NatGatewaysClient) (ng NatGateway, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NatGatewaysDeleteFuture

type NatGatewaysDeleteFuture struct {
	azure.Future
}

NatGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*NatGatewaysDeleteFuture) Result

func (future *NatGatewaysDeleteFuture) Result(client NatGatewaysClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type NextHopParameters

type NextHopParameters struct {
	// TargetResourceID - The resource identifier of the target resource against which the action is to be performed.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// SourceIPAddress - The source IP address.
	SourceIPAddress *string `json:"sourceIPAddress,omitempty"`
	// DestinationIPAddress - The destination IP address.
	DestinationIPAddress *string `json:"destinationIPAddress,omitempty"`
	// TargetNicResourceID - The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).
	TargetNicResourceID *string `json:"targetNicResourceId,omitempty"`
}

NextHopParameters parameters that define the source and destination endpoint.

type NextHopResult

type NextHopResult struct {
	autorest.Response `json:"-"`
	// NextHopType - Next hop type. Possible values include: 'NextHopTypeInternet', 'NextHopTypeVirtualAppliance', 'NextHopTypeVirtualNetworkGateway', 'NextHopTypeVnetLocal', 'NextHopTypeHyperNetGateway', 'NextHopTypeNone'
	NextHopType NextHopType `json:"nextHopType,omitempty"`
	// NextHopIPAddress - Next hop IP Address.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`
	// RouteTableID - The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'.
	RouteTableID *string `json:"routeTableId,omitempty"`
}

NextHopResult the information about next hop from the specified VM.

type NextHopType

type NextHopType string

NextHopType enumerates the values for next hop type.

const (
	// NextHopTypeHyperNetGateway ...
	NextHopTypeHyperNetGateway NextHopType = "HyperNetGateway"
	// NextHopTypeInternet ...
	NextHopTypeInternet NextHopType = "Internet"
	// NextHopTypeNone ...
	NextHopTypeNone NextHopType = "None"
	// NextHopTypeVirtualAppliance ...
	NextHopTypeVirtualAppliance NextHopType = "VirtualAppliance"
	// NextHopTypeVirtualNetworkGateway ...
	NextHopTypeVirtualNetworkGateway NextHopType = "VirtualNetworkGateway"
	// NextHopTypeVnetLocal ...
	NextHopTypeVnetLocal NextHopType = "VnetLocal"
)

func PossibleNextHopTypeValues

func PossibleNextHopTypeValues() []NextHopType

PossibleNextHopTypeValues returns an array of possible values for the NextHopType const type.

type OfficeTrafficCategory

type OfficeTrafficCategory string

OfficeTrafficCategory enumerates the values for office traffic category.

const (
	// OfficeTrafficCategoryAll ...
	OfficeTrafficCategoryAll OfficeTrafficCategory = "All"
	// OfficeTrafficCategoryNone ...
	OfficeTrafficCategoryNone OfficeTrafficCategory = "None"
	// OfficeTrafficCategoryOptimize ...
	OfficeTrafficCategoryOptimize OfficeTrafficCategory = "Optimize"
	// OfficeTrafficCategoryOptimizeAndAllow ...
	OfficeTrafficCategoryOptimizeAndAllow OfficeTrafficCategory = "OptimizeAndAllow"
)

func PossibleOfficeTrafficCategoryValues

func PossibleOfficeTrafficCategoryValues() []OfficeTrafficCategory

PossibleOfficeTrafficCategoryValues returns an array of possible values for the OfficeTrafficCategory const type.

type Operation

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - Display metadata associated with the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - Origin of the operation.
	Origin *string `json:"origin,omitempty"`
	// OperationPropertiesFormat - Operation properties format.
	*OperationPropertiesFormat `json:"properties,omitempty"`
}

Operation network REST API operation definition.

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft Network.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - Type of the operation: get, read, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay display metadata associated with the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Network operations supported by the Network resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationPropertiesFormat

type OperationPropertiesFormat struct {
	// ServiceSpecification - Specification of the service.
	ServiceSpecification *OperationPropertiesFormatServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationPropertiesFormat description of operation properties format.

type OperationPropertiesFormatServiceSpecification

type OperationPropertiesFormatServiceSpecification struct {
	// MetricSpecifications - Operation service specification.
	MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
	// LogSpecifications - Operation log specification.
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
}

OperationPropertiesFormatServiceSpecification specification of the service.

type OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// OperationStatusFailed ...
	OperationStatusFailed OperationStatus = "Failed"
	// OperationStatusInProgress ...
	OperationStatusInProgress OperationStatus = "InProgress"
	// OperationStatusSucceeded ...
	OperationStatusSucceeded OperationStatus = "Succeeded"
)

func PossibleOperationStatusValues

func PossibleOperationStatusValues() []OperationStatus

PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the network Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available Network Rest API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender

func (client OperationsClient) 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 Origin

type Origin string

Origin enumerates the values for origin.

const (
	// OriginInbound ...
	OriginInbound Origin = "Inbound"
	// OriginLocal ...
	OriginLocal Origin = "Local"
	// OriginOutbound ...
	OriginOutbound Origin = "Outbound"
)

func PossibleOriginValues

func PossibleOriginValues() []Origin

PossibleOriginValues returns an array of possible values for the Origin const type.

type OutboundRule

type OutboundRule struct {
	autorest.Response `json:"-"`
	// OutboundRulePropertiesFormat - Properties of load balancer outbound rule.
	*OutboundRulePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

OutboundRule outbound rule of the load balancer.

func (OutboundRule) MarshalJSON

func (or OutboundRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OutboundRule.

func (*OutboundRule) UnmarshalJSON

func (or *OutboundRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OutboundRule struct.

type OutboundRulePropertiesFormat

type OutboundRulePropertiesFormat struct {
	// AllocatedOutboundPorts - The number of outbound ports to be used for NAT.
	AllocatedOutboundPorts *int32 `json:"allocatedOutboundPorts,omitempty"`
	// FrontendIPConfigurations - The Frontend IP addresses of the load balancer.
	FrontendIPConfigurations *[]SubResource `json:"frontendIPConfigurations,omitempty"`
	// BackendAddressPool - A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
	// ProvisioningState - The provisioning state of the outbound rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Protocol - The protocol for the outbound rule in load balancer. Possible values include: 'LoadBalancerOutboundRuleProtocolTCP', 'LoadBalancerOutboundRuleProtocolUDP', 'LoadBalancerOutboundRuleProtocolAll'
	Protocol LoadBalancerOutboundRuleProtocol `json:"protocol,omitempty"`
	// EnableTCPReset - Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
	EnableTCPReset *bool `json:"enableTcpReset,omitempty"`
	// IdleTimeoutInMinutes - The timeout for the TCP idle connection.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
}

OutboundRulePropertiesFormat outbound rule of the load balancer.

type OwaspCrsExclusionEntry

type OwaspCrsExclusionEntry struct {
	// MatchVariable - The variable to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'RequestArgNames'
	MatchVariable OwaspCrsExclusionEntryMatchVariable `json:"matchVariable,omitempty"`
	// SelectorMatchOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. Possible values include: 'OwaspCrsExclusionEntrySelectorMatchOperatorEquals', 'OwaspCrsExclusionEntrySelectorMatchOperatorContains', 'OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith', 'OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith', 'OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny'
	SelectorMatchOperator OwaspCrsExclusionEntrySelectorMatchOperator `json:"selectorMatchOperator,omitempty"`
	// Selector - When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
	Selector *string `json:"selector,omitempty"`
}

OwaspCrsExclusionEntry allow to exclude some variable satisfy the condition for the WAF check.

type OwaspCrsExclusionEntryMatchVariable

type OwaspCrsExclusionEntryMatchVariable string

OwaspCrsExclusionEntryMatchVariable enumerates the values for owasp crs exclusion entry match variable.

const (
	// RequestArgNames ...
	RequestArgNames OwaspCrsExclusionEntryMatchVariable = "RequestArgNames"
	// RequestCookieNames ...
	RequestCookieNames OwaspCrsExclusionEntryMatchVariable = "RequestCookieNames"
	// RequestHeaderNames ...
	RequestHeaderNames OwaspCrsExclusionEntryMatchVariable = "RequestHeaderNames"
)

func PossibleOwaspCrsExclusionEntryMatchVariableValues

func PossibleOwaspCrsExclusionEntryMatchVariableValues() []OwaspCrsExclusionEntryMatchVariable

PossibleOwaspCrsExclusionEntryMatchVariableValues returns an array of possible values for the OwaspCrsExclusionEntryMatchVariable const type.

type OwaspCrsExclusionEntrySelectorMatchOperator

type OwaspCrsExclusionEntrySelectorMatchOperator string

OwaspCrsExclusionEntrySelectorMatchOperator enumerates the values for owasp crs exclusion entry selector match operator.

const (
	// OwaspCrsExclusionEntrySelectorMatchOperatorContains ...
	OwaspCrsExclusionEntrySelectorMatchOperatorContains OwaspCrsExclusionEntrySelectorMatchOperator = "Contains"
	// OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith ...
	OwaspCrsExclusionEntrySelectorMatchOperatorEndsWith OwaspCrsExclusionEntrySelectorMatchOperator = "EndsWith"
	// OwaspCrsExclusionEntrySelectorMatchOperatorEquals ...
	OwaspCrsExclusionEntrySelectorMatchOperatorEquals OwaspCrsExclusionEntrySelectorMatchOperator = "Equals"
	// OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny ...
	OwaspCrsExclusionEntrySelectorMatchOperatorEqualsAny OwaspCrsExclusionEntrySelectorMatchOperator = "EqualsAny"
	// OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith ...
	OwaspCrsExclusionEntrySelectorMatchOperatorStartsWith OwaspCrsExclusionEntrySelectorMatchOperator = "StartsWith"
)

func PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues

func PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues() []OwaspCrsExclusionEntrySelectorMatchOperator

PossibleOwaspCrsExclusionEntrySelectorMatchOperatorValues returns an array of possible values for the OwaspCrsExclusionEntrySelectorMatchOperator const type.

type P2SConnectionConfiguration

type P2SConnectionConfiguration struct {
	// P2SConnectionConfigurationProperties - Properties of the P2S connection configuration.
	*P2SConnectionConfigurationProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

P2SConnectionConfiguration p2SConnectionConfiguration Resource.

func (P2SConnectionConfiguration) MarshalJSON

func (pcc P2SConnectionConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for P2SConnectionConfiguration.

func (*P2SConnectionConfiguration) UnmarshalJSON

func (pcc *P2SConnectionConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for P2SConnectionConfiguration struct.

type P2SConnectionConfigurationProperties

type P2SConnectionConfigurationProperties struct {
	// VpnClientAddressPool - The reference of the address space resource which represents Address space for P2S VpnClient.
	VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"`
	// ProvisioningState - The provisioning state of the P2SConnectionConfiguration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

P2SConnectionConfigurationProperties parameters for P2SConnectionConfiguration.

type P2SVpnConnectionHealth

type P2SVpnConnectionHealth struct {
	autorest.Response `json:"-"`
	// SasURL - Returned sas url of the blob to which the p2s vpn connection detailed health will be written.
	SasURL *string `json:"sasUrl,omitempty"`
}

P2SVpnConnectionHealth p2S Vpn connection detailed health written to sas url.

type P2SVpnConnectionHealthRequest

type P2SVpnConnectionHealthRequest struct {
	// VpnUserNamesFilter - The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
	VpnUserNamesFilter *[]string `json:"vpnUserNamesFilter,omitempty"`
	// OutputBlobSasURL - The sas-url to download the P2S Vpn connection health detail.
	OutputBlobSasURL *string `json:"outputBlobSasUrl,omitempty"`
}

P2SVpnConnectionHealthRequest list of P2S Vpn connection health request.

type P2SVpnGateway

type P2SVpnGateway struct {
	autorest.Response `json:"-"`
	// P2SVpnGatewayProperties - Properties of the P2SVpnGateway.
	*P2SVpnGatewayProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

P2SVpnGateway p2SVpnGateway Resource.

func (P2SVpnGateway) MarshalJSON

func (pvg P2SVpnGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for P2SVpnGateway.

func (*P2SVpnGateway) UnmarshalJSON

func (pvg *P2SVpnGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for P2SVpnGateway struct.

type P2SVpnGatewayProperties

type P2SVpnGatewayProperties struct {
	// VirtualHub - The VirtualHub to which the gateway belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`
	// P2SConnectionConfigurations - List of all p2s connection configurations of the gateway.
	P2SConnectionConfigurations *[]P2SConnectionConfiguration `json:"p2SConnectionConfigurations,omitempty"`
	// ProvisioningState - The provisioning state of the P2S VPN gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VpnGatewayScaleUnit - The scale unit for this p2s vpn gateway.
	VpnGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"`
	// VpnServerConfiguration - The VpnServerConfiguration to which the p2sVpnGateway is attached to.
	VpnServerConfiguration *SubResource `json:"vpnServerConfiguration,omitempty"`
	// VpnClientConnectionHealth - READ-ONLY; All P2S VPN clients' connection health status.
	VpnClientConnectionHealth *VpnClientConnectionHealth `json:"vpnClientConnectionHealth,omitempty"`
}

P2SVpnGatewayProperties parameters for P2SVpnGateway.

type P2SVpnProfileParameters

type P2SVpnProfileParameters struct {
	// AuthenticationMethod - VPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
	AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"`
}

P2SVpnProfileParameters vpn Client Parameters for package generation.

type P2sVpnGatewaysClient

type P2sVpnGatewaysClient struct {
	BaseClient
}

P2sVpnGatewaysClient is the network Client

func NewP2sVpnGatewaysClient

func NewP2sVpnGatewaysClient(subscriptionID string) P2sVpnGatewaysClient

NewP2sVpnGatewaysClient creates an instance of the P2sVpnGatewaysClient client.

func NewP2sVpnGatewaysClientWithBaseURI

func NewP2sVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) P2sVpnGatewaysClient

NewP2sVpnGatewaysClientWithBaseURI creates an instance of the P2sVpnGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (P2sVpnGatewaysClient) CreateOrUpdate

func (client P2sVpnGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters P2SVpnGateway) (result P2sVpnGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway. p2SVpnGatewayParameters - parameters supplied to create or Update a virtual wan p2s vpn gateway.

func (P2sVpnGatewaysClient) CreateOrUpdatePreparer

func (client P2sVpnGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters P2SVpnGateway) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (P2sVpnGatewaysClient) CreateOrUpdateResponder

func (client P2sVpnGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result P2SVpnGateway, err error)

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

func (P2sVpnGatewaysClient) CreateOrUpdateSender

func (client P2sVpnGatewaysClient) CreateOrUpdateSender(req *http.Request) (future P2sVpnGatewaysCreateOrUpdateFuture, err error)

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

func (P2sVpnGatewaysClient) Delete

func (client P2sVpnGatewaysClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string) (result P2sVpnGatewaysDeleteFuture, err error)

Delete deletes a virtual wan p2s vpn gateway. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway.

func (P2sVpnGatewaysClient) DeletePreparer

func (client P2sVpnGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (P2sVpnGatewaysClient) DeleteResponder

func (client P2sVpnGatewaysClient) 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 (P2sVpnGatewaysClient) DeleteSender

func (client P2sVpnGatewaysClient) DeleteSender(req *http.Request) (future P2sVpnGatewaysDeleteFuture, err error)

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

func (P2sVpnGatewaysClient) GenerateVpnProfile

func (client P2sVpnGatewaysClient) GenerateVpnProfile(ctx context.Context, resourceGroupName string, gatewayName string, parameters P2SVpnProfileParameters) (result P2sVpnGatewaysGenerateVpnProfileFuture, err error)

GenerateVpnProfile generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the P2SVpnGateway. parameters - parameters supplied to the generate P2SVpnGateway VPN client package operation.

func (P2sVpnGatewaysClient) GenerateVpnProfilePreparer

func (client P2sVpnGatewaysClient) GenerateVpnProfilePreparer(ctx context.Context, resourceGroupName string, gatewayName string, parameters P2SVpnProfileParameters) (*http.Request, error)

GenerateVpnProfilePreparer prepares the GenerateVpnProfile request.

func (P2sVpnGatewaysClient) GenerateVpnProfileResponder

func (client P2sVpnGatewaysClient) GenerateVpnProfileResponder(resp *http.Response) (result VpnProfileResponse, err error)

GenerateVpnProfileResponder handles the response to the GenerateVpnProfile request. The method always closes the http.Response Body.

func (P2sVpnGatewaysClient) GenerateVpnProfileSender

func (client P2sVpnGatewaysClient) GenerateVpnProfileSender(req *http.Request) (future P2sVpnGatewaysGenerateVpnProfileFuture, err error)

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

func (P2sVpnGatewaysClient) Get

func (client P2sVpnGatewaysClient) Get(ctx context.Context, resourceGroupName string, gatewayName string) (result P2SVpnGateway, err error)

Get retrieves the details of a virtual wan p2s vpn gateway. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealth

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealth(ctx context.Context, resourceGroupName string, gatewayName string) (result P2sVpnGatewaysGetP2sVpnConnectionHealthFuture, err error)

GetP2sVpnConnectionHealth gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the P2SVpnGateway.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailed

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailed(ctx context.Context, resourceGroupName string, gatewayName string, request P2SVpnConnectionHealthRequest) (result P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture, err error)

GetP2sVpnConnectionHealthDetailed gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. gatewayName - the name of the P2SVpnGateway. request - request parameters supplied to get p2s vpn connections detailed health.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedPreparer

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedPreparer(ctx context.Context, resourceGroupName string, gatewayName string, request P2SVpnConnectionHealthRequest) (*http.Request, error)

GetP2sVpnConnectionHealthDetailedPreparer prepares the GetP2sVpnConnectionHealthDetailed request.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedResponder

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedResponder(resp *http.Response) (result P2SVpnConnectionHealth, err error)

GetP2sVpnConnectionHealthDetailedResponder handles the response to the GetP2sVpnConnectionHealthDetailed request. The method always closes the http.Response Body.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedSender

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthDetailedSender(req *http.Request) (future P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture, err error)

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

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthPreparer

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

GetP2sVpnConnectionHealthPreparer prepares the GetP2sVpnConnectionHealth request.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthResponder

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthResponder(resp *http.Response) (result P2SVpnGateway, err error)

GetP2sVpnConnectionHealthResponder handles the response to the GetP2sVpnConnectionHealth request. The method always closes the http.Response Body.

func (P2sVpnGatewaysClient) GetP2sVpnConnectionHealthSender

func (client P2sVpnGatewaysClient) GetP2sVpnConnectionHealthSender(req *http.Request) (future P2sVpnGatewaysGetP2sVpnConnectionHealthFuture, err error)

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

func (P2sVpnGatewaysClient) GetPreparer

func (client P2sVpnGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (P2sVpnGatewaysClient) GetResponder

func (client P2sVpnGatewaysClient) GetResponder(resp *http.Response) (result P2SVpnGateway, err error)

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

func (P2sVpnGatewaysClient) GetSender

func (client P2sVpnGatewaysClient) 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 (P2sVpnGatewaysClient) List

List lists all the P2SVpnGateways in a subscription.

func (P2sVpnGatewaysClient) ListByResourceGroup

func (client P2sVpnGatewaysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListP2SVpnGatewaysResultPage, err error)

ListByResourceGroup lists all the P2SVpnGateways in a resource group. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway.

func (P2sVpnGatewaysClient) ListByResourceGroupComplete

func (client P2sVpnGatewaysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListP2SVpnGatewaysResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (P2sVpnGatewaysClient) ListByResourceGroupPreparer

func (client P2sVpnGatewaysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (P2sVpnGatewaysClient) ListByResourceGroupResponder

func (client P2sVpnGatewaysClient) ListByResourceGroupResponder(resp *http.Response) (result ListP2SVpnGatewaysResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (P2sVpnGatewaysClient) ListByResourceGroupSender

func (client P2sVpnGatewaysClient) 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 (P2sVpnGatewaysClient) ListComplete

func (client P2sVpnGatewaysClient) ListComplete(ctx context.Context) (result ListP2SVpnGatewaysResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (P2sVpnGatewaysClient) ListPreparer

func (client P2sVpnGatewaysClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (P2sVpnGatewaysClient) ListResponder

func (client P2sVpnGatewaysClient) ListResponder(resp *http.Response) (result ListP2SVpnGatewaysResult, err error)

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

func (P2sVpnGatewaysClient) ListSender

func (client P2sVpnGatewaysClient) 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 (P2sVpnGatewaysClient) UpdateTags

func (client P2sVpnGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters TagsObject) (result P2sVpnGatewaysUpdateTagsFuture, err error)

UpdateTags updates virtual wan p2s vpn gateway tags. Parameters: resourceGroupName - the resource group name of the P2SVpnGateway. gatewayName - the name of the gateway. p2SVpnGatewayParameters - parameters supplied to update a virtual wan p2s vpn gateway tags.

func (P2sVpnGatewaysClient) UpdateTagsPreparer

func (client P2sVpnGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (P2sVpnGatewaysClient) UpdateTagsResponder

func (client P2sVpnGatewaysClient) UpdateTagsResponder(resp *http.Response) (result P2SVpnGateway, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (P2sVpnGatewaysClient) UpdateTagsSender

func (client P2sVpnGatewaysClient) UpdateTagsSender(req *http.Request) (future P2sVpnGatewaysUpdateTagsFuture, err error)

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

type P2sVpnGatewaysCreateOrUpdateFuture

type P2sVpnGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

P2sVpnGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*P2sVpnGatewaysCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type P2sVpnGatewaysDeleteFuture

type P2sVpnGatewaysDeleteFuture struct {
	azure.Future
}

P2sVpnGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*P2sVpnGatewaysDeleteFuture) Result

func (future *P2sVpnGatewaysDeleteFuture) Result(client P2sVpnGatewaysClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type P2sVpnGatewaysGenerateVpnProfileFuture

type P2sVpnGatewaysGenerateVpnProfileFuture struct {
	azure.Future
}

P2sVpnGatewaysGenerateVpnProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*P2sVpnGatewaysGenerateVpnProfileFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture

type P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture struct {
	azure.Future
}

P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*P2sVpnGatewaysGetP2sVpnConnectionHealthDetailedFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type P2sVpnGatewaysGetP2sVpnConnectionHealthFuture

type P2sVpnGatewaysGetP2sVpnConnectionHealthFuture struct {
	azure.Future
}

P2sVpnGatewaysGetP2sVpnConnectionHealthFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*P2sVpnGatewaysGetP2sVpnConnectionHealthFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type P2sVpnGatewaysUpdateTagsFuture

type P2sVpnGatewaysUpdateTagsFuture struct {
	azure.Future
}

P2sVpnGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*P2sVpnGatewaysUpdateTagsFuture) Result

func (future *P2sVpnGatewaysUpdateTagsFuture) Result(client P2sVpnGatewaysClient) (pvg P2SVpnGateway, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PacketCapture

type PacketCapture struct {
	// PacketCaptureParameters - Properties of the packet capture.
	*PacketCaptureParameters `json:"properties,omitempty"`
}

PacketCapture parameters that define the create packet capture operation.

func (PacketCapture) MarshalJSON

func (pc PacketCapture) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PacketCapture.

func (*PacketCapture) UnmarshalJSON

func (pc *PacketCapture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PacketCapture struct.

type PacketCaptureFilter

type PacketCaptureFilter struct {
	// Protocol - Protocol to be filtered on. Possible values include: 'PcProtocolTCP', 'PcProtocolUDP', 'PcProtocolAny'
	Protocol PcProtocol `json:"protocol,omitempty"`
	// LocalIPAddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
	LocalIPAddress *string `json:"localIPAddress,omitempty"`
	// RemoteIPAddress - Local IP Address to be filtered on. Notation: "127.0.0.1" for single address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
	RemoteIPAddress *string `json:"remoteIPAddress,omitempty"`
	// LocalPort - Local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
	LocalPort *string `json:"localPort,omitempty"`
	// RemotePort - Remote port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
	RemotePort *string `json:"remotePort,omitempty"`
}

PacketCaptureFilter filter that is applied to packet capture request. Multiple filters can be applied.

type PacketCaptureListResult

type PacketCaptureListResult struct {
	autorest.Response `json:"-"`
	// Value - Information about packet capture sessions.
	Value *[]PacketCaptureResult `json:"value,omitempty"`
}

PacketCaptureListResult list of packet capture sessions.

type PacketCaptureParameters

type PacketCaptureParameters struct {
	// Target - The ID of the targeted resource, only VM is currently supported.
	Target *string `json:"target,omitempty"`
	// BytesToCapturePerPacket - Number of bytes captured per packet, the remaining bytes are truncated.
	BytesToCapturePerPacket *int32 `json:"bytesToCapturePerPacket,omitempty"`
	// TotalBytesPerSession - Maximum size of the capture output.
	TotalBytesPerSession *int32 `json:"totalBytesPerSession,omitempty"`
	// TimeLimitInSeconds - Maximum duration of the capture session in seconds.
	TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"`
	// StorageLocation - Describes the storage location for a packet capture session.
	StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`
	// Filters - A list of packet capture filters.
	Filters *[]PacketCaptureFilter `json:"filters,omitempty"`
}

PacketCaptureParameters parameters that define the create packet capture operation.

type PacketCaptureQueryStatusResult

type PacketCaptureQueryStatusResult struct {
	autorest.Response `json:"-"`
	// Name - The name of the packet capture resource.
	Name *string `json:"name,omitempty"`
	// ID - The ID of the packet capture resource.
	ID *string `json:"id,omitempty"`
	// CaptureStartTime - The start time of the packet capture session.
	CaptureStartTime *date.Time `json:"captureStartTime,omitempty"`
	// PacketCaptureStatus - The status of the packet capture session. Possible values include: 'PcStatusNotStarted', 'PcStatusRunning', 'PcStatusStopped', 'PcStatusError', 'PcStatusUnknown'
	PacketCaptureStatus PcStatus `json:"packetCaptureStatus,omitempty"`
	// StopReason - The reason the current packet capture session was stopped.
	StopReason *string `json:"stopReason,omitempty"`
	// PacketCaptureError - List of errors of packet capture session.
	PacketCaptureError *[]PcError `json:"packetCaptureError,omitempty"`
}

PacketCaptureQueryStatusResult status of packet capture session.

type PacketCaptureResult

type PacketCaptureResult struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; Name of the packet capture session.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; ID of the packet capture operation.
	ID *string `json:"id,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// PacketCaptureResultProperties - Properties of the packet capture result.
	*PacketCaptureResultProperties `json:"properties,omitempty"`
}

PacketCaptureResult information about packet capture session.

func (PacketCaptureResult) MarshalJSON

func (pcr PacketCaptureResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PacketCaptureResult.

func (*PacketCaptureResult) UnmarshalJSON

func (pcr *PacketCaptureResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PacketCaptureResult struct.

type PacketCaptureResultProperties

type PacketCaptureResultProperties struct {
	// ProvisioningState - The provisioning state of the packet capture session. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// Target - The ID of the targeted resource, only VM is currently supported.
	Target *string `json:"target,omitempty"`
	// BytesToCapturePerPacket - Number of bytes captured per packet, the remaining bytes are truncated.
	BytesToCapturePerPacket *int32 `json:"bytesToCapturePerPacket,omitempty"`
	// TotalBytesPerSession - Maximum size of the capture output.
	TotalBytesPerSession *int32 `json:"totalBytesPerSession,omitempty"`
	// TimeLimitInSeconds - Maximum duration of the capture session in seconds.
	TimeLimitInSeconds *int32 `json:"timeLimitInSeconds,omitempty"`
	// StorageLocation - Describes the storage location for a packet capture session.
	StorageLocation *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`
	// Filters - A list of packet capture filters.
	Filters *[]PacketCaptureFilter `json:"filters,omitempty"`
}

PacketCaptureResultProperties describes the properties of a packet capture session.

type PacketCaptureStorageLocation

type PacketCaptureStorageLocation struct {
	// StorageID - The ID of the storage account to save the packet capture session. Required if no local file path is provided.
	StorageID *string `json:"storageId,omitempty"`
	// StoragePath - The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture.
	StoragePath *string `json:"storagePath,omitempty"`
	// FilePath - A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional.
	FilePath *string `json:"filePath,omitempty"`
}

PacketCaptureStorageLocation describes the storage location for a packet capture session.

type PacketCapturesClient

type PacketCapturesClient struct {
	BaseClient
}

PacketCapturesClient is the network Client

func NewPacketCapturesClient

func NewPacketCapturesClient(subscriptionID string) PacketCapturesClient

NewPacketCapturesClient creates an instance of the PacketCapturesClient client.

func NewPacketCapturesClientWithBaseURI

func NewPacketCapturesClientWithBaseURI(baseURI string, subscriptionID string) PacketCapturesClient

NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PacketCapturesClient) Create

func (client PacketCapturesClient) Create(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture) (result PacketCapturesCreateFuture, err error)

Create create and start a packet capture on the specified VM. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session. parameters - parameters that define the create packet capture operation.

func (PacketCapturesClient) CreatePreparer

func (client PacketCapturesClient) CreatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string, parameters PacketCapture) (*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) (future PacketCapturesCreateFuture, err 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(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesDeleteFuture, err error)

Delete deletes the specified packet capture session. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session.

func (PacketCapturesClient) DeletePreparer

func (client PacketCapturesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*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) (future PacketCapturesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCaptureResult, err error)

Get gets a packet capture session by name. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session.

func (PacketCapturesClient) GetPreparer

func (client PacketCapturesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesGetStatusFuture, err error)

GetStatus query the status of a running packet capture session. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the Network Watcher resource. packetCaptureName - the name given to the packet capture session.

func (PacketCapturesClient) GetStatusPreparer

func (client PacketCapturesClient) GetStatusPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*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) (future PacketCapturesGetStatusFuture, err 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(ctx context.Context, resourceGroupName string, networkWatcherName string) (result PacketCaptureListResult, err error)

List lists all packet capture sessions within the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the Network Watcher resource.

func (PacketCapturesClient) ListPreparer

func (client PacketCapturesClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (result PacketCapturesStopFuture, err error)

Stop stops a specified packet capture session. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. packetCaptureName - the name of the packet capture session.

func (PacketCapturesClient) StopPreparer

func (client PacketCapturesClient) StopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, packetCaptureName string) (*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) (future PacketCapturesStopFuture, err error)

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

type PacketCapturesCreateFuture

type PacketCapturesCreateFuture struct {
	azure.Future
}

PacketCapturesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PacketCapturesCreateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PacketCapturesDeleteFuture

type PacketCapturesDeleteFuture struct {
	azure.Future
}

PacketCapturesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PacketCapturesDeleteFuture) Result

func (future *PacketCapturesDeleteFuture) Result(client PacketCapturesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PacketCapturesGetStatusFuture

type PacketCapturesGetStatusFuture struct {
	azure.Future
}

PacketCapturesGetStatusFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PacketCapturesGetStatusFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PacketCapturesStopFuture

type PacketCapturesStopFuture struct {
	azure.Future
}

PacketCapturesStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PacketCapturesStopFuture) Result

func (future *PacketCapturesStopFuture) Result(client PacketCapturesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PatchRouteFilter

type PatchRouteFilter struct {
	// RouteFilterPropertiesFormat - Properties of the route filter.
	*RouteFilterPropertiesFormat `json:"properties,omitempty"`
	// Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

PatchRouteFilter route Filter Resource.

func (PatchRouteFilter) MarshalJSON

func (prf PatchRouteFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchRouteFilter.

func (*PatchRouteFilter) UnmarshalJSON

func (prf *PatchRouteFilter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PatchRouteFilter struct.

type PatchRouteFilterRule

type PatchRouteFilterRule struct {
	// RouteFilterRulePropertiesFormat - Properties of the route filter rule.
	*RouteFilterRulePropertiesFormat `json:"properties,omitempty"`
	// Name - READ-ONLY; The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

PatchRouteFilterRule route Filter Rule Resource.

func (PatchRouteFilterRule) MarshalJSON

func (prfr PatchRouteFilterRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchRouteFilterRule.

func (*PatchRouteFilterRule) UnmarshalJSON

func (prfr *PatchRouteFilterRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PatchRouteFilterRule struct.

type PcError

type PcError string

PcError enumerates the values for pc error.

const (
	// AgentStopped ...
	AgentStopped PcError = "AgentStopped"
	// CaptureFailed ...
	CaptureFailed PcError = "CaptureFailed"
	// InternalError ...
	InternalError PcError = "InternalError"
	// LocalFileFailed ...
	LocalFileFailed PcError = "LocalFileFailed"
	// StorageFailed ...
	StorageFailed PcError = "StorageFailed"
)

func PossiblePcErrorValues

func PossiblePcErrorValues() []PcError

PossiblePcErrorValues returns an array of possible values for the PcError const type.

type PcProtocol

type PcProtocol string

PcProtocol enumerates the values for pc protocol.

const (
	// PcProtocolAny ...
	PcProtocolAny PcProtocol = "Any"
	// PcProtocolTCP ...
	PcProtocolTCP PcProtocol = "TCP"
	// PcProtocolUDP ...
	PcProtocolUDP PcProtocol = "UDP"
)

func PossiblePcProtocolValues

func PossiblePcProtocolValues() []PcProtocol

PossiblePcProtocolValues returns an array of possible values for the PcProtocol const type.

type PcStatus

type PcStatus string

PcStatus enumerates the values for pc status.

const (
	// PcStatusError ...
	PcStatusError PcStatus = "Error"
	// PcStatusNotStarted ...
	PcStatusNotStarted PcStatus = "NotStarted"
	// PcStatusRunning ...
	PcStatusRunning PcStatus = "Running"
	// PcStatusStopped ...
	PcStatusStopped PcStatus = "Stopped"
	// PcStatusUnknown ...
	PcStatusUnknown PcStatus = "Unknown"
)

func PossiblePcStatusValues

func PossiblePcStatusValues() []PcStatus

PossiblePcStatusValues returns an array of possible values for the PcStatus const type.

type PeerExpressRouteCircuitConnection

type PeerExpressRouteCircuitConnection struct {
	autorest.Response `json:"-"`
	// PeerExpressRouteCircuitConnectionPropertiesFormat - Properties of the peer express route circuit connection.
	*PeerExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

PeerExpressRouteCircuitConnection peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

func (PeerExpressRouteCircuitConnection) MarshalJSON

func (percc PeerExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PeerExpressRouteCircuitConnection.

func (*PeerExpressRouteCircuitConnection) UnmarshalJSON

func (percc *PeerExpressRouteCircuitConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PeerExpressRouteCircuitConnection struct.

type PeerExpressRouteCircuitConnectionListResult

type PeerExpressRouteCircuitConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - The global reach peer circuit connection associated with Private Peering in an ExpressRoute Circuit.
	Value *[]PeerExpressRouteCircuitConnection `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PeerExpressRouteCircuitConnectionListResult response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit.

func (PeerExpressRouteCircuitConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type PeerExpressRouteCircuitConnectionListResultIterator

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

PeerExpressRouteCircuitConnectionListResultIterator provides access to a complete listing of PeerExpressRouteCircuitConnection values.

func NewPeerExpressRouteCircuitConnectionListResultIterator

func NewPeerExpressRouteCircuitConnectionListResultIterator(page PeerExpressRouteCircuitConnectionListResultPage) PeerExpressRouteCircuitConnectionListResultIterator

Creates a new instance of the PeerExpressRouteCircuitConnectionListResultIterator type.

func (*PeerExpressRouteCircuitConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PeerExpressRouteCircuitConnectionListResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PeerExpressRouteCircuitConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PeerExpressRouteCircuitConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (PeerExpressRouteCircuitConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PeerExpressRouteCircuitConnectionListResultPage

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

PeerExpressRouteCircuitConnectionListResultPage contains a page of PeerExpressRouteCircuitConnection values.

func NewPeerExpressRouteCircuitConnectionListResultPage

Creates a new instance of the PeerExpressRouteCircuitConnectionListResultPage type.

func (*PeerExpressRouteCircuitConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PeerExpressRouteCircuitConnectionListResultPage) NextWithContext

func (page *PeerExpressRouteCircuitConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PeerExpressRouteCircuitConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PeerExpressRouteCircuitConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (PeerExpressRouteCircuitConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PeerExpressRouteCircuitConnectionPropertiesFormat

type PeerExpressRouteCircuitConnectionPropertiesFormat struct {
	// ExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the circuit.
	ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"`
	// PeerExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
	PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"`
	// AddressPrefix - /29 IP address space to carve out Customer addresses for tunnels.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// CircuitConnectionStatus - Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected'
	CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"`
	// ConnectionName - The name of the express route circuit connection resource.
	ConnectionName *string `json:"connectionName,omitempty"`
	// AuthResourceGUID - The resource guid of the authorization used for the express route circuit connection.
	AuthResourceGUID *string `json:"authResourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the peer express route circuit connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

PeerExpressRouteCircuitConnectionPropertiesFormat properties of the peer express route circuit connection.

type PeerExpressRouteCircuitConnectionsClient

type PeerExpressRouteCircuitConnectionsClient struct {
	BaseClient
}

PeerExpressRouteCircuitConnectionsClient is the network Client

func NewPeerExpressRouteCircuitConnectionsClient

func NewPeerExpressRouteCircuitConnectionsClient(subscriptionID string) PeerExpressRouteCircuitConnectionsClient

NewPeerExpressRouteCircuitConnectionsClient creates an instance of the PeerExpressRouteCircuitConnectionsClient client.

func NewPeerExpressRouteCircuitConnectionsClientWithBaseURI

func NewPeerExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PeerExpressRouteCircuitConnectionsClient

NewPeerExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the PeerExpressRouteCircuitConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PeerExpressRouteCircuitConnectionsClient) Get

func (client PeerExpressRouteCircuitConnectionsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result PeerExpressRouteCircuitConnection, err error)

Get gets the specified Peer Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the peer express route circuit connection.

func (PeerExpressRouteCircuitConnectionsClient) GetPreparer

func (client PeerExpressRouteCircuitConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PeerExpressRouteCircuitConnectionsClient) GetResponder

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

func (PeerExpressRouteCircuitConnectionsClient) GetSender

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

func (PeerExpressRouteCircuitConnectionsClient) List

func (client PeerExpressRouteCircuitConnectionsClient) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result PeerExpressRouteCircuitConnectionListResultPage, err error)

List gets all global reach peer connections associated with a private peering in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering.

func (PeerExpressRouteCircuitConnectionsClient) ListComplete

func (client PeerExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result PeerExpressRouteCircuitConnectionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PeerExpressRouteCircuitConnectionsClient) ListPreparer

func (client PeerExpressRouteCircuitConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PeerExpressRouteCircuitConnectionsClient) ListResponder

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

func (PeerExpressRouteCircuitConnectionsClient) ListSender

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

type PfsGroup

type PfsGroup string

PfsGroup enumerates the values for pfs group.

const (
	// PfsGroupECP256 ...
	PfsGroupECP256 PfsGroup = "ECP256"
	// PfsGroupECP384 ...
	PfsGroupECP384 PfsGroup = "ECP384"
	// PfsGroupNone ...
	PfsGroupNone PfsGroup = "None"
	// PfsGroupPFS1 ...
	PfsGroupPFS1 PfsGroup = "PFS1"
	// PfsGroupPFS14 ...
	PfsGroupPFS14 PfsGroup = "PFS14"
	// PfsGroupPFS2 ...
	PfsGroupPFS2 PfsGroup = "PFS2"
	// PfsGroupPFS2048 ...
	PfsGroupPFS2048 PfsGroup = "PFS2048"
	// PfsGroupPFS24 ...
	PfsGroupPFS24 PfsGroup = "PFS24"
	// PfsGroupPFSMM ...
	PfsGroupPFSMM PfsGroup = "PFSMM"
)

func PossiblePfsGroupValues

func PossiblePfsGroupValues() []PfsGroup

PossiblePfsGroupValues returns an array of possible values for the PfsGroup const type.

type PolicySettings

type PolicySettings struct {
	// State - Describes if the policy is in enabled state or disabled state. Possible values include: 'WebApplicationFirewallEnabledStateDisabled', 'WebApplicationFirewallEnabledStateEnabled'
	State WebApplicationFirewallEnabledState `json:"state,omitempty"`
	// Mode - Describes if it is in detection mode or prevention mode at policy level. Possible values include: 'WebApplicationFirewallModePrevention', 'WebApplicationFirewallModeDetection'
	Mode WebApplicationFirewallMode `json:"mode,omitempty"`
	// RequestBodyCheck - Whether to allow WAF to check request Body.
	RequestBodyCheck *bool `json:"requestBodyCheck,omitempty"`
	// MaxRequestBodySizeInKb - Maximum request body size in Kb for WAF.
	MaxRequestBodySizeInKb *int32 `json:"maxRequestBodySizeInKb,omitempty"`
	// FileUploadLimitInMb - Maximum file upload size in Mb for WAF.
	FileUploadLimitInMb *int32 `json:"fileUploadLimitInMb,omitempty"`
}

PolicySettings defines contents of a web application firewall global configuration.

type PrepareNetworkPoliciesRequest

type PrepareNetworkPoliciesRequest struct {
	// ServiceName - The name of the service for which subnet is being prepared for.
	ServiceName *string `json:"serviceName,omitempty"`
	// NetworkIntentPolicyConfigurations - A list of NetworkIntentPolicyConfiguration.
	NetworkIntentPolicyConfigurations *[]IntentPolicyConfiguration `json:"networkIntentPolicyConfigurations,omitempty"`
}

PrepareNetworkPoliciesRequest details of PrepareNetworkPolicies for Subnet.

type PrivateEndpoint

type PrivateEndpoint struct {
	autorest.Response `json:"-"`
	// PrivateEndpointProperties - Properties of the private endpoint.
	*PrivateEndpointProperties `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

PrivateEndpoint private endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

func (*PrivateEndpoint) UnmarshalJSON

func (peVar *PrivateEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpoint struct.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// PrivateEndpointConnectionProperties - Properties of the private end point connection.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The resource type.
	Type *string `json:"type,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

PrivateEndpointConnection privateEndpointConnection resource.

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointListResult

type PrivateEndpointListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of private endpoint resources in a resource group.
	Value *[]PrivateEndpoint `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateEndpointListResult response for the ListPrivateEndpoints API service call.

func (PrivateEndpointListResult) IsEmpty

func (pelr PrivateEndpointListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateEndpointListResultIterator

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

PrivateEndpointListResultIterator provides access to a complete listing of PrivateEndpoint values.

func NewPrivateEndpointListResultIterator

func NewPrivateEndpointListResultIterator(page PrivateEndpointListResultPage) PrivateEndpointListResultIterator

Creates a new instance of the PrivateEndpointListResultIterator type.

func (*PrivateEndpointListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointListResultIterator) NextWithContext

func (iter *PrivateEndpointListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointListResultIterator) NotDone

func (iter PrivateEndpointListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointListResultPage

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

PrivateEndpointListResultPage contains a page of PrivateEndpoint values.

func NewPrivateEndpointListResultPage

func NewPrivateEndpointListResultPage(getNextPage func(context.Context, PrivateEndpointListResult) (PrivateEndpointListResult, error)) PrivateEndpointListResultPage

Creates a new instance of the PrivateEndpointListResultPage type.

func (*PrivateEndpointListResultPage) Next

func (page *PrivateEndpointListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointListResultPage) NextWithContext

func (page *PrivateEndpointListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointListResultPage) NotDone

func (page PrivateEndpointListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateEndpointListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointProperties

type PrivateEndpointProperties struct {
	// Subnet - The ID of the subnet from which the private IP will be allocated.
	Subnet *Subnet `json:"subnet,omitempty"`
	// NetworkInterfaces - READ-ONLY; An array of references to the network interfaces created for this private endpoint.
	NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateLinkServiceConnections - A grouping of information about the connection to the remote resource.
	PrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"privateLinkServiceConnections,omitempty"`
	// ManualPrivateLinkServiceConnections - A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.
	ManualPrivateLinkServiceConnections *[]PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"`
}

PrivateEndpointProperties properties of the private endpoint.

type PrivateEndpointsClient

type PrivateEndpointsClient struct {
	BaseClient
}

PrivateEndpointsClient is the network Client

func NewPrivateEndpointsClient

func NewPrivateEndpointsClient(subscriptionID string) PrivateEndpointsClient

NewPrivateEndpointsClient creates an instance of the PrivateEndpointsClient client.

func NewPrivateEndpointsClientWithBaseURI

func NewPrivateEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointsClient

NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointsClient) CreateOrUpdate

func (client PrivateEndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint) (result PrivateEndpointsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an private endpoint in the specified resource group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. parameters - parameters supplied to the create or update private endpoint operation.

func (PrivateEndpointsClient) CreateOrUpdatePreparer

func (client PrivateEndpointsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, parameters PrivateEndpoint) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointsClient) CreateOrUpdateResponder

func (client PrivateEndpointsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpoint, err error)

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

func (PrivateEndpointsClient) CreateOrUpdateSender

func (client PrivateEndpointsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointsCreateOrUpdateFuture, err error)

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

func (PrivateEndpointsClient) Delete

func (client PrivateEndpointsClient) Delete(ctx context.Context, resourceGroupName string, privateEndpointName string) (result PrivateEndpointsDeleteFuture, err error)

Delete deletes the specified private endpoint. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint.

func (PrivateEndpointsClient) DeletePreparer

func (client PrivateEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateEndpointName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointsClient) DeleteResponder

func (client PrivateEndpointsClient) 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 (PrivateEndpointsClient) DeleteSender

func (client PrivateEndpointsClient) DeleteSender(req *http.Request) (future PrivateEndpointsDeleteFuture, err error)

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

func (PrivateEndpointsClient) Get

func (client PrivateEndpointsClient) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (result PrivateEndpoint, err error)

Get gets the specified private endpoint by resource group. Parameters: resourceGroupName - the name of the resource group. privateEndpointName - the name of the private endpoint. expand - expands referenced resources.

func (PrivateEndpointsClient) GetPreparer

func (client PrivateEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointsClient) GetResponder

func (client PrivateEndpointsClient) GetResponder(resp *http.Response) (result PrivateEndpoint, err error)

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

func (PrivateEndpointsClient) GetSender

func (client PrivateEndpointsClient) 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 (PrivateEndpointsClient) List

func (client PrivateEndpointsClient) List(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultPage, err error)

List gets all private endpoints in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (PrivateEndpointsClient) ListBySubscription

func (client PrivateEndpointsClient) ListBySubscription(ctx context.Context) (result PrivateEndpointListResultPage, err error)

ListBySubscription gets all private endpoints in a subscription.

func (PrivateEndpointsClient) ListBySubscriptionComplete

func (client PrivateEndpointsClient) ListBySubscriptionComplete(ctx context.Context) (result PrivateEndpointListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointsClient) ListBySubscriptionPreparer

func (client PrivateEndpointsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PrivateEndpointsClient) ListBySubscriptionResponder

func (client PrivateEndpointsClient) ListBySubscriptionResponder(resp *http.Response) (result PrivateEndpointListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PrivateEndpointsClient) ListBySubscriptionSender

func (client PrivateEndpointsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PrivateEndpointsClient) ListComplete

func (client PrivateEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateEndpointListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateEndpointsClient) ListPreparer

func (client PrivateEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateEndpointsClient) ListResponder

func (client PrivateEndpointsClient) ListResponder(resp *http.Response) (result PrivateEndpointListResult, err error)

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

func (PrivateEndpointsClient) ListSender

func (client PrivateEndpointsClient) 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 PrivateEndpointsCreateOrUpdateFuture

type PrivateEndpointsCreateOrUpdateFuture struct {
	azure.Future
}

PrivateEndpointsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateEndpointsDeleteFuture

type PrivateEndpointsDeleteFuture struct {
	azure.Future
}

PrivateEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateEndpointsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateLinkService

type PrivateLinkService struct {
	autorest.Response `json:"-"`
	// PrivateLinkServiceProperties - Properties of the private link service.
	*PrivateLinkServiceProperties `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

PrivateLinkService private link service resource.

func (PrivateLinkService) MarshalJSON

func (pls PrivateLinkService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkService.

func (*PrivateLinkService) UnmarshalJSON

func (pls *PrivateLinkService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkService struct.

type PrivateLinkServiceConnection

type PrivateLinkServiceConnection struct {
	// PrivateLinkServiceConnectionProperties - Properties of the private link service connection.
	*PrivateLinkServiceConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The resource type.
	Type *string `json:"type,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

PrivateLinkServiceConnection privateLinkServiceConnection resource.

func (PrivateLinkServiceConnection) MarshalJSON

func (plsc PrivateLinkServiceConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkServiceConnection.

func (*PrivateLinkServiceConnection) UnmarshalJSON

func (plsc *PrivateLinkServiceConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkServiceConnection struct.

type PrivateLinkServiceConnectionProperties

type PrivateLinkServiceConnectionProperties struct {
	// ProvisioningState - The provisioning state of the private link service connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateLinkServiceID - The resource id of private link service.
	PrivateLinkServiceID *string `json:"privateLinkServiceId,omitempty"`
	// GroupIds - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
	GroupIds *[]string `json:"groupIds,omitempty"`
	// RequestMessage - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
	RequestMessage *string `json:"requestMessage,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of read-only information about the state of the connection to the remote resource.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
}

PrivateLinkServiceConnectionProperties properties of the PrivateLinkServiceConnection.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
	Status *string `json:"status,omitempty"`
	// Description - The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type PrivateLinkServiceIPConfiguration

type PrivateLinkServiceIPConfiguration struct {
	// PrivateLinkServiceIPConfigurationProperties - Properties of the private link service ip configuration.
	*PrivateLinkServiceIPConfigurationProperties `json:"properties,omitempty"`
	// Name - The name of private link service ip configuration.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; The resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

PrivateLinkServiceIPConfiguration the private link service ip configuration.

func (PrivateLinkServiceIPConfiguration) MarshalJSON

func (plsic PrivateLinkServiceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkServiceIPConfiguration.

func (*PrivateLinkServiceIPConfiguration) UnmarshalJSON

func (plsic *PrivateLinkServiceIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkServiceIPConfiguration struct.

type PrivateLinkServiceIPConfigurationProperties

type PrivateLinkServiceIPConfigurationProperties struct {
	// PrivateIPAddress - The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// Subnet - The reference to the subnet resource.
	Subnet *Subnet `json:"subnet,omitempty"`
	// Primary - Whether the ip configuration is primary or not.
	Primary *bool `json:"primary,omitempty"`
	// ProvisioningState - The provisioning state of the private link service IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateIPAddressVersion - Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. Possible values include: 'IPv4', 'IPv6'
	PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
}

PrivateLinkServiceIPConfigurationProperties properties of private link service IP configuration.

type PrivateLinkServiceListResult

type PrivateLinkServiceListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of PrivateLinkService resources in a resource group.
	Value *[]PrivateLinkService `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateLinkServiceListResult response for the ListPrivateLinkService API service call.

func (PrivateLinkServiceListResult) IsEmpty

func (plslr PrivateLinkServiceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateLinkServiceListResultIterator

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

PrivateLinkServiceListResultIterator provides access to a complete listing of PrivateLinkService values.

func NewPrivateLinkServiceListResultIterator

func NewPrivateLinkServiceListResultIterator(page PrivateLinkServiceListResultPage) PrivateLinkServiceListResultIterator

Creates a new instance of the PrivateLinkServiceListResultIterator type.

func (*PrivateLinkServiceListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkServiceListResultIterator) NextWithContext

func (iter *PrivateLinkServiceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateLinkServiceListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateLinkServiceListResultIterator) Response

Response returns the raw server response from the last page request.

func (PrivateLinkServiceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateLinkServiceListResultPage

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

PrivateLinkServiceListResultPage contains a page of PrivateLinkService values.

func NewPrivateLinkServiceListResultPage

Creates a new instance of the PrivateLinkServiceListResultPage type.

func (*PrivateLinkServiceListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateLinkServiceListResultPage) NextWithContext

func (page *PrivateLinkServiceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateLinkServiceListResultPage) NotDone

func (page PrivateLinkServiceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateLinkServiceListResultPage) Response

Response returns the raw server response from the last page request.

func (PrivateLinkServiceListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PrivateLinkServiceProperties

type PrivateLinkServiceProperties struct {
	// LoadBalancerFrontendIPConfigurations - An array of references to the load balancer IP configurations.
	LoadBalancerFrontendIPConfigurations *[]FrontendIPConfiguration `json:"loadBalancerFrontendIpConfigurations,omitempty"`
	// IPConfigurations - An array of private link service IP configurations.
	IPConfigurations *[]PrivateLinkServiceIPConfiguration `json:"ipConfigurations,omitempty"`
	// NetworkInterfaces - READ-ONLY; An array of references to the network interfaces created for this private link service.
	NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"`
	// ProvisioningState - The provisioning state of the private link service resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateEndpointConnections - An array of list about connections to the private endpoint.
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// Visibility - The visibility list of the private link service.
	Visibility *PrivateLinkServicePropertiesVisibility `json:"visibility,omitempty"`
	// AutoApproval - The auto-approval list of the private link service.
	AutoApproval *PrivateLinkServicePropertiesAutoApproval `json:"autoApproval,omitempty"`
	// Fqdns - The list of Fqdn.
	Fqdns *[]string `json:"fqdns,omitempty"`
	// Alias - READ-ONLY; The alias of the private link service.
	Alias *string `json:"alias,omitempty"`
}

PrivateLinkServiceProperties properties of the private link service.

type PrivateLinkServicePropertiesAutoApproval

type PrivateLinkServicePropertiesAutoApproval struct {
	// Subscriptions - The list of subscriptions.
	Subscriptions *[]string `json:"subscriptions,omitempty"`
}

PrivateLinkServicePropertiesAutoApproval the auto-approval list of the private link service.

type PrivateLinkServicePropertiesVisibility

type PrivateLinkServicePropertiesVisibility struct {
	// Subscriptions - The list of subscriptions.
	Subscriptions *[]string `json:"subscriptions,omitempty"`
}

PrivateLinkServicePropertiesVisibility the visibility list of the private link service.

type PrivateLinkServiceVisibility

type PrivateLinkServiceVisibility struct {
	autorest.Response `json:"-"`
	// Visible - Private Link Service Visibility (True/False).
	Visible *bool `json:"visible,omitempty"`
}

PrivateLinkServiceVisibility response for the CheckPrivateLinkServiceVisibility API service call.

type PrivateLinkServicesClient

type PrivateLinkServicesClient struct {
	BaseClient
}

PrivateLinkServicesClient is the network Client

func NewPrivateLinkServicesClient

func NewPrivateLinkServicesClient(subscriptionID string) PrivateLinkServicesClient

NewPrivateLinkServicesClient creates an instance of the PrivateLinkServicesClient client.

func NewPrivateLinkServicesClientWithBaseURI

func NewPrivateLinkServicesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkServicesClient

NewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibility

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibility(ctx context.Context, location string, parameters CheckPrivateLinkServiceVisibilityRequest) (result PrivateLinkServiceVisibility, err error)

CheckPrivateLinkServiceVisibility checks whether the subscription is visible to private link service. Parameters: location - the location of the domain name. parameters - the request body of CheckPrivateLinkService API call.

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroup

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroup(ctx context.Context, location string, resourceGroupName string, parameters CheckPrivateLinkServiceVisibilityRequest) (result PrivateLinkServiceVisibility, err error)

CheckPrivateLinkServiceVisibilityByResourceGroup checks whether the subscription is visible to private link service in the specified resource group. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group. parameters - the request body of CheckPrivateLinkService API call.

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupPreparer

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupPreparer(ctx context.Context, location string, resourceGroupName string, parameters CheckPrivateLinkServiceVisibilityRequest) (*http.Request, error)

CheckPrivateLinkServiceVisibilityByResourceGroupPreparer prepares the CheckPrivateLinkServiceVisibilityByResourceGroup request.

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupResponder

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupResponder(resp *http.Response) (result PrivateLinkServiceVisibility, err error)

CheckPrivateLinkServiceVisibilityByResourceGroupResponder handles the response to the CheckPrivateLinkServiceVisibilityByResourceGroup request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupSender

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityPreparer

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityPreparer(ctx context.Context, location string, parameters CheckPrivateLinkServiceVisibilityRequest) (*http.Request, error)

CheckPrivateLinkServiceVisibilityPreparer prepares the CheckPrivateLinkServiceVisibility request.

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityResponder

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilityResponder(resp *http.Response) (result PrivateLinkServiceVisibility, err error)

CheckPrivateLinkServiceVisibilityResponder handles the response to the CheckPrivateLinkServiceVisibility request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilitySender

func (client PrivateLinkServicesClient) CheckPrivateLinkServiceVisibilitySender(req *http.Request) (*http.Response, error)

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

func (PrivateLinkServicesClient) CreateOrUpdate

func (client PrivateLinkServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, parameters PrivateLinkService) (result PrivateLinkServicesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an private link service in the specified resource group. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. parameters - parameters supplied to the create or update private link service operation.

func (PrivateLinkServicesClient) CreateOrUpdatePreparer

func (client PrivateLinkServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceName string, parameters PrivateLinkService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateLinkServicesClient) CreateOrUpdateResponder

func (client PrivateLinkServicesClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateLinkService, err error)

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

func (PrivateLinkServicesClient) CreateOrUpdateSender

func (client PrivateLinkServicesClient) CreateOrUpdateSender(req *http.Request) (future PrivateLinkServicesCreateOrUpdateFuture, err error)

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

func (PrivateLinkServicesClient) Delete

func (client PrivateLinkServicesClient) Delete(ctx context.Context, resourceGroupName string, serviceName string) (result PrivateLinkServicesDeleteFuture, err error)

Delete deletes the specified private link service. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service.

func (PrivateLinkServicesClient) DeletePreparer

func (client PrivateLinkServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateLinkServicesClient) DeletePrivateEndpointConnection

func (client PrivateLinkServicesClient) DeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string) (result PrivateLinkServicesDeletePrivateEndpointConnectionFuture, err error)

DeletePrivateEndpointConnection delete private end point connection for a private link service in a subscription. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. peConnectionName - the name of the private end point connection.

func (PrivateLinkServicesClient) DeletePrivateEndpointConnectionPreparer

func (client PrivateLinkServicesClient) DeletePrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string) (*http.Request, error)

DeletePrivateEndpointConnectionPreparer prepares the DeletePrivateEndpointConnection request.

func (PrivateLinkServicesClient) DeletePrivateEndpointConnectionResponder

func (client PrivateLinkServicesClient) DeletePrivateEndpointConnectionResponder(resp *http.Response) (result autorest.Response, err error)

DeletePrivateEndpointConnectionResponder handles the response to the DeletePrivateEndpointConnection request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) DeletePrivateEndpointConnectionSender

func (client PrivateLinkServicesClient) DeletePrivateEndpointConnectionSender(req *http.Request) (future PrivateLinkServicesDeletePrivateEndpointConnectionFuture, err error)

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

func (PrivateLinkServicesClient) DeleteResponder

func (client PrivateLinkServicesClient) 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 (PrivateLinkServicesClient) DeleteSender

func (client PrivateLinkServicesClient) DeleteSender(req *http.Request) (future PrivateLinkServicesDeleteFuture, err error)

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

func (PrivateLinkServicesClient) Get

func (client PrivateLinkServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, expand string) (result PrivateLinkService, err error)

Get gets the specified private link service by resource group. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. expand - expands referenced resources.

func (PrivateLinkServicesClient) GetPreparer

func (client PrivateLinkServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkServicesClient) GetResponder

func (client PrivateLinkServicesClient) GetResponder(resp *http.Response) (result PrivateLinkService, err error)

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

func (PrivateLinkServicesClient) GetSender

func (client PrivateLinkServicesClient) 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 (PrivateLinkServicesClient) List

func (client PrivateLinkServicesClient) List(ctx context.Context, resourceGroupName string) (result PrivateLinkServiceListResultPage, err error)

List gets all private link services in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServices

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServices(ctx context.Context, location string) (result AutoApprovedPrivateLinkServicesResultPage, err error)

ListAutoApprovedPrivateLinkServices returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. Parameters: location - the location of the domain name.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroup

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroup(ctx context.Context, location string, resourceGroupName string) (result AutoApprovedPrivateLinkServicesResultPage, err error)

ListAutoApprovedPrivateLinkServicesByResourceGroup returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region. Parameters: location - the location of the domain name. resourceGroupName - the name of the resource group.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupComplete

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupComplete(ctx context.Context, location string, resourceGroupName string) (result AutoApprovedPrivateLinkServicesResultIterator, err error)

ListAutoApprovedPrivateLinkServicesByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupPreparer

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupPreparer(ctx context.Context, location string, resourceGroupName string) (*http.Request, error)

ListAutoApprovedPrivateLinkServicesByResourceGroupPreparer prepares the ListAutoApprovedPrivateLinkServicesByResourceGroup request.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupResponder

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupResponder(resp *http.Response) (result AutoApprovedPrivateLinkServicesResult, err error)

ListAutoApprovedPrivateLinkServicesByResourceGroupResponder handles the response to the ListAutoApprovedPrivateLinkServicesByResourceGroup request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupSender

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesComplete

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesComplete(ctx context.Context, location string) (result AutoApprovedPrivateLinkServicesResultIterator, err error)

ListAutoApprovedPrivateLinkServicesComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesPreparer

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesPreparer(ctx context.Context, location string) (*http.Request, error)

ListAutoApprovedPrivateLinkServicesPreparer prepares the ListAutoApprovedPrivateLinkServices request.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesResponder

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesResponder(resp *http.Response) (result AutoApprovedPrivateLinkServicesResult, err error)

ListAutoApprovedPrivateLinkServicesResponder handles the response to the ListAutoApprovedPrivateLinkServices request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesSender

func (client PrivateLinkServicesClient) ListAutoApprovedPrivateLinkServicesSender(req *http.Request) (*http.Response, error)

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

func (PrivateLinkServicesClient) ListBySubscription

func (client PrivateLinkServicesClient) ListBySubscription(ctx context.Context) (result PrivateLinkServiceListResultPage, err error)

ListBySubscription gets all private link service in a subscription.

func (PrivateLinkServicesClient) ListBySubscriptionComplete

func (client PrivateLinkServicesClient) ListBySubscriptionComplete(ctx context.Context) (result PrivateLinkServiceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkServicesClient) ListBySubscriptionPreparer

func (client PrivateLinkServicesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (PrivateLinkServicesClient) ListBySubscriptionResponder

func (client PrivateLinkServicesClient) ListBySubscriptionResponder(resp *http.Response) (result PrivateLinkServiceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) ListBySubscriptionSender

func (client PrivateLinkServicesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PrivateLinkServicesClient) ListComplete

func (client PrivateLinkServicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateLinkServiceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PrivateLinkServicesClient) ListPreparer

func (client PrivateLinkServicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateLinkServicesClient) ListResponder

func (client PrivateLinkServicesClient) ListResponder(resp *http.Response) (result PrivateLinkServiceListResult, err error)

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

func (PrivateLinkServicesClient) ListSender

func (client PrivateLinkServicesClient) 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 (PrivateLinkServicesClient) UpdatePrivateEndpointConnection

func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, parameters PrivateEndpointConnection) (result PrivateEndpointConnection, err error)

UpdatePrivateEndpointConnection approve or reject private end point connection for a private link service in a subscription. Parameters: resourceGroupName - the name of the resource group. serviceName - the name of the private link service. peConnectionName - the name of the private end point connection. parameters - parameters supplied to approve or reject the private end point connection.

func (PrivateLinkServicesClient) UpdatePrivateEndpointConnectionPreparer

func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, parameters PrivateEndpointConnection) (*http.Request, error)

UpdatePrivateEndpointConnectionPreparer prepares the UpdatePrivateEndpointConnection request.

func (PrivateLinkServicesClient) UpdatePrivateEndpointConnectionResponder

func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

UpdatePrivateEndpointConnectionResponder handles the response to the UpdatePrivateEndpointConnection request. The method always closes the http.Response Body.

func (PrivateLinkServicesClient) UpdatePrivateEndpointConnectionSender

func (client PrivateLinkServicesClient) UpdatePrivateEndpointConnectionSender(req *http.Request) (*http.Response, error)

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

type PrivateLinkServicesCreateOrUpdateFuture

type PrivateLinkServicesCreateOrUpdateFuture struct {
	azure.Future
}

PrivateLinkServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateLinkServicesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateLinkServicesDeleteFuture

type PrivateLinkServicesDeleteFuture struct {
	azure.Future
}

PrivateLinkServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateLinkServicesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateLinkServicesDeletePrivateEndpointConnectionFuture

type PrivateLinkServicesDeletePrivateEndpointConnectionFuture struct {
	azure.Future
}

PrivateLinkServicesDeletePrivateEndpointConnectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PrivateLinkServicesDeletePrivateEndpointConnectionFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Probe

type Probe struct {
	autorest.Response `json:"-"`
	// ProbePropertiesFormat - Properties of load balancer probe.
	*ProbePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

Probe a load balancer probe.

func (Probe) MarshalJSON

func (p Probe) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Probe.

func (*Probe) UnmarshalJSON

func (p *Probe) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Probe struct.

type ProbePropertiesFormat

type ProbePropertiesFormat struct {
	// LoadBalancingRules - READ-ONLY; The load balancer rules that use this probe.
	LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
	// Protocol - The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP', 'ProbeProtocolHTTPS'
	Protocol ProbeProtocol `json:"protocol,omitempty"`
	// Port - The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
	Port *int32 `json:"port,omitempty"`
	// IntervalInSeconds - The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
	IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
	// NumberOfProbes - The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
	NumberOfProbes *int32 `json:"numberOfProbes,omitempty"`
	// RequestPath - The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
	RequestPath *string `json:"requestPath,omitempty"`
	// ProvisioningState - The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ProbePropertiesFormat load balancer probe resource.

type ProbeProtocol

type ProbeProtocol string

ProbeProtocol enumerates the values for probe protocol.

const (
	// ProbeProtocolHTTP ...
	ProbeProtocolHTTP ProbeProtocol = "Http"
	// ProbeProtocolHTTPS ...
	ProbeProtocolHTTPS ProbeProtocol = "Https"
	// ProbeProtocolTCP ...
	ProbeProtocolTCP ProbeProtocol = "Tcp"
)

func PossibleProbeProtocolValues

func PossibleProbeProtocolValues() []ProbeProtocol

PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type.

type ProcessorArchitecture

type ProcessorArchitecture string

ProcessorArchitecture enumerates the values for processor architecture.

const (
	// Amd64 ...
	Amd64 ProcessorArchitecture = "Amd64"
	// X86 ...
	X86 ProcessorArchitecture = "X86"
)

func PossibleProcessorArchitectureValues

func PossibleProcessorArchitectureValues() []ProcessorArchitecture

PossibleProcessorArchitectureValues returns an array of possible values for the ProcessorArchitecture const type.

type Profile

type Profile struct {
	autorest.Response `json:"-"`
	// ProfilePropertiesFormat - Network profile properties.
	*ProfilePropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Profile network profile resource.

func (Profile) MarshalJSON

func (p Profile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Profile.

func (*Profile) UnmarshalJSON

func (p *Profile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Profile struct.

type ProfileListResult

type ProfileListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of network profiles that exist in a resource group.
	Value *[]Profile `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ProfileListResult response for ListNetworkProfiles API service call.

func (ProfileListResult) IsEmpty

func (plr ProfileListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProfileListResultIterator

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

ProfileListResultIterator provides access to a complete listing of Profile values.

func NewProfileListResultIterator

func NewProfileListResultIterator(page ProfileListResultPage) ProfileListResultIterator

Creates a new instance of the ProfileListResultIterator type.

func (*ProfileListResultIterator) Next

func (iter *ProfileListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProfileListResultIterator) NextWithContext

func (iter *ProfileListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ProfileListResultIterator) NotDone

func (iter ProfileListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProfileListResultIterator) Response

Response returns the raw server response from the last page request.

func (ProfileListResultIterator) Value

func (iter ProfileListResultIterator) Value() Profile

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProfileListResultPage

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

ProfileListResultPage contains a page of Profile values.

func NewProfileListResultPage

func NewProfileListResultPage(getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage

Creates a new instance of the ProfileListResultPage type.

func (*ProfileListResultPage) Next

func (page *ProfileListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProfileListResultPage) NextWithContext

func (page *ProfileListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ProfileListResultPage) NotDone

func (page ProfileListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProfileListResultPage) Response

func (page ProfileListResultPage) Response() ProfileListResult

Response returns the raw server response from the last page request.

func (ProfileListResultPage) Values

func (page ProfileListResultPage) Values() []Profile

Values returns the slice of values for the current page or nil if there are no values.

type ProfilePropertiesFormat

type ProfilePropertiesFormat struct {
	// ContainerNetworkInterfaces - List of child container network interfaces.
	ContainerNetworkInterfaces *[]ContainerNetworkInterface `json:"containerNetworkInterfaces,omitempty"`
	// ContainerNetworkInterfaceConfigurations - List of chid container network interface configurations.
	ContainerNetworkInterfaceConfigurations *[]ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfigurations,omitempty"`
	// ResourceGUID - READ-ONLY; The resource GUID property of the network profile resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the network profile resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ProfilePropertiesFormat network profile properties.

type ProfilesClient

type ProfilesClient struct {
	BaseClient
}

ProfilesClient is the network Client

func NewProfilesClient

func NewProfilesClient(subscriptionID string) ProfilesClient

NewProfilesClient creates an instance of the ProfilesClient client.

func NewProfilesClientWithBaseURI

func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient

NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProfilesClient) CreateOrUpdate

func (client ProfilesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkProfileName string, parameters Profile) (result Profile, err error)

CreateOrUpdate creates or updates a network profile. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the network profile. parameters - parameters supplied to the create or update network profile operation.

func (ProfilesClient) CreateOrUpdatePreparer

func (client ProfilesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkProfileName string, parameters Profile) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ProfilesClient) CreateOrUpdateResponder

func (client ProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result Profile, err error)

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

func (ProfilesClient) CreateOrUpdateSender

func (client ProfilesClient) 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 (ProfilesClient) Delete

func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, networkProfileName string) (result ProfilesDeleteFuture, err error)

Delete deletes the specified network profile. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the NetworkProfile.

func (ProfilesClient) DeletePreparer

func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkProfileName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ProfilesClient) DeleteResponder

func (client ProfilesClient) 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 (ProfilesClient) DeleteSender

func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)

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

func (ProfilesClient) Get

func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, networkProfileName string, expand string) (result Profile, err error)

Get gets the specified network profile in a specified resource group. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the public IP prefix. expand - expands referenced resources.

func (ProfilesClient) GetPreparer

func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkProfileName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProfilesClient) GetResponder

func (client ProfilesClient) GetResponder(resp *http.Response) (result Profile, err error)

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

func (ProfilesClient) GetSender

func (client ProfilesClient) 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 (ProfilesClient) List

func (client ProfilesClient) List(ctx context.Context, resourceGroupName string) (result ProfileListResultPage, err error)

List gets all network profiles in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ProfilesClient) ListAll

func (client ProfilesClient) ListAll(ctx context.Context) (result ProfileListResultPage, err error)

ListAll gets all the network profiles in a subscription.

func (ProfilesClient) ListAllComplete

func (client ProfilesClient) ListAllComplete(ctx context.Context) (result ProfileListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (ProfilesClient) ListAllPreparer

func (client ProfilesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (ProfilesClient) ListAllResponder

func (client ProfilesClient) ListAllResponder(resp *http.Response) (result ProfileListResult, err error)

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

func (ProfilesClient) ListAllSender

func (client ProfilesClient) 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 (ProfilesClient) ListComplete

func (client ProfilesClient) ListComplete(ctx context.Context, resourceGroupName string) (result ProfileListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ProfilesClient) ListPreparer

func (client ProfilesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProfilesClient) ListResponder

func (client ProfilesClient) ListResponder(resp *http.Response) (result ProfileListResult, err error)

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

func (ProfilesClient) ListSender

func (client ProfilesClient) 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 (ProfilesClient) UpdateTags

func (client ProfilesClient) UpdateTags(ctx context.Context, resourceGroupName string, networkProfileName string, parameters TagsObject) (result Profile, err error)

UpdateTags updates network profile tags. Parameters: resourceGroupName - the name of the resource group. networkProfileName - the name of the network profile. parameters - parameters supplied to update network profile tags.

func (ProfilesClient) UpdateTagsPreparer

func (client ProfilesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkProfileName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ProfilesClient) UpdateTagsResponder

func (client ProfilesClient) UpdateTagsResponder(resp *http.Response) (result Profile, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ProfilesClient) UpdateTagsSender

func (client ProfilesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

type ProfilesDeleteFuture

type ProfilesDeleteFuture struct {
	azure.Future
}

ProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ProfilesDeleteFuture) Result

func (future *ProfilesDeleteFuture) Result(client ProfilesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Protocol

type Protocol string

Protocol enumerates the values for protocol.

const (
	// ProtocolHTTP ...
	ProtocolHTTP Protocol = "Http"
	// ProtocolHTTPS ...
	ProtocolHTTPS Protocol = "Https"
	// ProtocolIcmp ...
	ProtocolIcmp Protocol = "Icmp"
	// ProtocolTCP ...
	ProtocolTCP Protocol = "Tcp"
)

func PossibleProtocolValues

func PossibleProtocolValues() []Protocol

PossibleProtocolValues returns an array of possible values for the Protocol const type.

type ProtocolConfiguration

type ProtocolConfiguration struct {
	// HTTPConfiguration - HTTP configuration of the connectivity check.
	HTTPConfiguration *HTTPConfiguration `json:"HTTPConfiguration,omitempty"`
}

ProtocolConfiguration configuration of the protocol.

type ProtocolCustomSettingsFormat

type ProtocolCustomSettingsFormat struct {
	// Protocol - The protocol for which the DDoS protection policy is being customized. Possible values include: 'DdosCustomPolicyProtocolTCP', 'DdosCustomPolicyProtocolUDP', 'DdosCustomPolicyProtocolSyn'
	Protocol DdosCustomPolicyProtocol `json:"protocol,omitempty"`
	// TriggerRateOverride - The customized DDoS protection trigger rate.
	TriggerRateOverride *string `json:"triggerRateOverride,omitempty"`
	// SourceRateOverride - The customized DDoS protection source rate.
	SourceRateOverride *string `json:"sourceRateOverride,omitempty"`
	// TriggerSensitivityOverride - The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: 'Relaxed', 'Low', 'Default', 'High'
	TriggerSensitivityOverride DdosCustomPolicyTriggerSensitivityOverride `json:"triggerSensitivityOverride,omitempty"`
}

ProtocolCustomSettingsFormat dDoS custom policy properties.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// Deleting ...
	Deleting ProvisioningState = "Deleting"
	// Failed ...
	Failed ProvisioningState = "Failed"
	// Succeeded ...
	Succeeded ProvisioningState = "Succeeded"
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type PublicIPAddress

type PublicIPAddress struct {
	autorest.Response `json:"-"`
	// Sku - The public IP address SKU.
	Sku *PublicIPAddressSku `json:"sku,omitempty"`
	// PublicIPAddressPropertiesFormat - Public IP address properties.
	*PublicIPAddressPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Zones - A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones *[]string `json:"zones,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

PublicIPAddress public IP address resource.

func (PublicIPAddress) MarshalJSON

func (pia PublicIPAddress) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PublicIPAddress.

func (*PublicIPAddress) UnmarshalJSON

func (pia *PublicIPAddress) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PublicIPAddress struct.

type PublicIPAddressDNSSettings

type PublicIPAddressDNSSettings struct {
	// DomainNameLabel - The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.
	DomainNameLabel *string `json:"domainNameLabel,omitempty"`
	// Fqdn - The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.
	Fqdn *string `json:"fqdn,omitempty"`
	// ReverseFqdn - The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.
	ReverseFqdn *string `json:"reverseFqdn,omitempty"`
}

PublicIPAddressDNSSettings contains FQDN of the DNS record associated with the public IP address.

type PublicIPAddressListResult

type PublicIPAddressListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of public IP addresses that exists in a resource group.
	Value *[]PublicIPAddress `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PublicIPAddressListResult response for ListPublicIpAddresses API service call.

func (PublicIPAddressListResult) IsEmpty

func (pialr PublicIPAddressListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PublicIPAddressListResultIterator

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

PublicIPAddressListResultIterator provides access to a complete listing of PublicIPAddress values.

func NewPublicIPAddressListResultIterator

func NewPublicIPAddressListResultIterator(page PublicIPAddressListResultPage) PublicIPAddressListResultIterator

Creates a new instance of the PublicIPAddressListResultIterator type.

func (*PublicIPAddressListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PublicIPAddressListResultIterator) NextWithContext

func (iter *PublicIPAddressListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PublicIPAddressListResultIterator) NotDone

func (iter PublicIPAddressListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PublicIPAddressListResultIterator) Response

Response returns the raw server response from the last page request.

func (PublicIPAddressListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PublicIPAddressListResultPage

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

PublicIPAddressListResultPage contains a page of PublicIPAddress values.

func NewPublicIPAddressListResultPage

func NewPublicIPAddressListResultPage(getNextPage func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error)) PublicIPAddressListResultPage

Creates a new instance of the PublicIPAddressListResultPage type.

func (*PublicIPAddressListResultPage) Next

func (page *PublicIPAddressListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PublicIPAddressListResultPage) NextWithContext

func (page *PublicIPAddressListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PublicIPAddressListResultPage) NotDone

func (page PublicIPAddressListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PublicIPAddressListResultPage) Response

Response returns the raw server response from the last page request.

func (PublicIPAddressListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PublicIPAddressPropertiesFormat

type PublicIPAddressPropertiesFormat struct {
	// PublicIPAllocationMethod - The public IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PublicIPAllocationMethod IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"`
	// PublicIPAddressVersion - The public IP address version. Possible values include: 'IPv4', 'IPv6'
	PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"`
	// IPConfiguration - READ-ONLY; The IP configuration associated with the public IP address.
	IPConfiguration *IPConfiguration `json:"ipConfiguration,omitempty"`
	// DNSSettings - The FQDN of the DNS record associated with the public IP address.
	DNSSettings *PublicIPAddressDNSSettings `json:"dnsSettings,omitempty"`
	// DdosSettings - The DDoS protection custom policy associated with the public IP address.
	DdosSettings *DdosSettings `json:"ddosSettings,omitempty"`
	// IPTags - The list of tags associated with the public IP address.
	IPTags *[]IPTag `json:"ipTags,omitempty"`
	// IPAddress - The IP address associated with the public IP address resource.
	IPAddress *string `json:"ipAddress,omitempty"`
	// PublicIPPrefix - The Public IP Prefix this Public IP Address should be allocated from.
	PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`
	// IdleTimeoutInMinutes - The idle timeout of the public IP address.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
	// ResourceGUID - The resource GUID property of the public IP address resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the public IP address resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

PublicIPAddressPropertiesFormat public IP address properties.

type PublicIPAddressSku

type PublicIPAddressSku struct {
	// Name - Name of a public IP address SKU. Possible values include: 'PublicIPAddressSkuNameBasic', 'PublicIPAddressSkuNameStandard'
	Name PublicIPAddressSkuName `json:"name,omitempty"`
}

PublicIPAddressSku SKU of a public IP address.

type PublicIPAddressSkuName

type PublicIPAddressSkuName string

PublicIPAddressSkuName enumerates the values for public ip address sku name.

const (
	// PublicIPAddressSkuNameBasic ...
	PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic"
	// PublicIPAddressSkuNameStandard ...
	PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard"
)

func PossiblePublicIPAddressSkuNameValues

func PossiblePublicIPAddressSkuNameValues() []PublicIPAddressSkuName

PossiblePublicIPAddressSkuNameValues returns an array of possible values for the PublicIPAddressSkuName const type.

type PublicIPAddressesClient

type PublicIPAddressesClient struct {
	BaseClient
}

PublicIPAddressesClient is the network Client

func NewPublicIPAddressesClient

func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient

NewPublicIPAddressesClient creates an instance of the PublicIPAddressesClient client.

func NewPublicIPAddressesClientWithBaseURI

func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient

NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PublicIPAddressesClient) CreateOrUpdate

func (client PublicIPAddressesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (result PublicIPAddressesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a static or dynamic public IP address. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the public IP address. parameters - parameters supplied to the create or update public IP address operation.

func (PublicIPAddressesClient) CreateOrUpdatePreparer

func (client PublicIPAddressesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters PublicIPAddress) (*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) (future PublicIPAddressesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, publicIPAddressName string) (result PublicIPAddressesDeleteFuture, err error)

Delete deletes the specified public IP address. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the subnet.

func (PublicIPAddressesClient) DeletePreparer

func (client PublicIPAddressesClient) DeletePreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string) (*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) (future PublicIPAddressesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)

Get gets the specified public IP address in a specified resource group. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the subnet. expand - expands referenced resources.

func (PublicIPAddressesClient) GetPreparer

func (client PublicIPAddressesClient) GetPreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PublicIPAddressesClient) GetResponder

func (client PublicIPAddressesClient) GetResponder(resp *http.Response) (result PublicIPAddress, err error)

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

func (PublicIPAddressesClient) GetSender

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

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

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddress(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (result PublicIPAddress, err error)

GetVirtualMachineScaleSetPublicIPAddress get the specified public IP address in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the name of the network interface. IPConfigurationName - the name of the IP configuration. publicIPAddressName - the name of the public IP Address. expand - expands referenced resources.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressPreparer

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (*http.Request, error)

GetVirtualMachineScaleSetPublicIPAddressPreparer prepares the GetVirtualMachineScaleSetPublicIPAddress request.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressResponder

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressResponder(resp *http.Response) (result PublicIPAddress, err error)

GetVirtualMachineScaleSetPublicIPAddressResponder handles the response to the GetVirtualMachineScaleSetPublicIPAddress request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressSender

func (client PublicIPAddressesClient) GetVirtualMachineScaleSetPublicIPAddressSender(req *http.Request) (*http.Response, error)

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

func (PublicIPAddressesClient) List

func (client PublicIPAddressesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultPage, err error)

List gets all public IP addresses in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (PublicIPAddressesClient) ListAll

ListAll gets all the public IP addresses in a subscription.

func (PublicIPAddressesClient) ListAllComplete

func (client PublicIPAddressesClient) ListAllComplete(ctx context.Context) (result PublicIPAddressListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (PublicIPAddressesClient) ListAllPreparer

func (client PublicIPAddressesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (PublicIPAddressesClient) ListAllResponder

func (client PublicIPAddressesClient) ListAllResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

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

func (PublicIPAddressesClient) ListAllSender

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

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

func (PublicIPAddressesClient) ListComplete

func (client PublicIPAddressesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PublicIPAddressListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PublicIPAddressesClient) ListPreparer

func (client PublicIPAddressesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PublicIPAddressesClient) ListResponder

func (client PublicIPAddressesClient) ListResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

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

func (PublicIPAddressesClient) ListSender

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

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

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result PublicIPAddressListResultPage, err error)

ListVirtualMachineScaleSetPublicIPAddresses gets information about all public IP addresses on a virtual machine scale set level. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesComplete

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result PublicIPAddressListResultIterator, err error)

ListVirtualMachineScaleSetPublicIPAddressesComplete enumerates all values, automatically crossing page boundaries as required.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesPreparer

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (*http.Request, error)

ListVirtualMachineScaleSetPublicIPAddressesPreparer prepares the ListVirtualMachineScaleSetPublicIPAddresses request.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesResponder

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetPublicIPAddressesResponder handles the response to the ListVirtualMachineScaleSetPublicIPAddresses request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesSender

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetPublicIPAddressesSender(req *http.Request) (*http.Response, error)

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

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultPage, err error)

ListVirtualMachineScaleSetVMPublicIPAddresses gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the virtual machine scale set. virtualmachineIndex - the virtual machine index. networkInterfaceName - the network interface name. IPConfigurationName - the IP configuration name.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesComplete

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result PublicIPAddressListResultIterator, err error)

ListVirtualMachineScaleSetVMPublicIPAddressesComplete enumerates all values, automatically crossing page boundaries as required.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesPreparer

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (*http.Request, error)

ListVirtualMachineScaleSetVMPublicIPAddressesPreparer prepares the ListVirtualMachineScaleSetVMPublicIPAddresses request.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesResponder

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesResponder(resp *http.Response) (result PublicIPAddressListResult, err error)

ListVirtualMachineScaleSetVMPublicIPAddressesResponder handles the response to the ListVirtualMachineScaleSetVMPublicIPAddresses request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesSender

func (client PublicIPAddressesClient) ListVirtualMachineScaleSetVMPublicIPAddressesSender(req *http.Request) (*http.Response, error)

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

func (PublicIPAddressesClient) UpdateTags

func (client PublicIPAddressesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters TagsObject) (result PublicIPAddressesUpdateTagsFuture, err error)

UpdateTags updates public IP address tags. Parameters: resourceGroupName - the name of the resource group. publicIPAddressName - the name of the public IP address. parameters - parameters supplied to update public IP address tags.

func (PublicIPAddressesClient) UpdateTagsPreparer

func (client PublicIPAddressesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (PublicIPAddressesClient) UpdateTagsResponder

func (client PublicIPAddressesClient) UpdateTagsResponder(resp *http.Response) (result PublicIPAddress, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (PublicIPAddressesClient) UpdateTagsSender

func (client PublicIPAddressesClient) UpdateTagsSender(req *http.Request) (future PublicIPAddressesUpdateTagsFuture, err error)

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

type PublicIPAddressesCreateOrUpdateFuture

type PublicIPAddressesCreateOrUpdateFuture struct {
	azure.Future
}

PublicIPAddressesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PublicIPAddressesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PublicIPAddressesDeleteFuture

type PublicIPAddressesDeleteFuture struct {
	azure.Future
}

PublicIPAddressesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PublicIPAddressesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PublicIPAddressesUpdateTagsFuture

type PublicIPAddressesUpdateTagsFuture struct {
	azure.Future
}

PublicIPAddressesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PublicIPAddressesUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PublicIPPrefix

type PublicIPPrefix struct {
	autorest.Response `json:"-"`
	// Sku - The public IP prefix SKU.
	Sku *PublicIPPrefixSku `json:"sku,omitempty"`
	// PublicIPPrefixPropertiesFormat - Public IP prefix properties.
	*PublicIPPrefixPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Zones - A list of availability zones denoting the IP allocated for the resource needs to come from.
	Zones *[]string `json:"zones,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

PublicIPPrefix public IP prefix resource.

func (PublicIPPrefix) MarshalJSON

func (pip PublicIPPrefix) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PublicIPPrefix.

func (*PublicIPPrefix) UnmarshalJSON

func (pip *PublicIPPrefix) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PublicIPPrefix struct.

type PublicIPPrefixListResult

type PublicIPPrefixListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of public IP prefixes that exists in a resource group.
	Value *[]PublicIPPrefix `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

PublicIPPrefixListResult response for ListPublicIpPrefixes API service call.

func (PublicIPPrefixListResult) IsEmpty

func (piplr PublicIPPrefixListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PublicIPPrefixListResultIterator

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

PublicIPPrefixListResultIterator provides access to a complete listing of PublicIPPrefix values.

func NewPublicIPPrefixListResultIterator

func NewPublicIPPrefixListResultIterator(page PublicIPPrefixListResultPage) PublicIPPrefixListResultIterator

Creates a new instance of the PublicIPPrefixListResultIterator type.

func (*PublicIPPrefixListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PublicIPPrefixListResultIterator) NextWithContext

func (iter *PublicIPPrefixListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PublicIPPrefixListResultIterator) NotDone

func (iter PublicIPPrefixListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PublicIPPrefixListResultIterator) Response

Response returns the raw server response from the last page request.

func (PublicIPPrefixListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PublicIPPrefixListResultPage

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

PublicIPPrefixListResultPage contains a page of PublicIPPrefix values.

func NewPublicIPPrefixListResultPage

func NewPublicIPPrefixListResultPage(getNextPage func(context.Context, PublicIPPrefixListResult) (PublicIPPrefixListResult, error)) PublicIPPrefixListResultPage

Creates a new instance of the PublicIPPrefixListResultPage type.

func (*PublicIPPrefixListResultPage) Next

func (page *PublicIPPrefixListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PublicIPPrefixListResultPage) NextWithContext

func (page *PublicIPPrefixListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PublicIPPrefixListResultPage) NotDone

func (page PublicIPPrefixListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PublicIPPrefixListResultPage) Response

Response returns the raw server response from the last page request.

func (PublicIPPrefixListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PublicIPPrefixPropertiesFormat

type PublicIPPrefixPropertiesFormat struct {
	// PublicIPAddressVersion - The public IP address version. Possible values include: 'IPv4', 'IPv6'
	PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"`
	// IPTags - The list of tags associated with the public IP prefix.
	IPTags *[]IPTag `json:"ipTags,omitempty"`
	// PrefixLength - The Length of the Public IP Prefix.
	PrefixLength *int32 `json:"prefixLength,omitempty"`
	// IPPrefix - The allocated Prefix.
	IPPrefix *string `json:"ipPrefix,omitempty"`
	// PublicIPAddresses - The list of all referenced PublicIPAddresses.
	PublicIPAddresses *[]ReferencedPublicIPAddress `json:"publicIPAddresses,omitempty"`
	// LoadBalancerFrontendIPConfiguration - READ-ONLY; The reference to load balancer frontend IP configuration associated with the public IP prefix.
	LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIpConfiguration,omitempty"`
	// ResourceGUID - The resource GUID property of the public IP prefix resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the public IP prefix resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

PublicIPPrefixPropertiesFormat public IP prefix properties.

type PublicIPPrefixSku

type PublicIPPrefixSku struct {
	// Name - Name of a public IP prefix SKU. Possible values include: 'PublicIPPrefixSkuNameStandard'
	Name PublicIPPrefixSkuName `json:"name,omitempty"`
}

PublicIPPrefixSku SKU of a public IP prefix.

type PublicIPPrefixSkuName

type PublicIPPrefixSkuName string

PublicIPPrefixSkuName enumerates the values for public ip prefix sku name.

const (
	// PublicIPPrefixSkuNameStandard ...
	PublicIPPrefixSkuNameStandard PublicIPPrefixSkuName = "Standard"
)

func PossiblePublicIPPrefixSkuNameValues

func PossiblePublicIPPrefixSkuNameValues() []PublicIPPrefixSkuName

PossiblePublicIPPrefixSkuNameValues returns an array of possible values for the PublicIPPrefixSkuName const type.

type PublicIPPrefixesClient

type PublicIPPrefixesClient struct {
	BaseClient
}

PublicIPPrefixesClient is the network Client

func NewPublicIPPrefixesClient

func NewPublicIPPrefixesClient(subscriptionID string) PublicIPPrefixesClient

NewPublicIPPrefixesClient creates an instance of the PublicIPPrefixesClient client.

func NewPublicIPPrefixesClientWithBaseURI

func NewPublicIPPrefixesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPPrefixesClient

NewPublicIPPrefixesClientWithBaseURI creates an instance of the PublicIPPrefixesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PublicIPPrefixesClient) CreateOrUpdate

func (client PublicIPPrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters PublicIPPrefix) (result PublicIPPrefixesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a static or dynamic public IP prefix. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the public IP prefix. parameters - parameters supplied to the create or update public IP prefix operation.

func (PublicIPPrefixesClient) CreateOrUpdatePreparer

func (client PublicIPPrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters PublicIPPrefix) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PublicIPPrefixesClient) CreateOrUpdateResponder

func (client PublicIPPrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result PublicIPPrefix, err error)

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

func (PublicIPPrefixesClient) CreateOrUpdateSender

func (client PublicIPPrefixesClient) CreateOrUpdateSender(req *http.Request) (future PublicIPPrefixesCreateOrUpdateFuture, err error)

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

func (PublicIPPrefixesClient) Delete

func (client PublicIPPrefixesClient) Delete(ctx context.Context, resourceGroupName string, publicIPPrefixName string) (result PublicIPPrefixesDeleteFuture, err error)

Delete deletes the specified public IP prefix. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the PublicIpPrefix.

func (PublicIPPrefixesClient) DeletePreparer

func (client PublicIPPrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PublicIPPrefixesClient) DeleteResponder

func (client PublicIPPrefixesClient) 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 (PublicIPPrefixesClient) DeleteSender

func (client PublicIPPrefixesClient) DeleteSender(req *http.Request) (future PublicIPPrefixesDeleteFuture, err error)

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

func (PublicIPPrefixesClient) Get

func (client PublicIPPrefixesClient) Get(ctx context.Context, resourceGroupName string, publicIPPrefixName string, expand string) (result PublicIPPrefix, err error)

Get gets the specified public IP prefix in a specified resource group. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the public IP prefix. expand - expands referenced resources.

func (PublicIPPrefixesClient) GetPreparer

func (client PublicIPPrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PublicIPPrefixesClient) GetResponder

func (client PublicIPPrefixesClient) GetResponder(resp *http.Response) (result PublicIPPrefix, err error)

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

func (PublicIPPrefixesClient) GetSender

func (client PublicIPPrefixesClient) 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 (PublicIPPrefixesClient) List

func (client PublicIPPrefixesClient) List(ctx context.Context, resourceGroupName string) (result PublicIPPrefixListResultPage, err error)

List gets all public IP prefixes in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (PublicIPPrefixesClient) ListAll

func (client PublicIPPrefixesClient) ListAll(ctx context.Context) (result PublicIPPrefixListResultPage, err error)

ListAll gets all the public IP prefixes in a subscription.

func (PublicIPPrefixesClient) ListAllComplete

func (client PublicIPPrefixesClient) ListAllComplete(ctx context.Context) (result PublicIPPrefixListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (PublicIPPrefixesClient) ListAllPreparer

func (client PublicIPPrefixesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (PublicIPPrefixesClient) ListAllResponder

func (client PublicIPPrefixesClient) ListAllResponder(resp *http.Response) (result PublicIPPrefixListResult, err error)

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

func (PublicIPPrefixesClient) ListAllSender

func (client PublicIPPrefixesClient) 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 (PublicIPPrefixesClient) ListComplete

func (client PublicIPPrefixesClient) ListComplete(ctx context.Context, resourceGroupName string) (result PublicIPPrefixListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PublicIPPrefixesClient) ListPreparer

func (client PublicIPPrefixesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PublicIPPrefixesClient) ListResponder

func (client PublicIPPrefixesClient) ListResponder(resp *http.Response) (result PublicIPPrefixListResult, err error)

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

func (PublicIPPrefixesClient) ListSender

func (client PublicIPPrefixesClient) 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 (PublicIPPrefixesClient) UpdateTags

func (client PublicIPPrefixesClient) UpdateTags(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters TagsObject) (result PublicIPPrefixesUpdateTagsFuture, err error)

UpdateTags updates public IP prefix tags. Parameters: resourceGroupName - the name of the resource group. publicIPPrefixName - the name of the public IP prefix. parameters - parameters supplied to update public IP prefix tags.

func (PublicIPPrefixesClient) UpdateTagsPreparer

func (client PublicIPPrefixesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (PublicIPPrefixesClient) UpdateTagsResponder

func (client PublicIPPrefixesClient) UpdateTagsResponder(resp *http.Response) (result PublicIPPrefix, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (PublicIPPrefixesClient) UpdateTagsSender

func (client PublicIPPrefixesClient) UpdateTagsSender(req *http.Request) (future PublicIPPrefixesUpdateTagsFuture, err error)

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

type PublicIPPrefixesCreateOrUpdateFuture

type PublicIPPrefixesCreateOrUpdateFuture struct {
	azure.Future
}

PublicIPPrefixesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PublicIPPrefixesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PublicIPPrefixesDeleteFuture

type PublicIPPrefixesDeleteFuture struct {
	azure.Future
}

PublicIPPrefixesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PublicIPPrefixesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PublicIPPrefixesUpdateTagsFuture

type PublicIPPrefixesUpdateTagsFuture struct {
	azure.Future
}

PublicIPPrefixesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PublicIPPrefixesUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type QueryTroubleshootingParameters

type QueryTroubleshootingParameters struct {
	// TargetResourceID - The target resource ID to query the troubleshooting result.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

QueryTroubleshootingParameters parameters that define the resource to query the troubleshooting result.

type ReferencedPublicIPAddress

type ReferencedPublicIPAddress struct {
	// ID - The PublicIPAddress Reference.
	ID *string `json:"id,omitempty"`
}

ReferencedPublicIPAddress reference to a public IP address.

type Resource

type Resource struct {
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Resource common resource representation.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// ResourceIdentityTypeNone ...
	ResourceIdentityTypeNone ResourceIdentityType = "None"
	// ResourceIdentityTypeSystemAssigned ...
	ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
	// ResourceIdentityTypeSystemAssignedUserAssigned ...
	ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
	// ResourceIdentityTypeUserAssigned ...
	ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceNavigationLink struct {
	// ResourceNavigationLinkFormat - Resource navigation link properties format.
	*ResourceNavigationLinkFormat `json:"properties,omitempty"`
	// Name - Name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ResourceNavigationLink resourceNavigationLink resource.

func (ResourceNavigationLink) MarshalJSON

func (rnl ResourceNavigationLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceNavigationLink.

func (*ResourceNavigationLink) UnmarshalJSON

func (rnl *ResourceNavigationLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ResourceNavigationLink struct.

type ResourceNavigationLinkFormat

type ResourceNavigationLinkFormat struct {
	// LinkedResourceType - Resource type of the linked resource.
	LinkedResourceType *string `json:"linkedResourceType,omitempty"`
	// Link - Link to the external resource.
	Link *string `json:"link,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the resource navigation link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ResourceNavigationLinkFormat properties of ResourceNavigationLink.

type ResourceNavigationLinksClient

type ResourceNavigationLinksClient struct {
	BaseClient
}

ResourceNavigationLinksClient is the network Client

func NewResourceNavigationLinksClient

func NewResourceNavigationLinksClient(subscriptionID string) ResourceNavigationLinksClient

NewResourceNavigationLinksClient creates an instance of the ResourceNavigationLinksClient client.

func NewResourceNavigationLinksClientWithBaseURI

func NewResourceNavigationLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceNavigationLinksClient

NewResourceNavigationLinksClientWithBaseURI creates an instance of the ResourceNavigationLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ResourceNavigationLinksClient) List

func (client ResourceNavigationLinksClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result ResourceNavigationLinksListResult, err error)

List gets a list of resource navigation links for a subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.

func (ResourceNavigationLinksClient) ListPreparer

func (client ResourceNavigationLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ResourceNavigationLinksClient) ListResponder

func (client ResourceNavigationLinksClient) ListResponder(resp *http.Response) (result ResourceNavigationLinksListResult, err error)

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

func (ResourceNavigationLinksClient) ListSender

func (client ResourceNavigationLinksClient) 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 ResourceNavigationLinksListResult

type ResourceNavigationLinksListResult struct {
	autorest.Response `json:"-"`
	// Value - The resource navigation links in a subnet.
	Value *[]ResourceNavigationLink `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ResourceNavigationLinksListResult response for ResourceNavigationLinks_List operation.

type ResourceSet

type ResourceSet struct {
	// Subscriptions - The list of subscriptions.
	Subscriptions *[]string `json:"subscriptions,omitempty"`
}

ResourceSet the base resource set for visibility and auto-approval.

type RetentionPolicyParameters

type RetentionPolicyParameters struct {
	// Days - Number of days to retain flow log records.
	Days *int32 `json:"days,omitempty"`
	// Enabled - Flag to enable/disable retention.
	Enabled *bool `json:"enabled,omitempty"`
}

RetentionPolicyParameters parameters that define the retention policy for flow log.

type Route

type Route struct {
	autorest.Response `json:"-"`
	// RoutePropertiesFormat - Properties of the route.
	*RoutePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

Route route resource.

func (Route) MarshalJSON

func (r Route) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Route.

func (*Route) UnmarshalJSON

func (r *Route) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Route struct.

type RouteFilter

type RouteFilter struct {
	autorest.Response `json:"-"`
	// RouteFilterPropertiesFormat - Properties of the route filter.
	*RouteFilterPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

RouteFilter route Filter Resource.

func (RouteFilter) MarshalJSON

func (rf RouteFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteFilter.

func (*RouteFilter) UnmarshalJSON

func (rf *RouteFilter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RouteFilter struct.

type RouteFilterListResult

type RouteFilterListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of route filters in a resource group.
	Value *[]RouteFilter `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RouteFilterListResult response for the ListRouteFilters API service call.

func (RouteFilterListResult) IsEmpty

func (rflr RouteFilterListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RouteFilterListResultIterator

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

RouteFilterListResultIterator provides access to a complete listing of RouteFilter values.

func NewRouteFilterListResultIterator

func NewRouteFilterListResultIterator(page RouteFilterListResultPage) RouteFilterListResultIterator

Creates a new instance of the RouteFilterListResultIterator type.

func (*RouteFilterListResultIterator) Next

func (iter *RouteFilterListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteFilterListResultIterator) NextWithContext

func (iter *RouteFilterListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RouteFilterListResultIterator) NotDone

func (iter RouteFilterListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RouteFilterListResultIterator) Response

Response returns the raw server response from the last page request.

func (RouteFilterListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RouteFilterListResultPage

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

RouteFilterListResultPage contains a page of RouteFilter values.

func NewRouteFilterListResultPage

func NewRouteFilterListResultPage(getNextPage func(context.Context, RouteFilterListResult) (RouteFilterListResult, error)) RouteFilterListResultPage

Creates a new instance of the RouteFilterListResultPage type.

func (*RouteFilterListResultPage) Next

func (page *RouteFilterListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteFilterListResultPage) NextWithContext

func (page *RouteFilterListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RouteFilterListResultPage) NotDone

func (page RouteFilterListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RouteFilterListResultPage) Response

Response returns the raw server response from the last page request.

func (RouteFilterListResultPage) Values

func (page RouteFilterListResultPage) Values() []RouteFilter

Values returns the slice of values for the current page or nil if there are no values.

type RouteFilterPropertiesFormat

type RouteFilterPropertiesFormat struct {
	// Rules - Collection of RouteFilterRules contained within a route filter.
	Rules *[]RouteFilterRule `json:"rules,omitempty"`
	// Peerings - A collection of references to express route circuit peerings.
	Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
	// Ipv6Peerings - A collection of references to express route circuit ipv6 peerings.
	Ipv6Peerings *[]ExpressRouteCircuitPeering `json:"ipv6Peerings,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the route filter resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

RouteFilterPropertiesFormat route Filter Resource.

type RouteFilterRule

type RouteFilterRule struct {
	autorest.Response `json:"-"`
	// RouteFilterRulePropertiesFormat - Properties of the route filter rule.
	*RouteFilterRulePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

RouteFilterRule route Filter Rule Resource.

func (RouteFilterRule) MarshalJSON

func (rfr RouteFilterRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteFilterRule.

func (*RouteFilterRule) UnmarshalJSON

func (rfr *RouteFilterRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RouteFilterRule struct.

type RouteFilterRuleListResult

type RouteFilterRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of RouteFilterRules in a resource group.
	Value *[]RouteFilterRule `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RouteFilterRuleListResult response for the ListRouteFilterRules API service call.

func (RouteFilterRuleListResult) IsEmpty

func (rfrlr RouteFilterRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RouteFilterRuleListResultIterator

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

RouteFilterRuleListResultIterator provides access to a complete listing of RouteFilterRule values.

func NewRouteFilterRuleListResultIterator

func NewRouteFilterRuleListResultIterator(page RouteFilterRuleListResultPage) RouteFilterRuleListResultIterator

Creates a new instance of the RouteFilterRuleListResultIterator type.

func (*RouteFilterRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteFilterRuleListResultIterator) NextWithContext

func (iter *RouteFilterRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RouteFilterRuleListResultIterator) NotDone

func (iter RouteFilterRuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RouteFilterRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (RouteFilterRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RouteFilterRuleListResultPage

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

RouteFilterRuleListResultPage contains a page of RouteFilterRule values.

func NewRouteFilterRuleListResultPage

func NewRouteFilterRuleListResultPage(getNextPage func(context.Context, RouteFilterRuleListResult) (RouteFilterRuleListResult, error)) RouteFilterRuleListResultPage

Creates a new instance of the RouteFilterRuleListResultPage type.

func (*RouteFilterRuleListResultPage) Next

func (page *RouteFilterRuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteFilterRuleListResultPage) NextWithContext

func (page *RouteFilterRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RouteFilterRuleListResultPage) NotDone

func (page RouteFilterRuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RouteFilterRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (RouteFilterRuleListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type RouteFilterRulePropertiesFormat

type RouteFilterRulePropertiesFormat struct {
	// Access - The access type of the rule. Possible values include: 'Allow', 'Deny'
	Access Access `json:"access,omitempty"`
	// RouteFilterRuleType - The rule type of the rule.
	RouteFilterRuleType *string `json:"routeFilterRuleType,omitempty"`
	// Communities - The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].
	Communities *[]string `json:"communities,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the route filter rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

RouteFilterRulePropertiesFormat route Filter Rule Resource.

type RouteFilterRulesClient

type RouteFilterRulesClient struct {
	BaseClient
}

RouteFilterRulesClient is the network Client

func NewRouteFilterRulesClient

func NewRouteFilterRulesClient(subscriptionID string) RouteFilterRulesClient

NewRouteFilterRulesClient creates an instance of the RouteFilterRulesClient client.

func NewRouteFilterRulesClientWithBaseURI

func NewRouteFilterRulesClientWithBaseURI(baseURI string, subscriptionID string) RouteFilterRulesClient

NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RouteFilterRulesClient) CreateOrUpdate

func (client RouteFilterRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule) (result RouteFilterRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a route in the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the route filter rule. routeFilterRuleParameters - parameters supplied to the create or update route filter rule operation.

func (RouteFilterRulesClient) CreateOrUpdatePreparer

func (client RouteFilterRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters RouteFilterRule) (*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) (future RouteFilterRulesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRulesDeleteFuture, err error)

Delete deletes the specified rule from a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the rule.

func (RouteFilterRulesClient) DeletePreparer

func (client RouteFilterRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (*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) (future RouteFilterRulesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result RouteFilterRule, err error)

Get gets the specified rule from a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the rule.

func (RouteFilterRulesClient) GetPreparer

func (client RouteFilterRulesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFilterRuleListResultPage, err error)

ListByRouteFilter gets all RouteFilterRules in a route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter.

func (RouteFilterRulesClient) ListByRouteFilterComplete

func (client RouteFilterRulesClient) ListByRouteFilterComplete(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFilterRuleListResultIterator, err error)

ListByRouteFilterComplete enumerates all values, automatically crossing page boundaries as required.

func (RouteFilterRulesClient) ListByRouteFilterPreparer

func (client RouteFilterRulesClient) ListByRouteFilterPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters PatchRouteFilterRule) (result RouteFilterRulesUpdateFuture, err error)

Update updates a route in the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. ruleName - the name of the route filter rule. routeFilterRuleParameters - parameters supplied to the update route filter rule operation.

func (RouteFilterRulesClient) UpdatePreparer

func (client RouteFilterRulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters PatchRouteFilterRule) (*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) (future RouteFilterRulesUpdateFuture, err error)

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

type RouteFilterRulesCreateOrUpdateFuture

type RouteFilterRulesCreateOrUpdateFuture struct {
	azure.Future
}

RouteFilterRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteFilterRulesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteFilterRulesDeleteFuture

type RouteFilterRulesDeleteFuture struct {
	azure.Future
}

RouteFilterRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteFilterRulesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteFilterRulesUpdateFuture

type RouteFilterRulesUpdateFuture struct {
	azure.Future
}

RouteFilterRulesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteFilterRulesUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteFiltersClient

type RouteFiltersClient struct {
	BaseClient
}

RouteFiltersClient is the network Client

func NewRouteFiltersClient

func NewRouteFiltersClient(subscriptionID string) RouteFiltersClient

NewRouteFiltersClient creates an instance of the RouteFiltersClient client.

func NewRouteFiltersClientWithBaseURI

func NewRouteFiltersClientWithBaseURI(baseURI string, subscriptionID string) RouteFiltersClient

NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RouteFiltersClient) CreateOrUpdate

func (client RouteFiltersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter) (result RouteFiltersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a route filter in a specified resource group. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. routeFilterParameters - parameters supplied to the create or update route filter operation.

func (RouteFiltersClient) CreateOrUpdatePreparer

func (client RouteFiltersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters RouteFilter) (*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) (future RouteFiltersCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, routeFilterName string) (result RouteFiltersDeleteFuture, err error)

Delete deletes the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter.

func (RouteFiltersClient) DeletePreparer

func (client RouteFiltersClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeFilterName string) (*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) (future RouteFiltersDeleteFuture, err 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(ctx context.Context, resourceGroupName string, routeFilterName string, expand string) (result RouteFilter, err error)

Get gets the specified route filter. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. expand - expands referenced express route bgp peering resources.

func (RouteFiltersClient) GetPreparer

func (client RouteFiltersClient) GetPreparer(ctx context.Context, 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(ctx context.Context) (result RouteFilterListResultPage, err error)

List gets all route filters in a subscription.

func (RouteFiltersClient) ListByResourceGroup

func (client RouteFiltersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RouteFilterListResultPage, err error)

ListByResourceGroup gets all route filters in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (RouteFiltersClient) ListByResourceGroupComplete

func (client RouteFiltersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RouteFilterListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (RouteFiltersClient) ListByResourceGroupPreparer

func (client RouteFiltersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (RouteFiltersClient) ListByResourceGroupResponder

func (client RouteFiltersClient) ListByResourceGroupResponder(resp *http.Response) (result RouteFilterListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (RouteFiltersClient) ListByResourceGroupSender

func (client RouteFiltersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (RouteFiltersClient) ListComplete

func (client RouteFiltersClient) ListComplete(ctx context.Context) (result RouteFilterListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RouteFiltersClient) ListPreparer

func (client RouteFiltersClient) ListPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters PatchRouteFilter) (result RouteFiltersUpdateFuture, err error)

Update updates a route filter in a specified resource group. Parameters: resourceGroupName - the name of the resource group. routeFilterName - the name of the route filter. routeFilterParameters - parameters supplied to the update route filter operation.

func (RouteFiltersClient) UpdatePreparer

func (client RouteFiltersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters PatchRouteFilter) (*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) (future RouteFiltersUpdateFuture, err error)

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

type RouteFiltersCreateOrUpdateFuture

type RouteFiltersCreateOrUpdateFuture struct {
	azure.Future
}

RouteFiltersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteFiltersCreateOrUpdateFuture) Result

func (future *RouteFiltersCreateOrUpdateFuture) Result(client RouteFiltersClient) (rf RouteFilter, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteFiltersDeleteFuture

type RouteFiltersDeleteFuture struct {
	azure.Future
}

RouteFiltersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteFiltersDeleteFuture) Result

func (future *RouteFiltersDeleteFuture) Result(client RouteFiltersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteFiltersUpdateFuture

type RouteFiltersUpdateFuture struct {
	azure.Future
}

RouteFiltersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteFiltersUpdateFuture) Result

func (future *RouteFiltersUpdateFuture) Result(client RouteFiltersClient) (rf RouteFilter, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteListResult

type RouteListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of routes in a resource group.
	Value *[]Route `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RouteListResult response for the ListRoute API service call.

func (RouteListResult) IsEmpty

func (rlr RouteListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RouteListResultIterator

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

RouteListResultIterator provides access to a complete listing of Route values.

func NewRouteListResultIterator

func NewRouteListResultIterator(page RouteListResultPage) RouteListResultIterator

Creates a new instance of the RouteListResultIterator type.

func (*RouteListResultIterator) Next

func (iter *RouteListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteListResultIterator) NextWithContext

func (iter *RouteListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RouteListResultIterator) NotDone

func (iter RouteListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RouteListResultIterator) Response

func (iter RouteListResultIterator) Response() RouteListResult

Response returns the raw server response from the last page request.

func (RouteListResultIterator) Value

func (iter RouteListResultIterator) Value() Route

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RouteListResultPage

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

RouteListResultPage contains a page of Route values.

func NewRouteListResultPage

func NewRouteListResultPage(getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage

Creates a new instance of the RouteListResultPage type.

func (*RouteListResultPage) Next

func (page *RouteListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteListResultPage) NextWithContext

func (page *RouteListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RouteListResultPage) NotDone

func (page RouteListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RouteListResultPage) Response

func (page RouteListResultPage) Response() RouteListResult

Response returns the raw server response from the last page request.

func (RouteListResultPage) Values

func (page RouteListResultPage) Values() []Route

Values returns the slice of values for the current page or nil if there are no values.

type RouteNextHopType

type RouteNextHopType string

RouteNextHopType enumerates the values for route next hop type.

const (
	// RouteNextHopTypeInternet ...
	RouteNextHopTypeInternet RouteNextHopType = "Internet"
	// RouteNextHopTypeNone ...
	RouteNextHopTypeNone RouteNextHopType = "None"
	// RouteNextHopTypeVirtualAppliance ...
	RouteNextHopTypeVirtualAppliance RouteNextHopType = "VirtualAppliance"
	// RouteNextHopTypeVirtualNetworkGateway ...
	RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = "VirtualNetworkGateway"
	// RouteNextHopTypeVnetLocal ...
	RouteNextHopTypeVnetLocal RouteNextHopType = "VnetLocal"
)

func PossibleRouteNextHopTypeValues

func PossibleRouteNextHopTypeValues() []RouteNextHopType

PossibleRouteNextHopTypeValues returns an array of possible values for the RouteNextHopType const type.

type RoutePropertiesFormat

type RoutePropertiesFormat struct {
	// AddressPrefix - The destination CIDR to which the route applies.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// NextHopType - The type of Azure hop the packet should be sent to. Possible values include: 'RouteNextHopTypeVirtualNetworkGateway', 'RouteNextHopTypeVnetLocal', 'RouteNextHopTypeInternet', 'RouteNextHopTypeVirtualAppliance', 'RouteNextHopTypeNone'
	NextHopType RouteNextHopType `json:"nextHopType,omitempty"`
	// NextHopIPAddress - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`
	// ProvisioningState - The provisioning state of the route resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

RoutePropertiesFormat route resource.

type RouteTable

type RouteTable struct {
	autorest.Response `json:"-"`
	// RouteTablePropertiesFormat - Properties of the route table.
	*RouteTablePropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

RouteTable route table resource.

func (RouteTable) MarshalJSON

func (rt RouteTable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteTable.

func (*RouteTable) UnmarshalJSON

func (rt *RouteTable) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RouteTable struct.

type RouteTableListResult

type RouteTableListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of route tables in a resource group.
	Value *[]RouteTable `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

RouteTableListResult response for the ListRouteTable API service call.

func (RouteTableListResult) IsEmpty

func (rtlr RouteTableListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RouteTableListResultIterator

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

RouteTableListResultIterator provides access to a complete listing of RouteTable values.

func NewRouteTableListResultIterator

func NewRouteTableListResultIterator(page RouteTableListResultPage) RouteTableListResultIterator

Creates a new instance of the RouteTableListResultIterator type.

func (*RouteTableListResultIterator) Next

func (iter *RouteTableListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteTableListResultIterator) NextWithContext

func (iter *RouteTableListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RouteTableListResultIterator) NotDone

func (iter RouteTableListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RouteTableListResultIterator) Response

Response returns the raw server response from the last page request.

func (RouteTableListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RouteTableListResultPage

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

RouteTableListResultPage contains a page of RouteTable values.

func NewRouteTableListResultPage

func NewRouteTableListResultPage(getNextPage func(context.Context, RouteTableListResult) (RouteTableListResult, error)) RouteTableListResultPage

Creates a new instance of the RouteTableListResultPage type.

func (*RouteTableListResultPage) Next

func (page *RouteTableListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RouteTableListResultPage) NextWithContext

func (page *RouteTableListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RouteTableListResultPage) NotDone

func (page RouteTableListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RouteTableListResultPage) Response

Response returns the raw server response from the last page request.

func (RouteTableListResultPage) Values

func (page RouteTableListResultPage) Values() []RouteTable

Values returns the slice of values for the current page or nil if there are no values.

type RouteTablePropertiesFormat

type RouteTablePropertiesFormat struct {
	// Routes - Collection of routes contained within a route table.
	Routes *[]Route `json:"routes,omitempty"`
	// Subnets - READ-ONLY; A collection of references to subnets.
	Subnets *[]Subnet `json:"subnets,omitempty"`
	// DisableBgpRoutePropagation - Whether to disable the routes learned by BGP on that route table. True means disable.
	DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"`
	// ProvisioningState - The provisioning state of the route table resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

RouteTablePropertiesFormat route Table resource.

type RouteTablesClient

type RouteTablesClient struct {
	BaseClient
}

RouteTablesClient is the network Client

func NewRouteTablesClient

func NewRouteTablesClient(subscriptionID string) RouteTablesClient

NewRouteTablesClient creates an instance of the RouteTablesClient client.

func NewRouteTablesClientWithBaseURI

func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient

NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RouteTablesClient) CreateOrUpdate

func (client RouteTablesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (result RouteTablesCreateOrUpdateFuture, err error)

CreateOrUpdate create or updates a route table in a specified resource group. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. parameters - parameters supplied to the create or update route table operation.

func (RouteTablesClient) CreateOrUpdatePreparer

func (client RouteTablesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, parameters RouteTable) (*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) (future RouteTablesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteTablesDeleteFuture, err error)

Delete deletes the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table.

func (RouteTablesClient) DeletePreparer

func (client RouteTablesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string) (*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) (future RouteTablesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (result RouteTable, err error)

Get gets the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. expand - expands referenced resources.

func (RouteTablesClient) GetPreparer

func (client RouteTablesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result RouteTableListResultPage, err error)

List gets all route tables in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (RouteTablesClient) ListAll

func (client RouteTablesClient) ListAll(ctx context.Context) (result RouteTableListResultPage, err error)

ListAll gets all route tables in a subscription.

func (RouteTablesClient) ListAllComplete

func (client RouteTablesClient) ListAllComplete(ctx context.Context) (result RouteTableListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (RouteTablesClient) ListAllPreparer

func (client RouteTablesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (RouteTablesClient) ListAllResponder

func (client RouteTablesClient) ListAllResponder(resp *http.Response) (result RouteTableListResult, err error)

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

func (RouteTablesClient) ListAllSender

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

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

func (RouteTablesClient) ListComplete

func (client RouteTablesClient) ListComplete(ctx context.Context, resourceGroupName string) (result RouteTableListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RouteTablesClient) ListPreparer

func (client RouteTablesClient) ListPreparer(ctx context.Context, 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.

func (RouteTablesClient) UpdateTags

func (client RouteTablesClient) UpdateTags(ctx context.Context, resourceGroupName string, routeTableName string, parameters TagsObject) (result RouteTablesUpdateTagsFuture, err error)

UpdateTags updates a route table tags. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. parameters - parameters supplied to update route table tags.

func (RouteTablesClient) UpdateTagsPreparer

func (client RouteTablesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, routeTableName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (RouteTablesClient) UpdateTagsResponder

func (client RouteTablesClient) UpdateTagsResponder(resp *http.Response) (result RouteTable, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (RouteTablesClient) UpdateTagsSender

func (client RouteTablesClient) UpdateTagsSender(req *http.Request) (future RouteTablesUpdateTagsFuture, err error)

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

type RouteTablesCreateOrUpdateFuture

type RouteTablesCreateOrUpdateFuture struct {
	azure.Future
}

RouteTablesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteTablesCreateOrUpdateFuture) Result

func (future *RouteTablesCreateOrUpdateFuture) Result(client RouteTablesClient) (rt RouteTable, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteTablesDeleteFuture

type RouteTablesDeleteFuture struct {
	azure.Future
}

RouteTablesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteTablesDeleteFuture) Result

func (future *RouteTablesDeleteFuture) Result(client RouteTablesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RouteTablesUpdateTagsFuture

type RouteTablesUpdateTagsFuture struct {
	azure.Future
}

RouteTablesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RouteTablesUpdateTagsFuture) Result

func (future *RouteTablesUpdateTagsFuture) Result(client RouteTablesClient) (rt RouteTable, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RoutesClient

type RoutesClient struct {
	BaseClient
}

RoutesClient is the network Client

func NewRoutesClient

func NewRoutesClient(subscriptionID string) RoutesClient

NewRoutesClient creates an instance of the RoutesClient client.

func NewRoutesClientWithBaseURI

func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient

NewRoutesClientWithBaseURI creates an instance of the RoutesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RoutesClient) CreateOrUpdate

func (client RoutesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (result RoutesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a route in the specified route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route. routeParameters - parameters supplied to the create or update route operation.

func (RoutesClient) CreateOrUpdatePreparer

func (client RoutesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string, routeParameters Route) (*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) (future RoutesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result RoutesDeleteFuture, err error)

Delete deletes the specified route from a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route.

func (RoutesClient) DeletePreparer

func (client RoutesClient) DeletePreparer(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (*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) (future RoutesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result Route, err error)

Get gets the specified route from a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table. routeName - the name of the route.

func (RoutesClient) GetPreparer

func (client RoutesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultPage, err error)

List gets all routes in a route table. Parameters: resourceGroupName - the name of the resource group. routeTableName - the name of the route table.

func (RoutesClient) ListComplete

func (client RoutesClient) ListComplete(ctx context.Context, resourceGroupName string, routeTableName string) (result RouteListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RoutesClient) ListPreparer

func (client RoutesClient) ListPreparer(ctx context.Context, 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 RoutesCreateOrUpdateFuture

type RoutesCreateOrUpdateFuture struct {
	azure.Future
}

RoutesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RoutesCreateOrUpdateFuture) Result

func (future *RoutesCreateOrUpdateFuture) Result(client RoutesClient) (r Route, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RoutesDeleteFuture

type RoutesDeleteFuture struct {
	azure.Future
}

RoutesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RoutesDeleteFuture) Result

func (future *RoutesDeleteFuture) Result(client RoutesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RuleCondition

type RuleCondition struct {
	// IPProtocols - Array of FirewallPolicyRuleConditionNetworkProtocols.
	IPProtocols *[]FirewallPolicyRuleConditionNetworkProtocol `json:"ipProtocols,omitempty"`
	// SourceAddresses - List of source IP addresses for this rule.
	SourceAddresses *[]string `json:"sourceAddresses,omitempty"`
	// DestinationAddresses - List of destination IP addresses or Service Tags.
	DestinationAddresses *[]string `json:"destinationAddresses,omitempty"`
	// DestinationPorts - List of destination ports.
	DestinationPorts *[]string `json:"destinationPorts,omitempty"`
	// Name - Name of the rule condition.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule condition.
	Description *string `json:"description,omitempty"`
	// RuleConditionType - Possible values include: 'RuleConditionTypeFirewallPolicyRuleCondition', 'RuleConditionTypeApplicationRuleCondition', 'RuleConditionTypeNetworkRuleCondition'
	RuleConditionType RuleConditionType `json:"ruleConditionType,omitempty"`
}

RuleCondition rule condition of type network.

func (RuleCondition) AsApplicationRuleCondition

func (rc RuleCondition) AsApplicationRuleCondition() (*ApplicationRuleCondition, bool)

AsApplicationRuleCondition is the BasicFirewallPolicyRuleCondition implementation for RuleCondition.

func (RuleCondition) AsBasicFirewallPolicyRuleCondition

func (rc RuleCondition) AsBasicFirewallPolicyRuleCondition() (BasicFirewallPolicyRuleCondition, bool)

AsBasicFirewallPolicyRuleCondition is the BasicFirewallPolicyRuleCondition implementation for RuleCondition.

func (RuleCondition) AsFirewallPolicyRuleCondition

func (rc RuleCondition) AsFirewallPolicyRuleCondition() (*FirewallPolicyRuleCondition, bool)

AsFirewallPolicyRuleCondition is the BasicFirewallPolicyRuleCondition implementation for RuleCondition.

func (RuleCondition) AsRuleCondition

func (rc RuleCondition) AsRuleCondition() (*RuleCondition, bool)

AsRuleCondition is the BasicFirewallPolicyRuleCondition implementation for RuleCondition.

func (RuleCondition) MarshalJSON

func (rc RuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleCondition.

type RuleConditionType

type RuleConditionType string

RuleConditionType enumerates the values for rule condition type.

const (
	// RuleConditionTypeApplicationRuleCondition ...
	RuleConditionTypeApplicationRuleCondition RuleConditionType = "ApplicationRuleCondition"
	// RuleConditionTypeFirewallPolicyRuleCondition ...
	RuleConditionTypeFirewallPolicyRuleCondition RuleConditionType = "FirewallPolicyRuleCondition"
	// RuleConditionTypeNetworkRuleCondition ...
	RuleConditionTypeNetworkRuleCondition RuleConditionType = "NetworkRuleCondition"
)

func PossibleRuleConditionTypeValues

func PossibleRuleConditionTypeValues() []RuleConditionType

PossibleRuleConditionTypeValues returns an array of possible values for the RuleConditionType const type.

type RuleType

type RuleType string

RuleType enumerates the values for rule type.

const (
	// RuleTypeFirewallPolicyFilterRule ...
	RuleTypeFirewallPolicyFilterRule RuleType = "FirewallPolicyFilterRule"
	// RuleTypeFirewallPolicyNatRule ...
	RuleTypeFirewallPolicyNatRule RuleType = "FirewallPolicyNatRule"
	// RuleTypeFirewallPolicyRule ...
	RuleTypeFirewallPolicyRule RuleType = "FirewallPolicyRule"
)

func PossibleRuleTypeValues

func PossibleRuleTypeValues() []RuleType

PossibleRuleTypeValues returns an array of possible values for the RuleType const type.

type SecurityGroup

type SecurityGroup struct {
	autorest.Response `json:"-"`
	// SecurityGroupPropertiesFormat - Properties of the network security group.
	*SecurityGroupPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

SecurityGroup networkSecurityGroup resource.

func (SecurityGroup) MarshalJSON

func (sg SecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityGroup.

func (*SecurityGroup) UnmarshalJSON

func (sg *SecurityGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecurityGroup struct.

type SecurityGroupListResult

type SecurityGroupListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of NetworkSecurityGroup resources.
	Value *[]SecurityGroup `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SecurityGroupListResult response for ListNetworkSecurityGroups API service call.

func (SecurityGroupListResult) IsEmpty

func (sglr SecurityGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SecurityGroupListResultIterator

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

SecurityGroupListResultIterator provides access to a complete listing of SecurityGroup values.

func NewSecurityGroupListResultIterator

func NewSecurityGroupListResultIterator(page SecurityGroupListResultPage) SecurityGroupListResultIterator

Creates a new instance of the SecurityGroupListResultIterator type.

func (*SecurityGroupListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecurityGroupListResultIterator) NextWithContext

func (iter *SecurityGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SecurityGroupListResultIterator) NotDone

func (iter SecurityGroupListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecurityGroupListResultIterator) Response

Response returns the raw server response from the last page request.

func (SecurityGroupListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecurityGroupListResultPage

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

SecurityGroupListResultPage contains a page of SecurityGroup values.

func NewSecurityGroupListResultPage

func NewSecurityGroupListResultPage(getNextPage func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error)) SecurityGroupListResultPage

Creates a new instance of the SecurityGroupListResultPage type.

func (*SecurityGroupListResultPage) Next

func (page *SecurityGroupListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecurityGroupListResultPage) NextWithContext

func (page *SecurityGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SecurityGroupListResultPage) NotDone

func (page SecurityGroupListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecurityGroupListResultPage) Response

Response returns the raw server response from the last page request.

func (SecurityGroupListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SecurityGroupNetworkInterface

type SecurityGroupNetworkInterface struct {
	// ID - ID of the network interface.
	ID *string `json:"id,omitempty"`
	// SecurityRuleAssociations - All security rules associated with the network interface.
	SecurityRuleAssociations *SecurityRuleAssociations `json:"securityRuleAssociations,omitempty"`
}

SecurityGroupNetworkInterface network interface and all its associated security rules.

type SecurityGroupPropertiesFormat

type SecurityGroupPropertiesFormat struct {
	// SecurityRules - A collection of security rules of the network security group.
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
	// DefaultSecurityRules - The default security rules of network security group.
	DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"`
	// NetworkInterfaces - READ-ONLY; A collection of references to network interfaces.
	NetworkInterfaces *[]Interface `json:"networkInterfaces,omitempty"`
	// Subnets - READ-ONLY; A collection of references to subnets.
	Subnets *[]Subnet `json:"subnets,omitempty"`
	// ResourceGUID - The resource GUID property of the network security group resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the network security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

SecurityGroupPropertiesFormat network Security Group resource.

type SecurityGroupResult

type SecurityGroupResult struct {
	// SecurityRuleAccessResult - The network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny'
	SecurityRuleAccessResult SecurityRuleAccess `json:"securityRuleAccessResult,omitempty"`
	// EvaluatedNetworkSecurityGroups - READ-ONLY; List of results network security groups diagnostic.
	EvaluatedNetworkSecurityGroups *[]EvaluatedNetworkSecurityGroup `json:"evaluatedNetworkSecurityGroups,omitempty"`
}

SecurityGroupResult network configuration diagnostic result corresponded provided traffic query.

type SecurityGroupViewParameters

type SecurityGroupViewParameters struct {
	// TargetResourceID - ID of the target VM.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

SecurityGroupViewParameters parameters that define the VM to check security groups for.

type SecurityGroupViewResult

type SecurityGroupViewResult struct {
	autorest.Response `json:"-"`
	// NetworkInterfaces - List of network interfaces on the specified VM.
	NetworkInterfaces *[]SecurityGroupNetworkInterface `json:"networkInterfaces,omitempty"`
}

SecurityGroupViewResult the information about security rules applied to the specified VM.

type SecurityGroupsClient

type SecurityGroupsClient struct {
	BaseClient
}

SecurityGroupsClient is the network Client

func NewSecurityGroupsClient

func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient

NewSecurityGroupsClient creates an instance of the SecurityGroupsClient client.

func NewSecurityGroupsClientWithBaseURI

func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient

NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecurityGroupsClient) CreateOrUpdate

func (client SecurityGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (result SecurityGroupsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a network security group in the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. parameters - parameters supplied to the create or update network security group operation.

func (SecurityGroupsClient) CreateOrUpdatePreparer

func (client SecurityGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters SecurityGroup) (*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) (future SecurityGroupsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityGroupsDeleteFuture, err error)

Delete deletes the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.

func (SecurityGroupsClient) DeletePreparer

func (client SecurityGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*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) (future SecurityGroupsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (result SecurityGroup, err error)

Get gets the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. expand - expands referenced resources.

func (SecurityGroupsClient) GetPreparer

func (client SecurityGroupsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultPage, err error)

List gets all network security groups in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (SecurityGroupsClient) ListAll

func (client SecurityGroupsClient) ListAll(ctx context.Context) (result SecurityGroupListResultPage, err error)

ListAll gets all network security groups in a subscription.

func (SecurityGroupsClient) ListAllComplete

func (client SecurityGroupsClient) ListAllComplete(ctx context.Context) (result SecurityGroupListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (SecurityGroupsClient) ListAllPreparer

func (client SecurityGroupsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (SecurityGroupsClient) ListAllResponder

func (client SecurityGroupsClient) ListAllResponder(resp *http.Response) (result SecurityGroupListResult, err error)

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

func (SecurityGroupsClient) ListAllSender

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

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

func (SecurityGroupsClient) ListComplete

func (client SecurityGroupsClient) ListComplete(ctx context.Context, resourceGroupName string) (result SecurityGroupListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SecurityGroupsClient) ListPreparer

func (client SecurityGroupsClient) ListPreparer(ctx context.Context, 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.

func (SecurityGroupsClient) UpdateTags

func (client SecurityGroupsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters TagsObject) (result SecurityGroupsUpdateTagsFuture, err error)

UpdateTags updates a network security group tags. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. parameters - parameters supplied to update network security group tags.

func (SecurityGroupsClient) UpdateTagsPreparer

func (client SecurityGroupsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (SecurityGroupsClient) UpdateTagsResponder

func (client SecurityGroupsClient) UpdateTagsResponder(resp *http.Response) (result SecurityGroup, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (SecurityGroupsClient) UpdateTagsSender

func (client SecurityGroupsClient) UpdateTagsSender(req *http.Request) (future SecurityGroupsUpdateTagsFuture, err error)

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

type SecurityGroupsCreateOrUpdateFuture

type SecurityGroupsCreateOrUpdateFuture struct {
	azure.Future
}

SecurityGroupsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityGroupsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SecurityGroupsDeleteFuture

type SecurityGroupsDeleteFuture struct {
	azure.Future
}

SecurityGroupsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityGroupsDeleteFuture) Result

func (future *SecurityGroupsDeleteFuture) Result(client SecurityGroupsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SecurityGroupsUpdateTagsFuture

type SecurityGroupsUpdateTagsFuture struct {
	azure.Future
}

SecurityGroupsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityGroupsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SecurityRule

type SecurityRule struct {
	autorest.Response `json:"-"`
	// SecurityRulePropertiesFormat - Properties of the security rule.
	*SecurityRulePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

SecurityRule network security rule.

func (SecurityRule) MarshalJSON

func (sr SecurityRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityRule.

func (*SecurityRule) UnmarshalJSON

func (sr *SecurityRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecurityRule struct.

type SecurityRuleAccess

type SecurityRuleAccess string

SecurityRuleAccess enumerates the values for security rule access.

const (
	// SecurityRuleAccessAllow ...
	SecurityRuleAccessAllow SecurityRuleAccess = "Allow"
	// SecurityRuleAccessDeny ...
	SecurityRuleAccessDeny SecurityRuleAccess = "Deny"
)

func PossibleSecurityRuleAccessValues

func PossibleSecurityRuleAccessValues() []SecurityRuleAccess

PossibleSecurityRuleAccessValues returns an array of possible values for the SecurityRuleAccess const type.

type SecurityRuleAssociations

type SecurityRuleAssociations struct {
	// NetworkInterfaceAssociation - Network interface and it's custom security rules.
	NetworkInterfaceAssociation *InterfaceAssociation `json:"networkInterfaceAssociation,omitempty"`
	// SubnetAssociation - Subnet and it's custom security rules.
	SubnetAssociation *SubnetAssociation `json:"subnetAssociation,omitempty"`
	// DefaultSecurityRules - Collection of default security rules of the network security group.
	DefaultSecurityRules *[]SecurityRule `json:"defaultSecurityRules,omitempty"`
	// EffectiveSecurityRules - Collection of effective security rules.
	EffectiveSecurityRules *[]EffectiveNetworkSecurityRule `json:"effectiveSecurityRules,omitempty"`
}

SecurityRuleAssociations all security rules associated with the network interface.

type SecurityRuleDirection

type SecurityRuleDirection string

SecurityRuleDirection enumerates the values for security rule direction.

const (
	// SecurityRuleDirectionInbound ...
	SecurityRuleDirectionInbound SecurityRuleDirection = "Inbound"
	// SecurityRuleDirectionOutbound ...
	SecurityRuleDirectionOutbound SecurityRuleDirection = "Outbound"
)

func PossibleSecurityRuleDirectionValues

func PossibleSecurityRuleDirectionValues() []SecurityRuleDirection

PossibleSecurityRuleDirectionValues returns an array of possible values for the SecurityRuleDirection const type.

type SecurityRuleListResult

type SecurityRuleListResult struct {
	autorest.Response `json:"-"`
	// Value - The security rules in a network security group.
	Value *[]SecurityRule `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SecurityRuleListResult response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group.

func (SecurityRuleListResult) IsEmpty

func (srlr SecurityRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SecurityRuleListResultIterator

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

SecurityRuleListResultIterator provides access to a complete listing of SecurityRule values.

func NewSecurityRuleListResultIterator

func NewSecurityRuleListResultIterator(page SecurityRuleListResultPage) SecurityRuleListResultIterator

Creates a new instance of the SecurityRuleListResultIterator type.

func (*SecurityRuleListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecurityRuleListResultIterator) NextWithContext

func (iter *SecurityRuleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SecurityRuleListResultIterator) NotDone

func (iter SecurityRuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecurityRuleListResultIterator) Response

Response returns the raw server response from the last page request.

func (SecurityRuleListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecurityRuleListResultPage

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

SecurityRuleListResultPage contains a page of SecurityRule values.

func NewSecurityRuleListResultPage

func NewSecurityRuleListResultPage(getNextPage func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error)) SecurityRuleListResultPage

Creates a new instance of the SecurityRuleListResultPage type.

func (*SecurityRuleListResultPage) Next

func (page *SecurityRuleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SecurityRuleListResultPage) NextWithContext

func (page *SecurityRuleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SecurityRuleListResultPage) NotDone

func (page SecurityRuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecurityRuleListResultPage) Response

Response returns the raw server response from the last page request.

func (SecurityRuleListResultPage) Values

func (page SecurityRuleListResultPage) Values() []SecurityRule

Values returns the slice of values for the current page or nil if there are no values.

type SecurityRulePropertiesFormat

type SecurityRulePropertiesFormat struct {
	// Description - A description for this rule. Restricted to 140 chars.
	Description *string `json:"description,omitempty"`
	// Protocol - Network protocol this rule applies to. Possible values include: 'SecurityRuleProtocolTCP', 'SecurityRuleProtocolUDP', 'SecurityRuleProtocolIcmp', 'SecurityRuleProtocolEsp', 'SecurityRuleProtocolAsterisk', 'SecurityRuleProtocolAh'
	Protocol SecurityRuleProtocol `json:"protocol,omitempty"`
	// SourcePortRange - The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
	SourcePortRange *string `json:"sourcePortRange,omitempty"`
	// DestinationPortRange - The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
	DestinationPortRange *string `json:"destinationPortRange,omitempty"`
	// SourceAddressPrefix - The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
	SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
	// SourceAddressPrefixes - The CIDR or source IP ranges.
	SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"`
	// SourceApplicationSecurityGroups - The application security group specified as source.
	SourceApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"sourceApplicationSecurityGroups,omitempty"`
	// DestinationAddressPrefix - The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
	DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`
	// DestinationAddressPrefixes - The destination address prefixes. CIDR or destination IP ranges.
	DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"`
	// DestinationApplicationSecurityGroups - The application security group specified as destination.
	DestinationApplicationSecurityGroups *[]ApplicationSecurityGroup `json:"destinationApplicationSecurityGroups,omitempty"`
	// SourcePortRanges - The source port ranges.
	SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"`
	// DestinationPortRanges - The destination port ranges.
	DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"`
	// Access - The network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny'
	Access SecurityRuleAccess `json:"access,omitempty"`
	// Priority - The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
	Priority *int32 `json:"priority,omitempty"`
	// Direction - The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: 'SecurityRuleDirectionInbound', 'SecurityRuleDirectionOutbound'
	Direction SecurityRuleDirection `json:"direction,omitempty"`
	// ProvisioningState - The provisioning state of the security rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

SecurityRulePropertiesFormat security rule resource.

type SecurityRuleProtocol

type SecurityRuleProtocol string

SecurityRuleProtocol enumerates the values for security rule protocol.

const (
	// SecurityRuleProtocolAh ...
	SecurityRuleProtocolAh SecurityRuleProtocol = "Ah"
	// SecurityRuleProtocolAsterisk ...
	SecurityRuleProtocolAsterisk SecurityRuleProtocol = "*"
	// SecurityRuleProtocolEsp ...
	SecurityRuleProtocolEsp SecurityRuleProtocol = "Esp"
	// SecurityRuleProtocolIcmp ...
	SecurityRuleProtocolIcmp SecurityRuleProtocol = "Icmp"
	// SecurityRuleProtocolTCP ...
	SecurityRuleProtocolTCP SecurityRuleProtocol = "Tcp"
	// SecurityRuleProtocolUDP ...
	SecurityRuleProtocolUDP SecurityRuleProtocol = "Udp"
)

func PossibleSecurityRuleProtocolValues

func PossibleSecurityRuleProtocolValues() []SecurityRuleProtocol

PossibleSecurityRuleProtocolValues returns an array of possible values for the SecurityRuleProtocol const type.

type SecurityRulesClient

type SecurityRulesClient struct {
	BaseClient
}

SecurityRulesClient is the network Client

func NewSecurityRulesClient

func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient

NewSecurityRulesClient creates an instance of the SecurityRulesClient client.

func NewSecurityRulesClientWithBaseURI

func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient

NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecurityRulesClient) CreateOrUpdate

func (client SecurityRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (result SecurityRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a security rule in the specified network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule. securityRuleParameters - parameters supplied to the create or update network security rule operation.

func (SecurityRulesClient) CreateOrUpdatePreparer

func (client SecurityRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string, securityRuleParameters SecurityRule) (*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) (future SecurityRulesCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRulesDeleteFuture, err error)

Delete deletes the specified network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule.

func (SecurityRulesClient) DeletePreparer

func (client SecurityRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (*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) (future SecurityRulesDeleteFuture, err 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(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result SecurityRule, err error)

Get get the specified network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. securityRuleName - the name of the security rule.

func (SecurityRulesClient) GetPreparer

func (client SecurityRulesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)

List gets all security rules in a network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.

func (SecurityRulesClient) ListComplete

func (client SecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SecurityRulesClient) ListPreparer

func (client SecurityRulesClient) ListPreparer(ctx context.Context, 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 SecurityRulesCreateOrUpdateFuture

type SecurityRulesCreateOrUpdateFuture struct {
	azure.Future
}

SecurityRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityRulesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SecurityRulesDeleteFuture

type SecurityRulesDeleteFuture struct {
	azure.Future
}

SecurityRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityRulesDeleteFuture) Result

func (future *SecurityRulesDeleteFuture) Result(client SecurityRulesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SecurityRulesEvaluationResult

type SecurityRulesEvaluationResult struct {
	// Name - Name of the network security rule.
	Name *string `json:"name,omitempty"`
	// ProtocolMatched - Value indicating whether protocol is matched.
	ProtocolMatched *bool `json:"protocolMatched,omitempty"`
	// SourceMatched - Value indicating whether source is matched.
	SourceMatched *bool `json:"sourceMatched,omitempty"`
	// SourcePortMatched - Value indicating whether source port is matched.
	SourcePortMatched *bool `json:"sourcePortMatched,omitempty"`
	// DestinationMatched - Value indicating whether destination is matched.
	DestinationMatched *bool `json:"destinationMatched,omitempty"`
	// DestinationPortMatched - Value indicating whether destination port is matched.
	DestinationPortMatched *bool `json:"destinationPortMatched,omitempty"`
}

SecurityRulesEvaluationResult network security rules evaluation result.

type ServiceAssociationLink struct {
	// ServiceAssociationLinkPropertiesFormat - Resource navigation link properties format.
	*ServiceAssociationLinkPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - Resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ServiceAssociationLink serviceAssociationLink resource.

func (ServiceAssociationLink) MarshalJSON

func (sal ServiceAssociationLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceAssociationLink.

func (*ServiceAssociationLink) UnmarshalJSON

func (sal *ServiceAssociationLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceAssociationLink struct.

type ServiceAssociationLinkPropertiesFormat

type ServiceAssociationLinkPropertiesFormat struct {
	// LinkedResourceType - Resource type of the linked resource.
	LinkedResourceType *string `json:"linkedResourceType,omitempty"`
	// Link - Link to the external resource.
	Link *string `json:"link,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the service association link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// AllowDelete - If true, the resource can be deleted.
	AllowDelete *bool `json:"allowDelete,omitempty"`
	// Locations - A list of locations.
	Locations *[]string `json:"locations,omitempty"`
}

ServiceAssociationLinkPropertiesFormat properties of ServiceAssociationLink.

type ServiceAssociationLinksClient

type ServiceAssociationLinksClient struct {
	BaseClient
}

ServiceAssociationLinksClient is the network Client

func NewServiceAssociationLinksClient

func NewServiceAssociationLinksClient(subscriptionID string) ServiceAssociationLinksClient

NewServiceAssociationLinksClient creates an instance of the ServiceAssociationLinksClient client.

func NewServiceAssociationLinksClientWithBaseURI

func NewServiceAssociationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServiceAssociationLinksClient

NewServiceAssociationLinksClientWithBaseURI creates an instance of the ServiceAssociationLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceAssociationLinksClient) List

func (client ServiceAssociationLinksClient) List(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result ServiceAssociationLinksListResult, err error)

List gets a list of service association links for a subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.

func (ServiceAssociationLinksClient) ListPreparer

func (client ServiceAssociationLinksClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServiceAssociationLinksClient) ListResponder

func (client ServiceAssociationLinksClient) ListResponder(resp *http.Response) (result ServiceAssociationLinksListResult, err error)

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

func (ServiceAssociationLinksClient) ListSender

func (client ServiceAssociationLinksClient) 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 ServiceAssociationLinksListResult

type ServiceAssociationLinksListResult struct {
	autorest.Response `json:"-"`
	// Value - The service association links in a subnet.
	Value *[]ServiceAssociationLink `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ServiceAssociationLinksListResult response for ServiceAssociationLinks_List operation.

type ServiceDelegationPropertiesFormat

type ServiceDelegationPropertiesFormat struct {
	// ServiceName - The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).
	ServiceName *string `json:"serviceName,omitempty"`
	// Actions - Describes the actions permitted to the service upon delegation.
	Actions *[]string `json:"actions,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the service delegation resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ServiceDelegationPropertiesFormat properties of a service delegation.

type ServiceEndpointPoliciesClient

type ServiceEndpointPoliciesClient struct {
	BaseClient
}

ServiceEndpointPoliciesClient is the network Client

func NewServiceEndpointPoliciesClient

func NewServiceEndpointPoliciesClient(subscriptionID string) ServiceEndpointPoliciesClient

NewServiceEndpointPoliciesClient creates an instance of the ServiceEndpointPoliciesClient client.

func NewServiceEndpointPoliciesClientWithBaseURI

func NewServiceEndpointPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPoliciesClient

NewServiceEndpointPoliciesClientWithBaseURI creates an instance of the ServiceEndpointPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceEndpointPoliciesClient) CreateOrUpdate

func (client ServiceEndpointPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters ServiceEndpointPolicy) (result ServiceEndpointPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a service Endpoint Policies. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. parameters - parameters supplied to the create or update service endpoint policy operation.

func (ServiceEndpointPoliciesClient) CreateOrUpdatePreparer

func (client ServiceEndpointPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters ServiceEndpointPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServiceEndpointPoliciesClient) CreateOrUpdateResponder

func (client ServiceEndpointPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result ServiceEndpointPolicy, err error)

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

func (ServiceEndpointPoliciesClient) CreateOrUpdateSender

func (client ServiceEndpointPoliciesClient) CreateOrUpdateSender(req *http.Request) (future ServiceEndpointPoliciesCreateOrUpdateFuture, err error)

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

func (ServiceEndpointPoliciesClient) Delete

func (client ServiceEndpointPoliciesClient) Delete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result ServiceEndpointPoliciesDeleteFuture, err error)

Delete deletes the specified service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy.

func (ServiceEndpointPoliciesClient) DeletePreparer

func (client ServiceEndpointPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServiceEndpointPoliciesClient) DeleteResponder

func (client ServiceEndpointPoliciesClient) 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 (ServiceEndpointPoliciesClient) DeleteSender

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

func (ServiceEndpointPoliciesClient) Get

func (client ServiceEndpointPoliciesClient) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, expand string) (result ServiceEndpointPolicy, err error)

Get gets the specified service Endpoint Policies in a specified resource group. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. expand - expands referenced resources.

func (ServiceEndpointPoliciesClient) GetPreparer

func (client ServiceEndpointPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceEndpointPoliciesClient) GetResponder

func (client ServiceEndpointPoliciesClient) GetResponder(resp *http.Response) (result ServiceEndpointPolicy, err error)

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

func (ServiceEndpointPoliciesClient) GetSender

func (client ServiceEndpointPoliciesClient) 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 (ServiceEndpointPoliciesClient) List

List gets all the service endpoint policies in a subscription.

func (ServiceEndpointPoliciesClient) ListByResourceGroup

func (client ServiceEndpointPoliciesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServiceEndpointPolicyListResultPage, err error)

ListByResourceGroup gets all service endpoint Policies in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ServiceEndpointPoliciesClient) ListByResourceGroupComplete

func (client ServiceEndpointPoliciesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServiceEndpointPolicyListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ServiceEndpointPoliciesClient) ListByResourceGroupPreparer

func (client ServiceEndpointPoliciesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServiceEndpointPoliciesClient) ListByResourceGroupResponder

func (client ServiceEndpointPoliciesClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceEndpointPolicyListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ServiceEndpointPoliciesClient) ListByResourceGroupSender

func (client ServiceEndpointPoliciesClient) 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 (ServiceEndpointPoliciesClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ServiceEndpointPoliciesClient) ListPreparer

func (client ServiceEndpointPoliciesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ServiceEndpointPoliciesClient) ListResponder

func (client ServiceEndpointPoliciesClient) ListResponder(resp *http.Response) (result ServiceEndpointPolicyListResult, err error)

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

func (ServiceEndpointPoliciesClient) ListSender

func (client ServiceEndpointPoliciesClient) 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 (ServiceEndpointPoliciesClient) Update

func (client ServiceEndpointPoliciesClient) Update(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters TagsObject) (result ServiceEndpointPoliciesUpdateFuture, err error)

Update updates service Endpoint Policies. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. parameters - parameters supplied to update service endpoint policy tags.

func (ServiceEndpointPoliciesClient) UpdatePreparer

func (client ServiceEndpointPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters TagsObject) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServiceEndpointPoliciesClient) UpdateResponder

func (client ServiceEndpointPoliciesClient) UpdateResponder(resp *http.Response) (result ServiceEndpointPolicy, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServiceEndpointPoliciesClient) UpdateSender

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

type ServiceEndpointPoliciesCreateOrUpdateFuture

type ServiceEndpointPoliciesCreateOrUpdateFuture struct {
	azure.Future
}

ServiceEndpointPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceEndpointPoliciesCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServiceEndpointPoliciesDeleteFuture

type ServiceEndpointPoliciesDeleteFuture struct {
	azure.Future
}

ServiceEndpointPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceEndpointPoliciesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServiceEndpointPoliciesUpdateFuture

type ServiceEndpointPoliciesUpdateFuture struct {
	azure.Future
}

ServiceEndpointPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceEndpointPoliciesUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServiceEndpointPolicy

type ServiceEndpointPolicy struct {
	autorest.Response `json:"-"`
	// ServiceEndpointPolicyPropertiesFormat - Properties of the service end point policy.
	*ServiceEndpointPolicyPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ServiceEndpointPolicy service End point policy resource.

func (ServiceEndpointPolicy) MarshalJSON

func (sep ServiceEndpointPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceEndpointPolicy.

func (*ServiceEndpointPolicy) UnmarshalJSON

func (sep *ServiceEndpointPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceEndpointPolicy struct.

type ServiceEndpointPolicyDefinition

type ServiceEndpointPolicyDefinition struct {
	autorest.Response `json:"-"`
	// ServiceEndpointPolicyDefinitionPropertiesFormat - Properties of the service endpoint policy definition.
	*ServiceEndpointPolicyDefinitionPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ServiceEndpointPolicyDefinition service Endpoint policy definitions.

func (ServiceEndpointPolicyDefinition) MarshalJSON

func (sepd ServiceEndpointPolicyDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceEndpointPolicyDefinition.

func (*ServiceEndpointPolicyDefinition) UnmarshalJSON

func (sepd *ServiceEndpointPolicyDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceEndpointPolicyDefinition struct.

type ServiceEndpointPolicyDefinitionListResult

type ServiceEndpointPolicyDefinitionListResult struct {
	autorest.Response `json:"-"`
	// Value - The service endpoint policy definition in a service endpoint policy.
	Value *[]ServiceEndpointPolicyDefinition `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ServiceEndpointPolicyDefinitionListResult response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy.

func (ServiceEndpointPolicyDefinitionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ServiceEndpointPolicyDefinitionListResultIterator

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

ServiceEndpointPolicyDefinitionListResultIterator provides access to a complete listing of ServiceEndpointPolicyDefinition values.

func NewServiceEndpointPolicyDefinitionListResultIterator

func NewServiceEndpointPolicyDefinitionListResultIterator(page ServiceEndpointPolicyDefinitionListResultPage) ServiceEndpointPolicyDefinitionListResultIterator

Creates a new instance of the ServiceEndpointPolicyDefinitionListResultIterator type.

func (*ServiceEndpointPolicyDefinitionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceEndpointPolicyDefinitionListResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ServiceEndpointPolicyDefinitionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceEndpointPolicyDefinitionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ServiceEndpointPolicyDefinitionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ServiceEndpointPolicyDefinitionListResultPage

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

ServiceEndpointPolicyDefinitionListResultPage contains a page of ServiceEndpointPolicyDefinition values.

func NewServiceEndpointPolicyDefinitionListResultPage

Creates a new instance of the ServiceEndpointPolicyDefinitionListResultPage type.

func (*ServiceEndpointPolicyDefinitionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceEndpointPolicyDefinitionListResultPage) NextWithContext

func (page *ServiceEndpointPolicyDefinitionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ServiceEndpointPolicyDefinitionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceEndpointPolicyDefinitionListResultPage) Response

Response returns the raw server response from the last page request.

func (ServiceEndpointPolicyDefinitionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ServiceEndpointPolicyDefinitionPropertiesFormat

type ServiceEndpointPolicyDefinitionPropertiesFormat struct {
	// Description - A description for this rule. Restricted to 140 chars.
	Description *string `json:"description,omitempty"`
	// Service - Service endpoint name.
	Service *string `json:"service,omitempty"`
	// ServiceResources - A list of service resources.
	ServiceResources *[]string `json:"serviceResources,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the service endpoint policy definition resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ServiceEndpointPolicyDefinitionPropertiesFormat service Endpoint policy definition resource.

type ServiceEndpointPolicyDefinitionsClient

type ServiceEndpointPolicyDefinitionsClient struct {
	BaseClient
}

ServiceEndpointPolicyDefinitionsClient is the network Client

func NewServiceEndpointPolicyDefinitionsClient

func NewServiceEndpointPolicyDefinitionsClient(subscriptionID string) ServiceEndpointPolicyDefinitionsClient

NewServiceEndpointPolicyDefinitionsClient creates an instance of the ServiceEndpointPolicyDefinitionsClient client.

func NewServiceEndpointPolicyDefinitionsClientWithBaseURI

func NewServiceEndpointPolicyDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPolicyDefinitionsClient

NewServiceEndpointPolicyDefinitionsClientWithBaseURI creates an instance of the ServiceEndpointPolicyDefinitionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceEndpointPolicyDefinitionsClient) CreateOrUpdate

func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, serviceEndpointPolicyDefinitions ServiceEndpointPolicyDefinition) (result ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a service endpoint policy definition in the specified service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy. serviceEndpointPolicyDefinitionName - the name of the service endpoint policy definition name. serviceEndpointPolicyDefinitions - parameters supplied to the create or update service endpoint policy operation.

func (ServiceEndpointPolicyDefinitionsClient) CreateOrUpdatePreparer

func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string, serviceEndpointPolicyDefinitions ServiceEndpointPolicyDefinition) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServiceEndpointPolicyDefinitionsClient) CreateOrUpdateResponder

func (client ServiceEndpointPolicyDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result ServiceEndpointPolicyDefinition, err error)

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

func (ServiceEndpointPolicyDefinitionsClient) CreateOrUpdateSender

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

func (ServiceEndpointPolicyDefinitionsClient) Delete

func (client ServiceEndpointPolicyDefinitionsClient) Delete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (result ServiceEndpointPolicyDefinitionsDeleteFuture, err error)

Delete deletes the specified ServiceEndpoint policy definitions. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the Service Endpoint Policy. serviceEndpointPolicyDefinitionName - the name of the service endpoint policy definition.

func (ServiceEndpointPolicyDefinitionsClient) DeletePreparer

func (client ServiceEndpointPolicyDefinitionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ServiceEndpointPolicyDefinitionsClient) DeleteResponder

func (client ServiceEndpointPolicyDefinitionsClient) 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 (ServiceEndpointPolicyDefinitionsClient) DeleteSender

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

func (ServiceEndpointPolicyDefinitionsClient) Get

func (client ServiceEndpointPolicyDefinitionsClient) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (result ServiceEndpointPolicyDefinition, err error)

Get get the specified service endpoint policy definitions from service endpoint policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy name. serviceEndpointPolicyDefinitionName - the name of the service endpoint policy definition name.

func (ServiceEndpointPolicyDefinitionsClient) GetPreparer

func (client ServiceEndpointPolicyDefinitionsClient) GetPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceEndpointPolicyDefinitionsClient) GetResponder

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

func (ServiceEndpointPolicyDefinitionsClient) GetSender

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

func (ServiceEndpointPolicyDefinitionsClient) ListByResourceGroup

func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result ServiceEndpointPolicyDefinitionListResultPage, err error)

ListByResourceGroup gets all service endpoint policy definitions in a service end point policy. Parameters: resourceGroupName - the name of the resource group. serviceEndpointPolicyName - the name of the service endpoint policy name.

func (ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupComplete

func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result ServiceEndpointPolicyDefinitionListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupPreparer

func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupResponder

func (client ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupResponder(resp *http.Response) (result ServiceEndpointPolicyDefinitionListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ServiceEndpointPolicyDefinitionsClient) ListByResourceGroupSender

func (client ServiceEndpointPolicyDefinitionsClient) 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.

type ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture

type ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture struct {
	azure.Future
}

ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceEndpointPolicyDefinitionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServiceEndpointPolicyDefinitionsDeleteFuture

type ServiceEndpointPolicyDefinitionsDeleteFuture struct {
	azure.Future
}

ServiceEndpointPolicyDefinitionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ServiceEndpointPolicyDefinitionsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ServiceEndpointPolicyListResult

type ServiceEndpointPolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ServiceEndpointPolicy resources.
	Value *[]ServiceEndpointPolicy `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ServiceEndpointPolicyListResult response for ListServiceEndpointPolicies API service call.

func (ServiceEndpointPolicyListResult) IsEmpty

func (seplr ServiceEndpointPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceEndpointPolicyListResultIterator

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

ServiceEndpointPolicyListResultIterator provides access to a complete listing of ServiceEndpointPolicy values.

func NewServiceEndpointPolicyListResultIterator

func NewServiceEndpointPolicyListResultIterator(page ServiceEndpointPolicyListResultPage) ServiceEndpointPolicyListResultIterator

Creates a new instance of the ServiceEndpointPolicyListResultIterator type.

func (*ServiceEndpointPolicyListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceEndpointPolicyListResultIterator) NextWithContext

func (iter *ServiceEndpointPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ServiceEndpointPolicyListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ServiceEndpointPolicyListResultIterator) Response

Response returns the raw server response from the last page request.

func (ServiceEndpointPolicyListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ServiceEndpointPolicyListResultPage

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

ServiceEndpointPolicyListResultPage contains a page of ServiceEndpointPolicy values.

func NewServiceEndpointPolicyListResultPage

Creates a new instance of the ServiceEndpointPolicyListResultPage type.

func (*ServiceEndpointPolicyListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ServiceEndpointPolicyListResultPage) NextWithContext

func (page *ServiceEndpointPolicyListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ServiceEndpointPolicyListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ServiceEndpointPolicyListResultPage) Response

Response returns the raw server response from the last page request.

func (ServiceEndpointPolicyListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ServiceEndpointPolicyPropertiesFormat

type ServiceEndpointPolicyPropertiesFormat struct {
	// ServiceEndpointPolicyDefinitions - A collection of service endpoint policy definitions of the service endpoint policy.
	ServiceEndpointPolicyDefinitions *[]ServiceEndpointPolicyDefinition `json:"serviceEndpointPolicyDefinitions,omitempty"`
	// Subnets - READ-ONLY; A collection of references to subnets.
	Subnets *[]Subnet `json:"subnets,omitempty"`
	// ResourceGUID - READ-ONLY; The resource GUID property of the service endpoint policy resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the service endpoint policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ServiceEndpointPolicyPropertiesFormat service Endpoint Policy resource.

type ServiceEndpointPropertiesFormat

type ServiceEndpointPropertiesFormat struct {
	// Service - The type of the endpoint service.
	Service *string `json:"service,omitempty"`
	// Locations - A list of locations.
	Locations *[]string `json:"locations,omitempty"`
	// ProvisioningState - The provisioning state of the service endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ServiceEndpointPropertiesFormat the service endpoint properties.

type ServiceProviderProvisioningState

type ServiceProviderProvisioningState string

ServiceProviderProvisioningState enumerates the values for service provider provisioning state.

const (
	// Deprovisioning ...
	Deprovisioning ServiceProviderProvisioningState = "Deprovisioning"
	// NotProvisioned ...
	NotProvisioned ServiceProviderProvisioningState = "NotProvisioned"
	// Provisioned ...
	Provisioned ServiceProviderProvisioningState = "Provisioned"
	// Provisioning ...
	Provisioning ServiceProviderProvisioningState = "Provisioning"
)

func PossibleServiceProviderProvisioningStateValues

func PossibleServiceProviderProvisioningStateValues() []ServiceProviderProvisioningState

PossibleServiceProviderProvisioningStateValues returns an array of possible values for the ServiceProviderProvisioningState const type.

type ServiceTagInformation

type ServiceTagInformation struct {
	// Properties - READ-ONLY; Properties of the service tag information.
	Properties *ServiceTagInformationPropertiesFormat `json:"properties,omitempty"`
	// Name - READ-ONLY; The name of service tag.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; The ID of service tag.
	ID *string `json:"id,omitempty"`
}

ServiceTagInformation the service tag information.

type ServiceTagInformationPropertiesFormat

type ServiceTagInformationPropertiesFormat struct {
	// ChangeNumber - READ-ONLY; The iteration number of service tag.
	ChangeNumber *string `json:"changeNumber,omitempty"`
	// Region - READ-ONLY; The region of service tag.
	Region *string `json:"region,omitempty"`
	// SystemService - READ-ONLY; The name of system service.
	SystemService *string `json:"systemService,omitempty"`
	// AddressPrefixes - READ-ONLY; The list of IP address prefixes.
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
}

ServiceTagInformationPropertiesFormat properties of the service tag information.

type ServiceTagsClient

type ServiceTagsClient struct {
	BaseClient
}

ServiceTagsClient is the network Client

func NewServiceTagsClient

func NewServiceTagsClient(subscriptionID string) ServiceTagsClient

NewServiceTagsClient creates an instance of the ServiceTagsClient client.

func NewServiceTagsClientWithBaseURI

func NewServiceTagsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTagsClient

NewServiceTagsClientWithBaseURI creates an instance of the ServiceTagsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceTagsClient) List

func (client ServiceTagsClient) List(ctx context.Context, location string) (result ServiceTagsListResult, err error)

List gets a list of service tag information resources. Parameters: location - the location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).

func (ServiceTagsClient) ListPreparer

func (client ServiceTagsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServiceTagsClient) ListResponder

func (client ServiceTagsClient) ListResponder(resp *http.Response) (result ServiceTagsListResult, err error)

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

func (ServiceTagsClient) ListSender

func (client ServiceTagsClient) 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 ServiceTagsListResult

type ServiceTagsListResult struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; The name of the cloud.
	Name *string `json:"name,omitempty"`
	// ID - READ-ONLY; The ID of the cloud.
	ID *string `json:"id,omitempty"`
	// Type - READ-ONLY; The azure resource type.
	Type *string `json:"type,omitempty"`
	// ChangeNumber - READ-ONLY; The iteration number.
	ChangeNumber *string `json:"changeNumber,omitempty"`
	// Cloud - READ-ONLY; The name of the cloud.
	Cloud *string `json:"cloud,omitempty"`
	// Values - READ-ONLY; The list of service tag information resources.
	Values *[]ServiceTagInformation `json:"values,omitempty"`
}

ServiceTagsListResult response for the ListServiceTags API service call.

type Severity

type Severity string

Severity enumerates the values for severity.

const (
	// SeverityError ...
	SeverityError Severity = "Error"
	// SeverityWarning ...
	SeverityWarning Severity = "Warning"
)

func PossibleSeverityValues

func PossibleSeverityValues() []Severity

PossibleSeverityValues returns an array of possible values for the Severity const type.

type String

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

String ...

type SubResource

type SubResource struct {
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

SubResource reference to another subresource.

type Subnet

type Subnet struct {
	autorest.Response `json:"-"`
	// SubnetPropertiesFormat - Properties of the subnet.
	*SubnetPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

Subnet subnet in a virtual network resource.

func (Subnet) MarshalJSON

func (s Subnet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Subnet.

func (*Subnet) UnmarshalJSON

func (s *Subnet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Subnet struct.

type SubnetAssociation

type SubnetAssociation struct {
	// ID - READ-ONLY; Subnet ID.
	ID *string `json:"id,omitempty"`
	// SecurityRules - Collection of custom security rules.
	SecurityRules *[]SecurityRule `json:"securityRules,omitempty"`
}

SubnetAssociation subnet and it's custom security rules.

type SubnetListResult

type SubnetListResult struct {
	autorest.Response `json:"-"`
	// Value - The subnets in a virtual network.
	Value *[]Subnet `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

SubnetListResult response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network.

func (SubnetListResult) IsEmpty

func (slr SubnetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SubnetListResultIterator

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

SubnetListResultIterator provides access to a complete listing of Subnet values.

func NewSubnetListResultIterator

func NewSubnetListResultIterator(page SubnetListResultPage) SubnetListResultIterator

Creates a new instance of the SubnetListResultIterator type.

func (*SubnetListResultIterator) Next

func (iter *SubnetListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SubnetListResultIterator) NextWithContext

func (iter *SubnetListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SubnetListResultIterator) NotDone

func (iter SubnetListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SubnetListResultIterator) Response

Response returns the raw server response from the last page request.

func (SubnetListResultIterator) Value

func (iter SubnetListResultIterator) Value() Subnet

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SubnetListResultPage

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

SubnetListResultPage contains a page of Subnet values.

func NewSubnetListResultPage

func NewSubnetListResultPage(getNextPage func(context.Context, SubnetListResult) (SubnetListResult, error)) SubnetListResultPage

Creates a new instance of the SubnetListResultPage type.

func (*SubnetListResultPage) Next

func (page *SubnetListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SubnetListResultPage) NextWithContext

func (page *SubnetListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SubnetListResultPage) NotDone

func (page SubnetListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SubnetListResultPage) Response

func (page SubnetListResultPage) Response() SubnetListResult

Response returns the raw server response from the last page request.

func (SubnetListResultPage) Values

func (page SubnetListResultPage) Values() []Subnet

Values returns the slice of values for the current page or nil if there are no values.

type SubnetPropertiesFormat

type SubnetPropertiesFormat struct {
	// AddressPrefix - The address prefix for the subnet.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// AddressPrefixes - List of address prefixes for the subnet.
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
	// NetworkSecurityGroup - The reference of the NetworkSecurityGroup resource.
	NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"`
	// RouteTable - The reference of the RouteTable resource.
	RouteTable *RouteTable `json:"routeTable,omitempty"`
	// NatGateway - Nat gateway associated with this subnet.
	NatGateway *SubResource `json:"natGateway,omitempty"`
	// ServiceEndpoints - An array of service endpoints.
	ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"`
	// ServiceEndpointPolicies - An array of service endpoint policies.
	ServiceEndpointPolicies *[]ServiceEndpointPolicy `json:"serviceEndpointPolicies,omitempty"`
	// PrivateEndpoints - READ-ONLY; An array of references to private endpoints.
	PrivateEndpoints *[]PrivateEndpoint `json:"privateEndpoints,omitempty"`
	// IPConfigurations - READ-ONLY; An array of references to the network interface IP configurations using subnet.
	IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"`
	// IPConfigurationProfiles - READ-ONLY; Array of IP configuration profiles which reference this subnet.
	IPConfigurationProfiles *[]IPConfigurationProfile `json:"ipConfigurationProfiles,omitempty"`
	// ResourceNavigationLinks - An array of references to the external resources using subnet.
	ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"`
	// ServiceAssociationLinks - An array of references to services injecting into this subnet.
	ServiceAssociationLinks *[]ServiceAssociationLink `json:"serviceAssociationLinks,omitempty"`
	// Delegations - An array of references to the delegations on the subnet.
	Delegations *[]Delegation `json:"delegations,omitempty"`
	// Purpose - READ-ONLY; A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.
	Purpose *string `json:"purpose,omitempty"`
	// ProvisioningState - The provisioning state of the subnet resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateEndpointNetworkPolicies - Enable or Disable apply network policies on private end point in the subnet.
	PrivateEndpointNetworkPolicies *string `json:"privateEndpointNetworkPolicies,omitempty"`
	// PrivateLinkServiceNetworkPolicies - Enable or Disable apply network policies on private link service in the subnet.
	PrivateLinkServiceNetworkPolicies *string `json:"privateLinkServiceNetworkPolicies,omitempty"`
}

SubnetPropertiesFormat properties of the subnet.

type SubnetsClient

type SubnetsClient struct {
	BaseClient
}

SubnetsClient is the network Client

func NewSubnetsClient

func NewSubnetsClient(subscriptionID string) SubnetsClient

NewSubnetsClient creates an instance of the SubnetsClient client.

func NewSubnetsClientWithBaseURI

func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient

NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SubnetsClient) CreateOrUpdate

func (client SubnetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (result SubnetsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a subnet in the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. subnetParameters - parameters supplied to the create or update subnet operation.

func (SubnetsClient) CreateOrUpdatePreparer

func (client SubnetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, subnetParameters Subnet) (*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) (future SubnetsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result SubnetsDeleteFuture, err error)

Delete deletes the specified subnet. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet.

func (SubnetsClient) DeletePreparer

func (client SubnetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (*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) (future SubnetsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result Subnet, err error)

Get gets the specified subnet by virtual network and resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. expand - expands referenced resources.

func (SubnetsClient) GetPreparer

func (client SubnetsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultPage, err error)

List gets all subnets in a virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.

func (SubnetsClient) ListComplete

func (client SubnetsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result SubnetListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SubnetsClient) ListPreparer

func (client SubnetsClient) ListPreparer(ctx context.Context, 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.

func (SubnetsClient) PrepareNetworkPolicies

func (client SubnetsClient) PrepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, prepareNetworkPoliciesRequestParameters PrepareNetworkPoliciesRequest) (result SubnetsPrepareNetworkPoliciesFuture, err error)

PrepareNetworkPolicies prepares a subnet by applying network intent policies. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. prepareNetworkPoliciesRequestParameters - parameters supplied to prepare subnet by applying network intent policies.

func (SubnetsClient) PrepareNetworkPoliciesPreparer

func (client SubnetsClient) PrepareNetworkPoliciesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, prepareNetworkPoliciesRequestParameters PrepareNetworkPoliciesRequest) (*http.Request, error)

PrepareNetworkPoliciesPreparer prepares the PrepareNetworkPolicies request.

func (SubnetsClient) PrepareNetworkPoliciesResponder

func (client SubnetsClient) PrepareNetworkPoliciesResponder(resp *http.Response) (result autorest.Response, err error)

PrepareNetworkPoliciesResponder handles the response to the PrepareNetworkPolicies request. The method always closes the http.Response Body.

func (SubnetsClient) PrepareNetworkPoliciesSender

func (client SubnetsClient) PrepareNetworkPoliciesSender(req *http.Request) (future SubnetsPrepareNetworkPoliciesFuture, err error)

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

func (SubnetsClient) UnprepareNetworkPolicies

func (client SubnetsClient) UnprepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, unprepareNetworkPoliciesRequestParameters UnprepareNetworkPoliciesRequest) (result SubnetsUnprepareNetworkPoliciesFuture, err error)

UnprepareNetworkPolicies unprepares a subnet by removing network intent policies. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. subnetName - the name of the subnet. unprepareNetworkPoliciesRequestParameters - parameters supplied to unprepare subnet to remove network intent policies.

func (SubnetsClient) UnprepareNetworkPoliciesPreparer

func (client SubnetsClient) UnprepareNetworkPoliciesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, unprepareNetworkPoliciesRequestParameters UnprepareNetworkPoliciesRequest) (*http.Request, error)

UnprepareNetworkPoliciesPreparer prepares the UnprepareNetworkPolicies request.

func (SubnetsClient) UnprepareNetworkPoliciesResponder

func (client SubnetsClient) UnprepareNetworkPoliciesResponder(resp *http.Response) (result autorest.Response, err error)

UnprepareNetworkPoliciesResponder handles the response to the UnprepareNetworkPolicies request. The method always closes the http.Response Body.

func (SubnetsClient) UnprepareNetworkPoliciesSender

func (client SubnetsClient) UnprepareNetworkPoliciesSender(req *http.Request) (future SubnetsUnprepareNetworkPoliciesFuture, err error)

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

type SubnetsCreateOrUpdateFuture

type SubnetsCreateOrUpdateFuture struct {
	azure.Future
}

SubnetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SubnetsCreateOrUpdateFuture) Result

func (future *SubnetsCreateOrUpdateFuture) Result(client SubnetsClient) (s Subnet, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SubnetsDeleteFuture

type SubnetsDeleteFuture struct {
	azure.Future
}

SubnetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SubnetsDeleteFuture) Result

func (future *SubnetsDeleteFuture) Result(client SubnetsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SubnetsPrepareNetworkPoliciesFuture

type SubnetsPrepareNetworkPoliciesFuture struct {
	azure.Future
}

SubnetsPrepareNetworkPoliciesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SubnetsPrepareNetworkPoliciesFuture) Result

func (future *SubnetsPrepareNetworkPoliciesFuture) Result(client SubnetsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type SubnetsUnprepareNetworkPoliciesFuture

type SubnetsUnprepareNetworkPoliciesFuture struct {
	azure.Future
}

SubnetsUnprepareNetworkPoliciesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SubnetsUnprepareNetworkPoliciesFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type TagsObject

type TagsObject struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

TagsObject tags object for patch operations.

func (TagsObject) MarshalJSON

func (toVar TagsObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsObject.

type Topology

type Topology struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; GUID representing the operation id.
	ID *string `json:"id,omitempty"`
	// CreatedDateTime - READ-ONLY; The datetime when the topology was initially created for the resource group.
	CreatedDateTime *date.Time `json:"createdDateTime,omitempty"`
	// LastModified - READ-ONLY; The datetime when the topology was last modified.
	LastModified *date.Time `json:"lastModified,omitempty"`
	// Resources - A list of topology resources.
	Resources *[]TopologyResource `json:"resources,omitempty"`
}

Topology topology of the specified resource group.

type TopologyAssociation

type TopologyAssociation struct {
	// Name - The name of the resource that is associated with the parent resource.
	Name *string `json:"name,omitempty"`
	// ResourceID - The ID of the resource that is associated with the parent resource.
	ResourceID *string `json:"resourceId,omitempty"`
	// AssociationType - The association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'
	AssociationType AssociationType `json:"associationType,omitempty"`
}

TopologyAssociation resources that have an association with the parent resource.

type TopologyParameters

type TopologyParameters struct {
	// TargetResourceGroupName - The name of the target resource group to perform topology on.
	TargetResourceGroupName *string `json:"targetResourceGroupName,omitempty"`
	// TargetVirtualNetwork - The reference of the Virtual Network resource.
	TargetVirtualNetwork *SubResource `json:"targetVirtualNetwork,omitempty"`
	// TargetSubnet - The reference of the Subnet resource.
	TargetSubnet *SubResource `json:"targetSubnet,omitempty"`
}

TopologyParameters parameters that define the representation of topology.

type TopologyResource

type TopologyResource struct {
	// Name - Name of the resource.
	Name *string `json:"name,omitempty"`
	// ID - ID of the resource.
	ID *string `json:"id,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Associations - Holds the associations the resource has with other resources in the resource group.
	Associations *[]TopologyAssociation `json:"associations,omitempty"`
}

TopologyResource the network resource topology information for the given resource group.

type TrafficAnalyticsConfigurationProperties

type TrafficAnalyticsConfigurationProperties struct {
	// Enabled - Flag to enable/disable traffic analytics.
	Enabled *bool `json:"enabled,omitempty"`
	// WorkspaceID - The resource guid of the attached workspace.
	WorkspaceID *string `json:"workspaceId,omitempty"`
	// WorkspaceRegion - The location of the attached workspace.
	WorkspaceRegion *string `json:"workspaceRegion,omitempty"`
	// WorkspaceResourceID - Resource Id of the attached workspace.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
	// TrafficAnalyticsInterval - The interval in minutes which would decide how frequently TA service should do flow analytics.
	TrafficAnalyticsInterval *int32 `json:"trafficAnalyticsInterval,omitempty"`
}

TrafficAnalyticsConfigurationProperties parameters that define the configuration of traffic analytics.

type TrafficAnalyticsProperties

type TrafficAnalyticsProperties struct {
	// NetworkWatcherFlowAnalyticsConfiguration - Parameters that define the configuration of traffic analytics.
	NetworkWatcherFlowAnalyticsConfiguration *TrafficAnalyticsConfigurationProperties `json:"networkWatcherFlowAnalyticsConfiguration,omitempty"`
}

TrafficAnalyticsProperties parameters that define the configuration of traffic analytics.

type TrafficSelectorPolicy

type TrafficSelectorPolicy struct {
	// LocalAddressRanges - A collection of local address spaces in CIDR format
	LocalAddressRanges *[]string `json:"localAddressRanges,omitempty"`
	// RemoteAddressRanges - A collection of remote address spaces in CIDR format
	RemoteAddressRanges *[]string `json:"remoteAddressRanges,omitempty"`
}

TrafficSelectorPolicy an traffic selector policy for a virtual network gateway connection.

type TransportProtocol

type TransportProtocol string

TransportProtocol enumerates the values for transport protocol.

const (
	// TransportProtocolAll ...
	TransportProtocolAll TransportProtocol = "All"
	// TransportProtocolTCP ...
	TransportProtocolTCP TransportProtocol = "Tcp"
	// TransportProtocolUDP ...
	TransportProtocolUDP TransportProtocol = "Udp"
)

func PossibleTransportProtocolValues

func PossibleTransportProtocolValues() []TransportProtocol

PossibleTransportProtocolValues returns an array of possible values for the TransportProtocol const type.

type TroubleshootingDetails

type TroubleshootingDetails struct {
	// ID - The id of the get troubleshoot operation.
	ID *string `json:"id,omitempty"`
	// ReasonType - Reason type of failure.
	ReasonType *string `json:"reasonType,omitempty"`
	// Summary - A summary of troubleshooting.
	Summary *string `json:"summary,omitempty"`
	// Detail - Details on troubleshooting results.
	Detail *string `json:"detail,omitempty"`
	// RecommendedActions - List of recommended actions.
	RecommendedActions *[]TroubleshootingRecommendedActions `json:"recommendedActions,omitempty"`
}

TroubleshootingDetails information gained from troubleshooting of specified resource.

type TroubleshootingParameters

type TroubleshootingParameters struct {
	// TargetResourceID - The target resource to troubleshoot.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// TroubleshootingProperties - Properties of the troubleshooting resource.
	*TroubleshootingProperties `json:"properties,omitempty"`
}

TroubleshootingParameters parameters that define the resource to troubleshoot.

func (TroubleshootingParameters) MarshalJSON

func (tp TroubleshootingParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TroubleshootingParameters.

func (*TroubleshootingParameters) UnmarshalJSON

func (tp *TroubleshootingParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TroubleshootingParameters struct.

type TroubleshootingProperties

type TroubleshootingProperties struct {
	// StorageID - The ID for the storage account to save the troubleshoot result.
	StorageID *string `json:"storageId,omitempty"`
	// StoragePath - The path to the blob to save the troubleshoot result in.
	StoragePath *string `json:"storagePath,omitempty"`
}

TroubleshootingProperties storage location provided for troubleshoot.

type TroubleshootingRecommendedActions

type TroubleshootingRecommendedActions struct {
	// ActionID - ID of the recommended action.
	ActionID *string `json:"actionId,omitempty"`
	// ActionText - Description of recommended actions.
	ActionText *string `json:"actionText,omitempty"`
	// ActionURI - The uri linking to a documentation for the recommended troubleshooting actions.
	ActionURI *string `json:"actionUri,omitempty"`
	// ActionURIText - The information from the URI for the recommended troubleshooting actions.
	ActionURIText *string `json:"actionUriText,omitempty"`
}

TroubleshootingRecommendedActions recommended actions based on discovered issues.

type TroubleshootingResult

type TroubleshootingResult struct {
	autorest.Response `json:"-"`
	// StartTime - The start time of the troubleshooting.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The end time of the troubleshooting.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Code - The result code of the troubleshooting.
	Code *string `json:"code,omitempty"`
	// Results - Information from troubleshooting.
	Results *[]TroubleshootingDetails `json:"results,omitempty"`
}

TroubleshootingResult troubleshooting information gained from specified resource.

type TunnelConnectionHealth

type TunnelConnectionHealth struct {
	// Tunnel - READ-ONLY; Tunnel name.
	Tunnel *string `json:"tunnel,omitempty"`
	// ConnectionStatus - READ-ONLY; Virtual Network Gateway connection status. Possible values include: 'VirtualNetworkGatewayConnectionStatusUnknown', 'VirtualNetworkGatewayConnectionStatusConnecting', 'VirtualNetworkGatewayConnectionStatusConnected', 'VirtualNetworkGatewayConnectionStatusNotConnected'
	ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	// IngressBytesTransferred - READ-ONLY; The Ingress Bytes Transferred in this connection.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"`
	// EgressBytesTransferred - READ-ONLY; The Egress Bytes Transferred in this connection.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"`
	// LastConnectionEstablishedUtcTime - READ-ONLY; The time at which connection was established in Utc format.
	LastConnectionEstablishedUtcTime *string `json:"lastConnectionEstablishedUtcTime,omitempty"`
}

TunnelConnectionHealth virtualNetworkGatewayConnection properties.

type TunnelConnectionStatus

type TunnelConnectionStatus string

TunnelConnectionStatus enumerates the values for tunnel connection status.

const (
	// TunnelConnectionStatusConnected ...
	TunnelConnectionStatusConnected TunnelConnectionStatus = "Connected"
	// TunnelConnectionStatusConnecting ...
	TunnelConnectionStatusConnecting TunnelConnectionStatus = "Connecting"
	// TunnelConnectionStatusNotConnected ...
	TunnelConnectionStatusNotConnected TunnelConnectionStatus = "NotConnected"
	// TunnelConnectionStatusUnknown ...
	TunnelConnectionStatusUnknown TunnelConnectionStatus = "Unknown"
)

func PossibleTunnelConnectionStatusValues

func PossibleTunnelConnectionStatusValues() []TunnelConnectionStatus

PossibleTunnelConnectionStatusValues returns an array of possible values for the TunnelConnectionStatus const type.

type UnprepareNetworkPoliciesRequest

type UnprepareNetworkPoliciesRequest struct {
	// ServiceName - The name of the service for which subnet is being unprepared for.
	ServiceName *string `json:"serviceName,omitempty"`
}

UnprepareNetworkPoliciesRequest details of UnprepareNetworkPolicies for Subnet.

type Usage

type Usage struct {
	// ID - READ-ONLY; Resource identifier.
	ID *string `json:"id,omitempty"`
	// Unit - An enum describing the unit of measurement.
	Unit *string `json:"unit,omitempty"`
	// CurrentValue - The current value of the usage.
	CurrentValue *int64 `json:"currentValue,omitempty"`
	// Limit - The limit of usage.
	Limit *int64 `json:"limit,omitempty"`
	// Name - The name of the type of usage.
	Name *UsageName `json:"name,omitempty"`
}

Usage describes network resource usage.

type UsageName

type UsageName struct {
	// Value - A string describing the resource name.
	Value *string `json:"value,omitempty"`
	// LocalizedValue - A localized string describing the resource name.
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageName the usage names.

type UsagesClient

type UsagesClient struct {
	BaseClient
}

UsagesClient is the network Client

func NewUsagesClient

func NewUsagesClient(subscriptionID string) UsagesClient

NewUsagesClient creates an instance of the UsagesClient client.

func NewUsagesClientWithBaseURI

func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient

NewUsagesClientWithBaseURI creates an instance of the UsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (UsagesClient) List

func (client UsagesClient) List(ctx context.Context, location string) (result UsagesListResultPage, err error)

List list network usages for a subscription. Parameters: location - the location where resource usage is queried.

func (UsagesClient) ListComplete

func (client UsagesClient) ListComplete(ctx context.Context, location string) (result UsagesListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (UsagesClient) ListPreparer

func (client UsagesClient) ListPreparer(ctx context.Context, 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 - The list network resource usages.
	Value *[]Usage `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

UsagesListResult the list usages operation response.

func (UsagesListResult) IsEmpty

func (ulr UsagesListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type UsagesListResultIterator

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

UsagesListResultIterator provides access to a complete listing of Usage values.

func NewUsagesListResultIterator

func NewUsagesListResultIterator(page UsagesListResultPage) UsagesListResultIterator

Creates a new instance of the UsagesListResultIterator type.

func (*UsagesListResultIterator) Next

func (iter *UsagesListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*UsagesListResultIterator) NextWithContext

func (iter *UsagesListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (UsagesListResultIterator) NotDone

func (iter UsagesListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (UsagesListResultIterator) Response

Response returns the raw server response from the last page request.

func (UsagesListResultIterator) Value

func (iter UsagesListResultIterator) Value() Usage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type UsagesListResultPage

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

UsagesListResultPage contains a page of Usage values.

func NewUsagesListResultPage

func NewUsagesListResultPage(getNextPage func(context.Context, UsagesListResult) (UsagesListResult, error)) UsagesListResultPage

Creates a new instance of the UsagesListResultPage type.

func (*UsagesListResultPage) Next

func (page *UsagesListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*UsagesListResultPage) NextWithContext

func (page *UsagesListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (UsagesListResultPage) NotDone

func (page UsagesListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (UsagesListResultPage) Response

func (page UsagesListResultPage) Response() UsagesListResult

Response returns the raw server response from the last page request.

func (UsagesListResultPage) Values

func (page UsagesListResultPage) Values() []Usage

Values returns the slice of values for the current page or nil if there are no values.

type VerbosityLevel

type VerbosityLevel string

VerbosityLevel enumerates the values for verbosity level.

const (
	// Full ...
	Full VerbosityLevel = "Full"
	// Minimum ...
	Minimum VerbosityLevel = "Minimum"
	// Normal ...
	Normal VerbosityLevel = "Normal"
)

func PossibleVerbosityLevelValues

func PossibleVerbosityLevelValues() []VerbosityLevel

PossibleVerbosityLevelValues returns an array of possible values for the VerbosityLevel const type.

type VerificationIPFlowParameters

type VerificationIPFlowParameters struct {
	// TargetResourceID - The ID of the target resource to perform next-hop on.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// Direction - The direction of the packet represented as a 5-tuple. Possible values include: 'Inbound', 'Outbound'
	Direction Direction `json:"direction,omitempty"`
	// Protocol - Protocol to be verified on. Possible values include: 'IPFlowProtocolTCP', 'IPFlowProtocolUDP'
	Protocol IPFlowProtocol `json:"protocol,omitempty"`
	// LocalPort - The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.
	LocalPort *string `json:"localPort,omitempty"`
	// RemotePort - The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.
	RemotePort *string `json:"remotePort,omitempty"`
	// LocalIPAddress - The local IP address. Acceptable values are valid IPv4 addresses.
	LocalIPAddress *string `json:"localIPAddress,omitempty"`
	// RemoteIPAddress - The remote IP address. Acceptable values are valid IPv4 addresses.
	RemoteIPAddress *string `json:"remoteIPAddress,omitempty"`
	// TargetNicResourceID - The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).
	TargetNicResourceID *string `json:"targetNicResourceId,omitempty"`
}

VerificationIPFlowParameters parameters that define the IP flow to be verified.

type VerificationIPFlowResult

type VerificationIPFlowResult struct {
	autorest.Response `json:"-"`
	// Access - Indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny'
	Access Access `json:"access,omitempty"`
	// RuleName - Name of the rule. If input is not matched against any security rule, it is not displayed.
	RuleName *string `json:"ruleName,omitempty"`
}

VerificationIPFlowResult results of IP flow verification on the target resource.

type VirtualHub

type VirtualHub struct {
	autorest.Response `json:"-"`
	// VirtualHubProperties - Properties of the virtual hub.
	*VirtualHubProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualHub virtualHub Resource.

func (VirtualHub) MarshalJSON

func (vh VirtualHub) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualHub.

func (*VirtualHub) UnmarshalJSON

func (vh *VirtualHub) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualHub struct.

type VirtualHubID

type VirtualHubID struct {
	// ID - The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription.
	ID *string `json:"id,omitempty"`
}

VirtualHubID virtual Hub identifier.

type VirtualHubProperties

type VirtualHubProperties struct {
	// VirtualWan - The VirtualWAN to which the VirtualHub belongs.
	VirtualWan *SubResource `json:"virtualWan,omitempty"`
	// VpnGateway - The VpnGateway associated with this VirtualHub.
	VpnGateway *SubResource `json:"vpnGateway,omitempty"`
	// P2SVpnGateway - The P2SVpnGateway associated with this VirtualHub.
	P2SVpnGateway *SubResource `json:"p2SVpnGateway,omitempty"`
	// ExpressRouteGateway - The expressRouteGateway associated with this VirtualHub.
	ExpressRouteGateway *SubResource `json:"expressRouteGateway,omitempty"`
	// AzureFirewall - The azureFirewall associated with this VirtualHub.
	AzureFirewall *SubResource `json:"azureFirewall,omitempty"`
	// VirtualNetworkConnections - List of all vnet connections with this VirtualHub.
	VirtualNetworkConnections *[]HubVirtualNetworkConnection `json:"virtualNetworkConnections,omitempty"`
	// AddressPrefix - Address-prefix for this VirtualHub.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// RouteTable - The routeTable associated with this virtual hub.
	RouteTable *VirtualHubRouteTable `json:"routeTable,omitempty"`
	// ProvisioningState - The provisioning state of the virtual hub resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// SecurityProviderName - The Security Provider name.
	SecurityProviderName *string `json:"securityProviderName,omitempty"`
}

VirtualHubProperties parameters for VirtualHub.

type VirtualHubRoute

type VirtualHubRoute struct {
	// AddressPrefixes - List of all addressPrefixes.
	AddressPrefixes *[]string `json:"addressPrefixes,omitempty"`
	// NextHopIPAddress - NextHop ip address.
	NextHopIPAddress *string `json:"nextHopIpAddress,omitempty"`
}

VirtualHubRoute virtualHub route.

type VirtualHubRouteTable

type VirtualHubRouteTable struct {
	// Routes - List of all routes.
	Routes *[]VirtualHubRoute `json:"routes,omitempty"`
}

VirtualHubRouteTable virtualHub route table.

type VirtualHubsClient

type VirtualHubsClient struct {
	BaseClient
}

VirtualHubsClient is the network Client

func NewVirtualHubsClient

func NewVirtualHubsClient(subscriptionID string) VirtualHubsClient

NewVirtualHubsClient creates an instance of the VirtualHubsClient client.

func NewVirtualHubsClientWithBaseURI

func NewVirtualHubsClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubsClient

NewVirtualHubsClientWithBaseURI creates an instance of the VirtualHubsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualHubsClient) CreateOrUpdate

func (client VirtualHubsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters VirtualHub) (result VirtualHubsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. virtualHubParameters - parameters supplied to create or update VirtualHub.

func (VirtualHubsClient) CreateOrUpdatePreparer

func (client VirtualHubsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters VirtualHub) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualHubsClient) CreateOrUpdateResponder

func (client VirtualHubsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualHub, err error)

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

func (VirtualHubsClient) CreateOrUpdateSender

func (client VirtualHubsClient) CreateOrUpdateSender(req *http.Request) (future VirtualHubsCreateOrUpdateFuture, err error)

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

func (VirtualHubsClient) Delete

func (client VirtualHubsClient) Delete(ctx context.Context, resourceGroupName string, virtualHubName string) (result VirtualHubsDeleteFuture, err error)

Delete deletes a VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.

func (VirtualHubsClient) DeletePreparer

func (client VirtualHubsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualHubsClient) DeleteResponder

func (client VirtualHubsClient) 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 (VirtualHubsClient) DeleteSender

func (client VirtualHubsClient) DeleteSender(req *http.Request) (future VirtualHubsDeleteFuture, err error)

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

func (VirtualHubsClient) Get

func (client VirtualHubsClient) Get(ctx context.Context, resourceGroupName string, virtualHubName string) (result VirtualHub, err error)

Get retrieves the details of a VirtualHub. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub.

func (VirtualHubsClient) GetPreparer

func (client VirtualHubsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualHubName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualHubsClient) GetResponder

func (client VirtualHubsClient) GetResponder(resp *http.Response) (result VirtualHub, err error)

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

func (VirtualHubsClient) GetSender

func (client VirtualHubsClient) 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 (VirtualHubsClient) List

func (client VirtualHubsClient) List(ctx context.Context) (result ListVirtualHubsResultPage, err error)

List lists all the VirtualHubs in a subscription.

func (VirtualHubsClient) ListByResourceGroup

func (client VirtualHubsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVirtualHubsResultPage, err error)

ListByResourceGroup lists all the VirtualHubs in a resource group. Parameters: resourceGroupName - the resource group name of the VirtualHub.

func (VirtualHubsClient) ListByResourceGroupComplete

func (client VirtualHubsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVirtualHubsResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualHubsClient) ListByResourceGroupPreparer

func (client VirtualHubsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualHubsClient) ListByResourceGroupResponder

func (client VirtualHubsClient) ListByResourceGroupResponder(resp *http.Response) (result ListVirtualHubsResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualHubsClient) ListByResourceGroupSender

func (client VirtualHubsClient) 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 (VirtualHubsClient) ListComplete

func (client VirtualHubsClient) ListComplete(ctx context.Context) (result ListVirtualHubsResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualHubsClient) ListPreparer

func (client VirtualHubsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualHubsClient) ListResponder

func (client VirtualHubsClient) ListResponder(resp *http.Response) (result ListVirtualHubsResult, err error)

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

func (VirtualHubsClient) ListSender

func (client VirtualHubsClient) 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 (VirtualHubsClient) UpdateTags

func (client VirtualHubsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters TagsObject) (result VirtualHubsUpdateTagsFuture, err error)

UpdateTags updates VirtualHub tags. Parameters: resourceGroupName - the resource group name of the VirtualHub. virtualHubName - the name of the VirtualHub. virtualHubParameters - parameters supplied to update VirtualHub tags.

func (VirtualHubsClient) UpdateTagsPreparer

func (client VirtualHubsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualHubsClient) UpdateTagsResponder

func (client VirtualHubsClient) UpdateTagsResponder(resp *http.Response) (result VirtualHub, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualHubsClient) UpdateTagsSender

func (client VirtualHubsClient) UpdateTagsSender(req *http.Request) (future VirtualHubsUpdateTagsFuture, err error)

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

type VirtualHubsCreateOrUpdateFuture

type VirtualHubsCreateOrUpdateFuture struct {
	azure.Future
}

VirtualHubsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualHubsCreateOrUpdateFuture) Result

func (future *VirtualHubsCreateOrUpdateFuture) Result(client VirtualHubsClient) (vh VirtualHub, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualHubsDeleteFuture

type VirtualHubsDeleteFuture struct {
	azure.Future
}

VirtualHubsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualHubsDeleteFuture) Result

func (future *VirtualHubsDeleteFuture) Result(client VirtualHubsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualHubsUpdateTagsFuture

type VirtualHubsUpdateTagsFuture struct {
	azure.Future
}

VirtualHubsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualHubsUpdateTagsFuture) Result

func (future *VirtualHubsUpdateTagsFuture) Result(client VirtualHubsClient) (vh VirtualHub, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetwork

type VirtualNetwork struct {
	autorest.Response `json:"-"`
	// VirtualNetworkPropertiesFormat - Properties of the virtual network.
	*VirtualNetworkPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualNetwork virtual Network resource.

func (VirtualNetwork) MarshalJSON

func (vn VirtualNetwork) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetwork.

func (*VirtualNetwork) UnmarshalJSON

func (vn *VirtualNetwork) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetwork struct.

type VirtualNetworkBgpCommunities

type VirtualNetworkBgpCommunities struct {
	// VirtualNetworkCommunity - The BGP community associated with the virtual network
	VirtualNetworkCommunity *string `json:"virtualNetworkCommunity,omitempty"`
	// RegionalCommunity - READ-ONLY; The BGP community associated with the region of the virtual network
	RegionalCommunity *string `json:"regionalCommunity,omitempty"`
}

VirtualNetworkBgpCommunities bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.

type VirtualNetworkConnectionGatewayReference

type VirtualNetworkConnectionGatewayReference struct {
	// ID - The ID of VirtualNetworkGateway or LocalNetworkGateway resource.
	ID *string `json:"id,omitempty"`
}

VirtualNetworkConnectionGatewayReference a reference to VirtualNetworkGateway or LocalNetworkGateway resource.

type VirtualNetworkGateway

type VirtualNetworkGateway struct {
	autorest.Response `json:"-"`
	// VirtualNetworkGatewayPropertiesFormat - Properties of the virtual network gateway.
	*VirtualNetworkGatewayPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualNetworkGateway a common class for general resource information.

func (VirtualNetworkGateway) MarshalJSON

func (vng VirtualNetworkGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGateway.

func (*VirtualNetworkGateway) UnmarshalJSON

func (vng *VirtualNetworkGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkGateway struct.

type VirtualNetworkGatewayConnection

type VirtualNetworkGatewayConnection struct {
	autorest.Response `json:"-"`
	// VirtualNetworkGatewayConnectionPropertiesFormat - Properties of the virtual network gateway connection.
	*VirtualNetworkGatewayConnectionPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualNetworkGatewayConnection a common class for general resource information.

func (VirtualNetworkGatewayConnection) MarshalJSON

func (vngc VirtualNetworkGatewayConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnection.

func (*VirtualNetworkGatewayConnection) UnmarshalJSON

func (vngc *VirtualNetworkGatewayConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayConnection struct.

type VirtualNetworkGatewayConnectionListEntity

type VirtualNetworkGatewayConnectionListEntity struct {
	// VirtualNetworkGatewayConnectionListEntityPropertiesFormat - Properties of the virtual network gateway connection.
	*VirtualNetworkGatewayConnectionListEntityPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualNetworkGatewayConnectionListEntity a common class for general resource information.

func (VirtualNetworkGatewayConnectionListEntity) MarshalJSON

func (vngcle VirtualNetworkGatewayConnectionListEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionListEntity.

func (*VirtualNetworkGatewayConnectionListEntity) UnmarshalJSON

func (vngcle *VirtualNetworkGatewayConnectionListEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayConnectionListEntity struct.

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat

type VirtualNetworkGatewayConnectionListEntityPropertiesFormat struct {
	// AuthorizationKey - The authorizationKey.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// VirtualNetworkGateway1 - The reference to virtual network gateway resource.
	VirtualNetworkGateway1 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway1,omitempty"`
	// VirtualNetworkGateway2 - The reference to virtual network gateway resource.
	VirtualNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"virtualNetworkGateway2,omitempty"`
	// LocalNetworkGateway2 - The reference to local network gateway resource.
	LocalNetworkGateway2 *VirtualNetworkConnectionGatewayReference `json:"localNetworkGateway2,omitempty"`
	// ConnectionType - Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
	ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"`
	// ConnectionProtocol - Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
	ConnectionProtocol VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"`
	// RoutingWeight - The routing weight.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`
	// SharedKey - The IPSec shared key.
	SharedKey *string `json:"sharedKey,omitempty"`
	// ConnectionStatus - READ-ONLY; Virtual Network Gateway connection status. Possible values include: 'VirtualNetworkGatewayConnectionStatusUnknown', 'VirtualNetworkGatewayConnectionStatusConnecting', 'VirtualNetworkGatewayConnectionStatusConnected', 'VirtualNetworkGatewayConnectionStatusNotConnected'
	ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	// TunnelConnectionStatus - READ-ONLY; Collection of all tunnels' connection health status.
	TunnelConnectionStatus *[]TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty"`
	// EgressBytesTransferred - READ-ONLY; The egress bytes transferred in this connection.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"`
	// IngressBytesTransferred - READ-ONLY; The ingress bytes transferred in this connection.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"`
	// Peer - The reference to peerings resource.
	Peer *SubResource `json:"peer,omitempty"`
	// EnableBgp - EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`
	// UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`
	// IpsecPolicies - The IPSec Policies to be considered by this connection.
	IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"`
	// TrafficSelectorPolicies - The Traffic Selector Policies to be considered by this connection.
	TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"`
	// ResourceGUID - The resource GUID property of the virtual network gateway connection resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ExpressRouteGatewayBypass - Bypass ExpressRoute Gateway for data forwarding.
	ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"`
}

VirtualNetworkGatewayConnectionListEntityPropertiesFormat virtualNetworkGatewayConnection properties.

type VirtualNetworkGatewayConnectionListResult

type VirtualNetworkGatewayConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of VirtualNetworkGatewayConnection resources that exists in a resource group.
	Value *[]VirtualNetworkGatewayConnection `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayConnectionListResult response for the ListVirtualNetworkGatewayConnections API service call.

func (VirtualNetworkGatewayConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkGatewayConnectionListResultIterator

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

VirtualNetworkGatewayConnectionListResultIterator provides access to a complete listing of VirtualNetworkGatewayConnection values.

func NewVirtualNetworkGatewayConnectionListResultIterator

func NewVirtualNetworkGatewayConnectionListResultIterator(page VirtualNetworkGatewayConnectionListResultPage) VirtualNetworkGatewayConnectionListResultIterator

Creates a new instance of the VirtualNetworkGatewayConnectionListResultIterator type.

func (*VirtualNetworkGatewayConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkGatewayConnectionListResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkGatewayConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkGatewayConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkGatewayConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkGatewayConnectionListResultPage

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

VirtualNetworkGatewayConnectionListResultPage contains a page of VirtualNetworkGatewayConnection values.

func NewVirtualNetworkGatewayConnectionListResultPage

Creates a new instance of the VirtualNetworkGatewayConnectionListResultPage type.

func (*VirtualNetworkGatewayConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkGatewayConnectionListResultPage) NextWithContext

func (page *VirtualNetworkGatewayConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkGatewayConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkGatewayConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkGatewayConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkGatewayConnectionPropertiesFormat

type VirtualNetworkGatewayConnectionPropertiesFormat struct {
	// AuthorizationKey - The authorizationKey.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// VirtualNetworkGateway1 - The reference to virtual network gateway resource.
	VirtualNetworkGateway1 *VirtualNetworkGateway `json:"virtualNetworkGateway1,omitempty"`
	// VirtualNetworkGateway2 - The reference to virtual network gateway resource.
	VirtualNetworkGateway2 *VirtualNetworkGateway `json:"virtualNetworkGateway2,omitempty"`
	// LocalNetworkGateway2 - The reference to local network gateway resource.
	LocalNetworkGateway2 *LocalNetworkGateway `json:"localNetworkGateway2,omitempty"`
	// ConnectionType - Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
	ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,omitempty"`
	// ConnectionProtocol - Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
	ConnectionProtocol VirtualNetworkGatewayConnectionProtocol `json:"connectionProtocol,omitempty"`
	// RoutingWeight - The routing weight.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`
	// SharedKey - The IPSec shared key.
	SharedKey *string `json:"sharedKey,omitempty"`
	// ConnectionStatus - READ-ONLY; Virtual Network Gateway connection status. Possible values include: 'VirtualNetworkGatewayConnectionStatusUnknown', 'VirtualNetworkGatewayConnectionStatusConnecting', 'VirtualNetworkGatewayConnectionStatusConnected', 'VirtualNetworkGatewayConnectionStatusNotConnected'
	ConnectionStatus VirtualNetworkGatewayConnectionStatus `json:"connectionStatus,omitempty"`
	// TunnelConnectionStatus - READ-ONLY; Collection of all tunnels' connection health status.
	TunnelConnectionStatus *[]TunnelConnectionHealth `json:"tunnelConnectionStatus,omitempty"`
	// EgressBytesTransferred - READ-ONLY; The egress bytes transferred in this connection.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"`
	// IngressBytesTransferred - READ-ONLY; The ingress bytes transferred in this connection.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"`
	// Peer - The reference to peerings resource.
	Peer *SubResource `json:"peer,omitempty"`
	// EnableBgp - EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`
	// UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`
	// IpsecPolicies - The IPSec Policies to be considered by this connection.
	IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"`
	// TrafficSelectorPolicies - The Traffic Selector Policies to be considered by this connection.
	TrafficSelectorPolicies *[]TrafficSelectorPolicy `json:"trafficSelectorPolicies,omitempty"`
	// ResourceGUID - The resource GUID property of the virtual network gateway connection resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ExpressRouteGatewayBypass - Bypass ExpressRoute Gateway for data forwarding.
	ExpressRouteGatewayBypass *bool `json:"expressRouteGatewayBypass,omitempty"`
}

VirtualNetworkGatewayConnectionPropertiesFormat virtualNetworkGatewayConnection properties.

type VirtualNetworkGatewayConnectionProtocol

type VirtualNetworkGatewayConnectionProtocol string

VirtualNetworkGatewayConnectionProtocol enumerates the values for virtual network gateway connection protocol.

const (
	// IKEv1 ...
	IKEv1 VirtualNetworkGatewayConnectionProtocol = "IKEv1"
	// IKEv2 ...
	IKEv2 VirtualNetworkGatewayConnectionProtocol = "IKEv2"
)

func PossibleVirtualNetworkGatewayConnectionProtocolValues

func PossibleVirtualNetworkGatewayConnectionProtocolValues() []VirtualNetworkGatewayConnectionProtocol

PossibleVirtualNetworkGatewayConnectionProtocolValues returns an array of possible values for the VirtualNetworkGatewayConnectionProtocol const type.

type VirtualNetworkGatewayConnectionStatus

type VirtualNetworkGatewayConnectionStatus string

VirtualNetworkGatewayConnectionStatus enumerates the values for virtual network gateway connection status.

const (
	// VirtualNetworkGatewayConnectionStatusConnected ...
	VirtualNetworkGatewayConnectionStatusConnected VirtualNetworkGatewayConnectionStatus = "Connected"
	// VirtualNetworkGatewayConnectionStatusConnecting ...
	VirtualNetworkGatewayConnectionStatusConnecting VirtualNetworkGatewayConnectionStatus = "Connecting"
	// VirtualNetworkGatewayConnectionStatusNotConnected ...
	VirtualNetworkGatewayConnectionStatusNotConnected VirtualNetworkGatewayConnectionStatus = "NotConnected"
	// VirtualNetworkGatewayConnectionStatusUnknown ...
	VirtualNetworkGatewayConnectionStatusUnknown VirtualNetworkGatewayConnectionStatus = "Unknown"
)

func PossibleVirtualNetworkGatewayConnectionStatusValues

func PossibleVirtualNetworkGatewayConnectionStatusValues() []VirtualNetworkGatewayConnectionStatus

PossibleVirtualNetworkGatewayConnectionStatusValues returns an array of possible values for the VirtualNetworkGatewayConnectionStatus const type.

type VirtualNetworkGatewayConnectionType

type VirtualNetworkGatewayConnectionType string

VirtualNetworkGatewayConnectionType enumerates the values for virtual network gateway connection type.

const (
	// ExpressRoute ...
	ExpressRoute VirtualNetworkGatewayConnectionType = "ExpressRoute"
	// IPsec ...
	IPsec VirtualNetworkGatewayConnectionType = "IPsec"
	// Vnet2Vnet ...
	Vnet2Vnet VirtualNetworkGatewayConnectionType = "Vnet2Vnet"
	// VPNClient ...
	VPNClient VirtualNetworkGatewayConnectionType = "VPNClient"
)

func PossibleVirtualNetworkGatewayConnectionTypeValues

func PossibleVirtualNetworkGatewayConnectionTypeValues() []VirtualNetworkGatewayConnectionType

PossibleVirtualNetworkGatewayConnectionTypeValues returns an array of possible values for the VirtualNetworkGatewayConnectionType const type.

type VirtualNetworkGatewayConnectionsClient

type VirtualNetworkGatewayConnectionsClient struct {
	BaseClient
}

VirtualNetworkGatewayConnectionsClient is the network Client

func NewVirtualNetworkGatewayConnectionsClient

func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClient creates an instance of the VirtualNetworkGatewayConnectionsClient client.

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI

func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient

NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the VirtualNetworkGatewayConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdate

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (result VirtualNetworkGatewayConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. parameters - parameters supplied to the create or update virtual network gateway connection operation.

func (VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer

func (client VirtualNetworkGatewayConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VirtualNetworkGatewayConnection) (*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

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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnectionsDeleteFuture, err error)

Delete deletes the specified virtual network Gateway connection. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection.

func (VirtualNetworkGatewayConnectionsClient) DeletePreparer

func (client VirtualNetworkGatewayConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (*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

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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result VirtualNetworkGatewayConnection, err error)

Get gets the specified virtual network gateway connection by resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection.

func (VirtualNetworkGatewayConnectionsClient) GetPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection shared key name.

func (VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) GetSharedKeyPreparer(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group.

func (VirtualNetworkGatewayConnectionsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkGatewayConnectionsClient) ListPreparer

func (client VirtualNetworkGatewayConnectionsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (result VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err 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. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection reset shared key Name. parameters - parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.

func (VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) ResetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionResetSharedKey) (*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

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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (result VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err 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. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the virtual network gateway connection name. parameters - parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.

func (VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer

func (client VirtualNetworkGatewayConnectionsClient) SetSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters ConnectionSharedKey) (*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

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

func (VirtualNetworkGatewayConnectionsClient) StartPacketCapture

func (client VirtualNetworkGatewayConnectionsClient) StartPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters *VpnPacketCaptureStartParameters) (result VirtualNetworkGatewayConnectionsStartPacketCaptureFuture, err error)

StartPacketCapture starts packet capture on virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. parameters - virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.

func (VirtualNetworkGatewayConnectionsClient) StartPacketCapturePreparer

func (client VirtualNetworkGatewayConnectionsClient) StartPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters *VpnPacketCaptureStartParameters) (*http.Request, error)

StartPacketCapturePreparer prepares the StartPacketCapture request.

func (VirtualNetworkGatewayConnectionsClient) StartPacketCaptureResponder

func (client VirtualNetworkGatewayConnectionsClient) StartPacketCaptureResponder(resp *http.Response) (result String, err error)

StartPacketCaptureResponder handles the response to the StartPacketCapture request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) StartPacketCaptureSender

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

func (VirtualNetworkGatewayConnectionsClient) StopPacketCapture

func (client VirtualNetworkGatewayConnectionsClient) StopPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnPacketCaptureStopParameters) (result VirtualNetworkGatewayConnectionsStopPacketCaptureFuture, err error)

StopPacketCapture stops packet capture on virtual network gateway connection in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway Connection. parameters - virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.

func (VirtualNetworkGatewayConnectionsClient) StopPacketCapturePreparer

func (client VirtualNetworkGatewayConnectionsClient) StopPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnPacketCaptureStopParameters) (*http.Request, error)

StopPacketCapturePreparer prepares the StopPacketCapture request.

func (VirtualNetworkGatewayConnectionsClient) StopPacketCaptureResponder

func (client VirtualNetworkGatewayConnectionsClient) StopPacketCaptureResponder(resp *http.Response) (result String, err error)

StopPacketCaptureResponder handles the response to the StopPacketCapture request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) StopPacketCaptureSender

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

func (VirtualNetworkGatewayConnectionsClient) UpdateTags

func (client VirtualNetworkGatewayConnectionsClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters TagsObject) (result VirtualNetworkGatewayConnectionsUpdateTagsFuture, err error)

UpdateTags updates a virtual network gateway connection tags. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection. parameters - parameters supplied to update virtual network gateway connection tags.

func (VirtualNetworkGatewayConnectionsClient) UpdateTagsPreparer

func (client VirtualNetworkGatewayConnectionsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualNetworkGatewayConnectionsClient) UpdateTagsResponder

func (client VirtualNetworkGatewayConnectionsClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkGatewayConnection, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualNetworkGatewayConnectionsClient) UpdateTagsSender

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

type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture

type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayConnectionsDeleteFuture

type VirtualNetworkGatewayConnectionsDeleteFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayConnectionsResetSharedKeyFuture

type VirtualNetworkGatewayConnectionsResetSharedKeyFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsResetSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsResetSharedKeyFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayConnectionsSetSharedKeyFuture

type VirtualNetworkGatewayConnectionsSetSharedKeyFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsSetSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsSetSharedKeyFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayConnectionsStartPacketCaptureFuture

type VirtualNetworkGatewayConnectionsStartPacketCaptureFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsStartPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsStartPacketCaptureFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayConnectionsStopPacketCaptureFuture

type VirtualNetworkGatewayConnectionsStopPacketCaptureFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsStopPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsStopPacketCaptureFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayConnectionsUpdateTagsFuture

type VirtualNetworkGatewayConnectionsUpdateTagsFuture struct {
	azure.Future
}

VirtualNetworkGatewayConnectionsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewayConnectionsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewayIPConfiguration

type VirtualNetworkGatewayIPConfiguration struct {
	// VirtualNetworkGatewayIPConfigurationPropertiesFormat - Properties of the virtual network gateway ip configuration.
	*VirtualNetworkGatewayIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VirtualNetworkGatewayIPConfiguration IP configuration for virtual network gateway.

func (VirtualNetworkGatewayIPConfiguration) MarshalJSON

func (vngic VirtualNetworkGatewayIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayIPConfiguration.

func (*VirtualNetworkGatewayIPConfiguration) UnmarshalJSON

func (vngic *VirtualNetworkGatewayIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkGatewayIPConfiguration struct.

type VirtualNetworkGatewayIPConfigurationPropertiesFormat

type VirtualNetworkGatewayIPConfigurationPropertiesFormat struct {
	// PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// Subnet - The reference of the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`
	// PublicIPAddress - The reference of the public IP resource.
	PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayIPConfigurationPropertiesFormat properties of VirtualNetworkGatewayIPConfiguration.

type VirtualNetworkGatewayListConnectionsResult

type VirtualNetworkGatewayListConnectionsResult struct {
	autorest.Response `json:"-"`
	// Value - A list of VirtualNetworkGatewayConnection resources that exists in a resource group.
	Value *[]VirtualNetworkGatewayConnectionListEntity `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayListConnectionsResult response for the VirtualNetworkGatewayListConnections API service call.

func (VirtualNetworkGatewayListConnectionsResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkGatewayListConnectionsResultIterator

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

VirtualNetworkGatewayListConnectionsResultIterator provides access to a complete listing of VirtualNetworkGatewayConnectionListEntity values.

func NewVirtualNetworkGatewayListConnectionsResultIterator

func NewVirtualNetworkGatewayListConnectionsResultIterator(page VirtualNetworkGatewayListConnectionsResultPage) VirtualNetworkGatewayListConnectionsResultIterator

Creates a new instance of the VirtualNetworkGatewayListConnectionsResultIterator type.

func (*VirtualNetworkGatewayListConnectionsResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkGatewayListConnectionsResultIterator) NextWithContext

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkGatewayListConnectionsResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkGatewayListConnectionsResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkGatewayListConnectionsResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkGatewayListConnectionsResultPage

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

VirtualNetworkGatewayListConnectionsResultPage contains a page of VirtualNetworkGatewayConnectionListEntity values.

func NewVirtualNetworkGatewayListConnectionsResultPage

Creates a new instance of the VirtualNetworkGatewayListConnectionsResultPage type.

func (*VirtualNetworkGatewayListConnectionsResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkGatewayListConnectionsResultPage) NextWithContext

func (page *VirtualNetworkGatewayListConnectionsResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkGatewayListConnectionsResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkGatewayListConnectionsResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkGatewayListConnectionsResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkGatewayListResult

type VirtualNetworkGatewayListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of VirtualNetworkGateway resources that exists in a resource group.
	Value *[]VirtualNetworkGateway `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkGatewayListResult response for the ListVirtualNetworkGateways API service call.

func (VirtualNetworkGatewayListResult) IsEmpty

func (vnglr VirtualNetworkGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkGatewayListResultIterator

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

VirtualNetworkGatewayListResultIterator provides access to a complete listing of VirtualNetworkGateway values.

func NewVirtualNetworkGatewayListResultIterator

func NewVirtualNetworkGatewayListResultIterator(page VirtualNetworkGatewayListResultPage) VirtualNetworkGatewayListResultIterator

Creates a new instance of the VirtualNetworkGatewayListResultIterator type.

func (*VirtualNetworkGatewayListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkGatewayListResultIterator) NextWithContext

func (iter *VirtualNetworkGatewayListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkGatewayListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkGatewayListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkGatewayListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkGatewayListResultPage

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

VirtualNetworkGatewayListResultPage contains a page of VirtualNetworkGateway values.

func NewVirtualNetworkGatewayListResultPage

Creates a new instance of the VirtualNetworkGatewayListResultPage type.

func (*VirtualNetworkGatewayListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkGatewayListResultPage) NextWithContext

func (page *VirtualNetworkGatewayListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkGatewayListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkGatewayListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkGatewayListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkGatewayPropertiesFormat

type VirtualNetworkGatewayPropertiesFormat struct {
	// IPConfigurations - IP configurations for virtual network gateway.
	IPConfigurations *[]VirtualNetworkGatewayIPConfiguration `json:"ipConfigurations,omitempty"`
	// GatewayType - The type of this virtual network gateway. Possible values include: 'VirtualNetworkGatewayTypeVpn', 'VirtualNetworkGatewayTypeExpressRoute'
	GatewayType VirtualNetworkGatewayType `json:"gatewayType,omitempty"`
	// VpnType - The type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased'
	VpnType VpnType `json:"vpnType,omitempty"`
	// VpnGatewayGeneration - The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. Possible values include: 'VpnGatewayGenerationNone', 'VpnGatewayGenerationGeneration1', 'VpnGatewayGenerationGeneration2'
	VpnGatewayGeneration VpnGatewayGeneration `json:"vpnGatewayGeneration,omitempty"`
	// EnableBgp - Whether BGP is enabled for this virtual network gateway or not.
	EnableBgp *bool `json:"enableBgp,omitempty"`
	// ActiveActive - ActiveActive flag.
	ActiveActive *bool `json:"activeActive,omitempty"`
	// GatewayDefaultSite - The reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
	GatewayDefaultSite *SubResource `json:"gatewayDefaultSite,omitempty"`
	// Sku - The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
	Sku *VirtualNetworkGatewaySku `json:"sku,omitempty"`
	// VpnClientConfiguration - The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations.
	VpnClientConfiguration *VpnClientConfiguration `json:"vpnClientConfiguration,omitempty"`
	// BgpSettings - Virtual network gateway's BGP speaker settings.
	BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`
	// CustomRoutes - The reference of the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.
	CustomRoutes *AddressSpace `json:"customRoutes,omitempty"`
	// ResourceGUID - The resource GUID property of the virtual network gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the virtual network gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// EnableDNSForwarding - Whether dns forwarding is enabled or not.
	EnableDNSForwarding *bool `json:"enableDnsForwarding,omitempty"`
	// InboundDNSForwardingEndpoint - READ-ONLY; The IP address allocated by the gateway to which dns requests can be sent.
	InboundDNSForwardingEndpoint *string `json:"inboundDnsForwardingEndpoint,omitempty"`
}

VirtualNetworkGatewayPropertiesFormat virtualNetworkGateway properties.

type VirtualNetworkGatewaySku

type VirtualNetworkGatewaySku struct {
	// Name - Gateway SKU name. Possible values include: 'VirtualNetworkGatewaySkuNameBasic', 'VirtualNetworkGatewaySkuNameHighPerformance', 'VirtualNetworkGatewaySkuNameStandard', 'VirtualNetworkGatewaySkuNameUltraPerformance', 'VirtualNetworkGatewaySkuNameVpnGw1', 'VirtualNetworkGatewaySkuNameVpnGw2', 'VirtualNetworkGatewaySkuNameVpnGw3', 'VirtualNetworkGatewaySkuNameVpnGw4', 'VirtualNetworkGatewaySkuNameVpnGw5', 'VirtualNetworkGatewaySkuNameVpnGw1AZ', 'VirtualNetworkGatewaySkuNameVpnGw2AZ', 'VirtualNetworkGatewaySkuNameVpnGw3AZ', 'VirtualNetworkGatewaySkuNameVpnGw4AZ', 'VirtualNetworkGatewaySkuNameVpnGw5AZ', 'VirtualNetworkGatewaySkuNameErGw1AZ', 'VirtualNetworkGatewaySkuNameErGw2AZ', 'VirtualNetworkGatewaySkuNameErGw3AZ'
	Name VirtualNetworkGatewaySkuName `json:"name,omitempty"`
	// Tier - Gateway SKU tier. Possible values include: 'VirtualNetworkGatewaySkuTierBasic', 'VirtualNetworkGatewaySkuTierHighPerformance', 'VirtualNetworkGatewaySkuTierStandard', 'VirtualNetworkGatewaySkuTierUltraPerformance', 'VirtualNetworkGatewaySkuTierVpnGw1', 'VirtualNetworkGatewaySkuTierVpnGw2', 'VirtualNetworkGatewaySkuTierVpnGw3', 'VirtualNetworkGatewaySkuTierVpnGw4', 'VirtualNetworkGatewaySkuTierVpnGw5', 'VirtualNetworkGatewaySkuTierVpnGw1AZ', 'VirtualNetworkGatewaySkuTierVpnGw2AZ', 'VirtualNetworkGatewaySkuTierVpnGw3AZ', 'VirtualNetworkGatewaySkuTierVpnGw4AZ', 'VirtualNetworkGatewaySkuTierVpnGw5AZ', 'VirtualNetworkGatewaySkuTierErGw1AZ', 'VirtualNetworkGatewaySkuTierErGw2AZ', 'VirtualNetworkGatewaySkuTierErGw3AZ'
	Tier VirtualNetworkGatewaySkuTier `json:"tier,omitempty"`
	// Capacity - The capacity.
	Capacity *int32 `json:"capacity,omitempty"`
}

VirtualNetworkGatewaySku virtualNetworkGatewaySku details.

type VirtualNetworkGatewaySkuName

type VirtualNetworkGatewaySkuName string

VirtualNetworkGatewaySkuName enumerates the values for virtual network gateway sku name.

const (
	// VirtualNetworkGatewaySkuNameBasic ...
	VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = "Basic"
	// VirtualNetworkGatewaySkuNameErGw1AZ ...
	VirtualNetworkGatewaySkuNameErGw1AZ VirtualNetworkGatewaySkuName = "ErGw1AZ"
	// VirtualNetworkGatewaySkuNameErGw2AZ ...
	VirtualNetworkGatewaySkuNameErGw2AZ VirtualNetworkGatewaySkuName = "ErGw2AZ"
	// VirtualNetworkGatewaySkuNameErGw3AZ ...
	VirtualNetworkGatewaySkuNameErGw3AZ VirtualNetworkGatewaySkuName = "ErGw3AZ"
	// VirtualNetworkGatewaySkuNameHighPerformance ...
	VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance"
	// VirtualNetworkGatewaySkuNameStandard ...
	VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard"
	// VirtualNetworkGatewaySkuNameUltraPerformance ...
	VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance"
	// VirtualNetworkGatewaySkuNameVpnGw1 ...
	VirtualNetworkGatewaySkuNameVpnGw1 VirtualNetworkGatewaySkuName = "VpnGw1"
	// VirtualNetworkGatewaySkuNameVpnGw1AZ ...
	VirtualNetworkGatewaySkuNameVpnGw1AZ VirtualNetworkGatewaySkuName = "VpnGw1AZ"
	// VirtualNetworkGatewaySkuNameVpnGw2 ...
	VirtualNetworkGatewaySkuNameVpnGw2 VirtualNetworkGatewaySkuName = "VpnGw2"
	// VirtualNetworkGatewaySkuNameVpnGw2AZ ...
	VirtualNetworkGatewaySkuNameVpnGw2AZ VirtualNetworkGatewaySkuName = "VpnGw2AZ"
	// VirtualNetworkGatewaySkuNameVpnGw3 ...
	VirtualNetworkGatewaySkuNameVpnGw3 VirtualNetworkGatewaySkuName = "VpnGw3"
	// VirtualNetworkGatewaySkuNameVpnGw3AZ ...
	VirtualNetworkGatewaySkuNameVpnGw3AZ VirtualNetworkGatewaySkuName = "VpnGw3AZ"
	// VirtualNetworkGatewaySkuNameVpnGw4 ...
	VirtualNetworkGatewaySkuNameVpnGw4 VirtualNetworkGatewaySkuName = "VpnGw4"
	// VirtualNetworkGatewaySkuNameVpnGw4AZ ...
	VirtualNetworkGatewaySkuNameVpnGw4AZ VirtualNetworkGatewaySkuName = "VpnGw4AZ"
	// VirtualNetworkGatewaySkuNameVpnGw5 ...
	VirtualNetworkGatewaySkuNameVpnGw5 VirtualNetworkGatewaySkuName = "VpnGw5"
	// VirtualNetworkGatewaySkuNameVpnGw5AZ ...
	VirtualNetworkGatewaySkuNameVpnGw5AZ VirtualNetworkGatewaySkuName = "VpnGw5AZ"
)

func PossibleVirtualNetworkGatewaySkuNameValues

func PossibleVirtualNetworkGatewaySkuNameValues() []VirtualNetworkGatewaySkuName

PossibleVirtualNetworkGatewaySkuNameValues returns an array of possible values for the VirtualNetworkGatewaySkuName const type.

type VirtualNetworkGatewaySkuTier

type VirtualNetworkGatewaySkuTier string

VirtualNetworkGatewaySkuTier enumerates the values for virtual network gateway sku tier.

const (
	// VirtualNetworkGatewaySkuTierBasic ...
	VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = "Basic"
	// VirtualNetworkGatewaySkuTierErGw1AZ ...
	VirtualNetworkGatewaySkuTierErGw1AZ VirtualNetworkGatewaySkuTier = "ErGw1AZ"
	// VirtualNetworkGatewaySkuTierErGw2AZ ...
	VirtualNetworkGatewaySkuTierErGw2AZ VirtualNetworkGatewaySkuTier = "ErGw2AZ"
	// VirtualNetworkGatewaySkuTierErGw3AZ ...
	VirtualNetworkGatewaySkuTierErGw3AZ VirtualNetworkGatewaySkuTier = "ErGw3AZ"
	// VirtualNetworkGatewaySkuTierHighPerformance ...
	VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance"
	// VirtualNetworkGatewaySkuTierStandard ...
	VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard"
	// VirtualNetworkGatewaySkuTierUltraPerformance ...
	VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance"
	// VirtualNetworkGatewaySkuTierVpnGw1 ...
	VirtualNetworkGatewaySkuTierVpnGw1 VirtualNetworkGatewaySkuTier = "VpnGw1"
	// VirtualNetworkGatewaySkuTierVpnGw1AZ ...
	VirtualNetworkGatewaySkuTierVpnGw1AZ VirtualNetworkGatewaySkuTier = "VpnGw1AZ"
	// VirtualNetworkGatewaySkuTierVpnGw2 ...
	VirtualNetworkGatewaySkuTierVpnGw2 VirtualNetworkGatewaySkuTier = "VpnGw2"
	// VirtualNetworkGatewaySkuTierVpnGw2AZ ...
	VirtualNetworkGatewaySkuTierVpnGw2AZ VirtualNetworkGatewaySkuTier = "VpnGw2AZ"
	// VirtualNetworkGatewaySkuTierVpnGw3 ...
	VirtualNetworkGatewaySkuTierVpnGw3 VirtualNetworkGatewaySkuTier = "VpnGw3"
	// VirtualNetworkGatewaySkuTierVpnGw3AZ ...
	VirtualNetworkGatewaySkuTierVpnGw3AZ VirtualNetworkGatewaySkuTier = "VpnGw3AZ"
	// VirtualNetworkGatewaySkuTierVpnGw4 ...
	VirtualNetworkGatewaySkuTierVpnGw4 VirtualNetworkGatewaySkuTier = "VpnGw4"
	// VirtualNetworkGatewaySkuTierVpnGw4AZ ...
	VirtualNetworkGatewaySkuTierVpnGw4AZ VirtualNetworkGatewaySkuTier = "VpnGw4AZ"
	// VirtualNetworkGatewaySkuTierVpnGw5 ...
	VirtualNetworkGatewaySkuTierVpnGw5 VirtualNetworkGatewaySkuTier = "VpnGw5"
	// VirtualNetworkGatewaySkuTierVpnGw5AZ ...
	VirtualNetworkGatewaySkuTierVpnGw5AZ VirtualNetworkGatewaySkuTier = "VpnGw5AZ"
)

func PossibleVirtualNetworkGatewaySkuTierValues

func PossibleVirtualNetworkGatewaySkuTierValues() []VirtualNetworkGatewaySkuTier

PossibleVirtualNetworkGatewaySkuTierValues returns an array of possible values for the VirtualNetworkGatewaySkuTier const type.

type VirtualNetworkGatewayType

type VirtualNetworkGatewayType string

VirtualNetworkGatewayType enumerates the values for virtual network gateway type.

const (
	// VirtualNetworkGatewayTypeExpressRoute ...
	VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = "ExpressRoute"
	// VirtualNetworkGatewayTypeVpn ...
	VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = "Vpn"
)

func PossibleVirtualNetworkGatewayTypeValues

func PossibleVirtualNetworkGatewayTypeValues() []VirtualNetworkGatewayType

PossibleVirtualNetworkGatewayTypeValues returns an array of possible values for the VirtualNetworkGatewayType const type.

type VirtualNetworkGatewaysClient

type VirtualNetworkGatewaysClient struct {
	BaseClient
}

VirtualNetworkGatewaysClient is the network Client

func NewVirtualNetworkGatewaysClient

func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClient creates an instance of the VirtualNetworkGatewaysClient client.

func NewVirtualNetworkGatewaysClientWithBaseURI

func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient

NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkGatewaysClient) CreateOrUpdate

func (client VirtualNetworkGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (result VirtualNetworkGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to create or update virtual network gateway operation.

func (VirtualNetworkGatewaysClient) CreateOrUpdatePreparer

func (client VirtualNetworkGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VirtualNetworkGateway) (*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) (future VirtualNetworkGatewaysCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysDeleteFuture, err error)

Delete deletes the specified virtual network gateway. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) DeletePreparer

func (client VirtualNetworkGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*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) (future VirtualNetworkGatewaysDeleteFuture, err error)

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

func (VirtualNetworkGatewaysClient) GenerateVpnProfile

func (client VirtualNetworkGatewaysClient) GenerateVpnProfile(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result VirtualNetworkGatewaysGenerateVpnProfileFuture, err error)

GenerateVpnProfile generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the generate virtual network gateway VPN client package operation.

func (VirtualNetworkGatewaysClient) GenerateVpnProfilePreparer

func (client VirtualNetworkGatewaysClient) GenerateVpnProfilePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (*http.Request, error)

GenerateVpnProfilePreparer prepares the GenerateVpnProfile request.

func (VirtualNetworkGatewaysClient) GenerateVpnProfileResponder

func (client VirtualNetworkGatewaysClient) GenerateVpnProfileResponder(resp *http.Response) (result String, err error)

GenerateVpnProfileResponder handles the response to the GenerateVpnProfile request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GenerateVpnProfileSender

func (client VirtualNetworkGatewaysClient) GenerateVpnProfileSender(req *http.Request) (future VirtualNetworkGatewaysGenerateVpnProfileFuture, err error)

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

func (VirtualNetworkGatewaysClient) Generatevpnclientpackage

func (client VirtualNetworkGatewaysClient) Generatevpnclientpackage(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnClientParameters) (result VirtualNetworkGatewaysGeneratevpnclientpackageFuture, err error)

Generatevpnclientpackage generates VPN client package for P2S client of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to the generate virtual network gateway VPN client package operation.

func (VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer

func (client VirtualNetworkGatewaysClient) GeneratevpnclientpackagePreparer(ctx context.Context, 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) (future VirtualNetworkGatewaysGeneratevpnclientpackageFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGateway, err error)

Get gets the specified virtual network gateway by resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutes

func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutes(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (result VirtualNetworkGatewaysGetAdvertisedRoutesFuture, err error)

GetAdvertisedRoutes this operation retrieves a list of routes the virtual network gateway is advertising to the specified peer. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. peer - the IP address of the peer.

func (VirtualNetworkGatewaysClient) GetAdvertisedRoutesPreparer

func (client VirtualNetworkGatewaysClient) GetAdvertisedRoutesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (*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) (future VirtualNetworkGatewaysGetAdvertisedRoutesFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (result VirtualNetworkGatewaysGetBgpPeerStatusFuture, err error)

GetBgpPeerStatus the GetBgpPeerStatus operation retrieves the status of all BGP peers. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. peer - the IP address of the peer to retrieve the status of.

func (VirtualNetworkGatewaysClient) GetBgpPeerStatusPreparer

func (client VirtualNetworkGatewaysClient) GetBgpPeerStatusPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, peer string) (*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) (future VirtualNetworkGatewaysGetBgpPeerStatusFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetLearnedRoutesFuture, err error)

GetLearnedRoutes this operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetLearnedRoutesPreparer

func (client VirtualNetworkGatewaysClient) GetLearnedRoutesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*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) (future VirtualNetworkGatewaysGetLearnedRoutesFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkGatewaysClient) GetResponder

func (client VirtualNetworkGatewaysClient) GetResponder(resp *http.Response) (result VirtualNetworkGateway, err error)

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

func (VirtualNetworkGatewaysClient) GetSender

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

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

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURL

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURL(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnProfilePackageURLFuture, err error)

GetVpnProfilePackageURL gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURLPreparer

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

GetVpnProfilePackageURLPreparer prepares the GetVpnProfilePackageURL request.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURLResponder

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLResponder(resp *http.Response) (result String, err error)

GetVpnProfilePackageURLResponder handles the response to the GetVpnProfilePackageURL request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetVpnProfilePackageURLSender

func (client VirtualNetworkGatewaysClient) GetVpnProfilePackageURLSender(req *http.Request) (future VirtualNetworkGatewaysGetVpnProfilePackageURLFuture, err error)

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

func (VirtualNetworkGatewaysClient) GetVpnclientConnectionHealth

func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealth(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture, err error)

GetVpnclientConnectionHealth get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthPreparer

func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

GetVpnclientConnectionHealthPreparer prepares the GetVpnclientConnectionHealth request.

func (VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthResponder

func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthResponder(resp *http.Response) (result VpnClientConnectionHealthDetailListResult, err error)

GetVpnclientConnectionHealthResponder handles the response to the GetVpnclientConnectionHealth request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthSender

func (client VirtualNetworkGatewaysClient) GetVpnclientConnectionHealthSender(req *http.Request) (future VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture, err error)

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

func (VirtualNetworkGatewaysClient) GetVpnclientIpsecParameters

func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture, err error)

GetVpnclientIpsecParameters the Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the virtual network gateway name.

func (VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersPreparer

func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

GetVpnclientIpsecParametersPreparer prepares the GetVpnclientIpsecParameters request.

func (VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersResponder

func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersResponder(resp *http.Response) (result VpnClientIPsecParameters, err error)

GetVpnclientIpsecParametersResponder handles the response to the GetVpnclientIpsecParameters request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersSender

func (client VirtualNetworkGatewaysClient) GetVpnclientIpsecParametersSender(req *http.Request) (future VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture, err error)

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

func (VirtualNetworkGatewaysClient) List

func (client VirtualNetworkGatewaysClient) List(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultPage, err error)

List gets all virtual network gateways by resource group. Parameters: resourceGroupName - the name of the resource group.

func (VirtualNetworkGatewaysClient) ListComplete

func (client VirtualNetworkGatewaysClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkGatewayListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkGatewaysClient) ListConnections

func (client VirtualNetworkGatewaysClient) ListConnections(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewayListConnectionsResultPage, err error)

ListConnections gets all the connections in a virtual network gateway. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) ListConnectionsComplete

func (client VirtualNetworkGatewaysClient) ListConnectionsComplete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewayListConnectionsResultIterator, err error)

ListConnectionsComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkGatewaysClient) ListConnectionsPreparer

func (client VirtualNetworkGatewaysClient) ListConnectionsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

ListConnectionsPreparer prepares the ListConnections request.

func (VirtualNetworkGatewaysClient) ListConnectionsResponder

func (client VirtualNetworkGatewaysClient) ListConnectionsResponder(resp *http.Response) (result VirtualNetworkGatewayListConnectionsResult, err error)

ListConnectionsResponder handles the response to the ListConnections request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) ListConnectionsSender

func (client VirtualNetworkGatewaysClient) ListConnectionsSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewaysClient) ListPreparer

func (client VirtualNetworkGatewaysClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string) (result VirtualNetworkGatewaysResetFuture, err error)

Reset resets the primary of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. gatewayVip - virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.

func (VirtualNetworkGatewaysClient) ResetPreparer

func (client VirtualNetworkGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string) (*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) (future VirtualNetworkGatewaysResetFuture, err error)

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

func (VirtualNetworkGatewaysClient) ResetVpnClientSharedKey

func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result VirtualNetworkGatewaysResetVpnClientSharedKeyFuture, err error)

ResetVpnClientSharedKey resets the VPN client shared key of the virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyPreparer

func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

ResetVpnClientSharedKeyPreparer prepares the ResetVpnClientSharedKey request.

func (VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyResponder

func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKeyResponder(resp *http.Response) (result autorest.Response, err error)

ResetVpnClientSharedKeyResponder handles the response to the ResetVpnClientSharedKey request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) ResetVpnClientSharedKeySender

func (client VirtualNetworkGatewaysClient) ResetVpnClientSharedKeySender(req *http.Request) (future VirtualNetworkGatewaysResetVpnClientSharedKeyFuture, err error)

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

func (VirtualNetworkGatewaysClient) SetVpnclientIpsecParameters

func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, vpnclientIpsecParams VpnClientIPsecParameters) (result VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture, err error)

SetVpnclientIpsecParameters the Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. vpnclientIpsecParams - parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.

func (VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersPreparer

func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, vpnclientIpsecParams VpnClientIPsecParameters) (*http.Request, error)

SetVpnclientIpsecParametersPreparer prepares the SetVpnclientIpsecParameters request.

func (VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersResponder

func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersResponder(resp *http.Response) (result VpnClientIPsecParameters, err error)

SetVpnclientIpsecParametersResponder handles the response to the SetVpnclientIpsecParameters request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersSender

func (client VirtualNetworkGatewaysClient) SetVpnclientIpsecParametersSender(req *http.Request) (future VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture, err error)

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

func (VirtualNetworkGatewaysClient) StartPacketCapture

func (client VirtualNetworkGatewaysClient) StartPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters *VpnPacketCaptureStartParameters) (result VirtualNetworkGatewaysStartPacketCaptureFuture, err error)

StartPacketCapture starts packet capture on virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - virtual network gateway packet capture parameters supplied to start packet capture on gateway.

func (VirtualNetworkGatewaysClient) StartPacketCapturePreparer

func (client VirtualNetworkGatewaysClient) StartPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters *VpnPacketCaptureStartParameters) (*http.Request, error)

StartPacketCapturePreparer prepares the StartPacketCapture request.

func (VirtualNetworkGatewaysClient) StartPacketCaptureResponder

func (client VirtualNetworkGatewaysClient) StartPacketCaptureResponder(resp *http.Response) (result String, err error)

StartPacketCaptureResponder handles the response to the StartPacketCapture request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) StartPacketCaptureSender

func (client VirtualNetworkGatewaysClient) StartPacketCaptureSender(req *http.Request) (future VirtualNetworkGatewaysStartPacketCaptureFuture, err error)

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

func (VirtualNetworkGatewaysClient) StopPacketCapture

func (client VirtualNetworkGatewaysClient) StopPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnPacketCaptureStopParameters) (result VirtualNetworkGatewaysStopPacketCaptureFuture, err error)

StopPacketCapture stops packet capture on virtual network gateway in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - virtual network gateway packet capture parameters supplied to stop packet capture on gateway.

func (VirtualNetworkGatewaysClient) StopPacketCapturePreparer

func (client VirtualNetworkGatewaysClient) StopPacketCapturePreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters VpnPacketCaptureStopParameters) (*http.Request, error)

StopPacketCapturePreparer prepares the StopPacketCapture request.

func (VirtualNetworkGatewaysClient) StopPacketCaptureResponder

func (client VirtualNetworkGatewaysClient) StopPacketCaptureResponder(resp *http.Response) (result String, err error)

StopPacketCaptureResponder handles the response to the StopPacketCapture request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) StopPacketCaptureSender

func (client VirtualNetworkGatewaysClient) StopPacketCaptureSender(req *http.Request) (future VirtualNetworkGatewaysStopPacketCaptureFuture, err error)

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

func (VirtualNetworkGatewaysClient) SupportedVpnDevices

func (client VirtualNetworkGatewaysClient) SupportedVpnDevices(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result String, err error)

SupportedVpnDevices gets a xml format representation for supported vpn devices. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway.

func (VirtualNetworkGatewaysClient) SupportedVpnDevicesPreparer

func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (*http.Request, error)

SupportedVpnDevicesPreparer prepares the SupportedVpnDevices request.

func (VirtualNetworkGatewaysClient) SupportedVpnDevicesResponder

func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesResponder(resp *http.Response) (result String, err error)

SupportedVpnDevicesResponder handles the response to the SupportedVpnDevices request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) SupportedVpnDevicesSender

func (client VirtualNetworkGatewaysClient) SupportedVpnDevicesSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkGatewaysClient) UpdateTags

func (client VirtualNetworkGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters TagsObject) (result VirtualNetworkGatewaysUpdateTagsFuture, err error)

UpdateTags updates a virtual network gateway tags. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayName - the name of the virtual network gateway. parameters - parameters supplied to update virtual network gateway tags.

func (VirtualNetworkGatewaysClient) UpdateTagsPreparer

func (client VirtualNetworkGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualNetworkGatewaysClient) UpdateTagsResponder

func (client VirtualNetworkGatewaysClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkGateway, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) UpdateTagsSender

func (client VirtualNetworkGatewaysClient) UpdateTagsSender(req *http.Request) (future VirtualNetworkGatewaysUpdateTagsFuture, err error)

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

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScript(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (result String, err error)

VpnDeviceConfigurationScript gets a xml format representation for vpn device configuration script. Parameters: resourceGroupName - the name of the resource group. virtualNetworkGatewayConnectionName - the name of the virtual network gateway connection for which the configuration script is generated. parameters - parameters supplied to the generate vpn device script operation.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptPreparer

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptPreparer(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters VpnDeviceScriptParameters) (*http.Request, error)

VpnDeviceConfigurationScriptPreparer prepares the VpnDeviceConfigurationScript request.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptResponder

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptResponder(resp *http.Response) (result String, err error)

VpnDeviceConfigurationScriptResponder handles the response to the VpnDeviceConfigurationScript request. The method always closes the http.Response Body.

func (VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptSender

func (client VirtualNetworkGatewaysClient) VpnDeviceConfigurationScriptSender(req *http.Request) (*http.Response, error)

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

type VirtualNetworkGatewaysCreateOrUpdateFuture

type VirtualNetworkGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworkGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysDeleteFuture

type VirtualNetworkGatewaysDeleteFuture struct {
	azure.Future
}

VirtualNetworkGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGenerateVpnProfileFuture

type VirtualNetworkGatewaysGenerateVpnProfileFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGenerateVpnProfileFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGenerateVpnProfileFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGeneratevpnclientpackageFuture

type VirtualNetworkGatewaysGeneratevpnclientpackageFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGeneratevpnclientpackageFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGeneratevpnclientpackageFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGetAdvertisedRoutesFuture

type VirtualNetworkGatewaysGetAdvertisedRoutesFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGetAdvertisedRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGetAdvertisedRoutesFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGetBgpPeerStatusFuture

type VirtualNetworkGatewaysGetBgpPeerStatusFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGetBgpPeerStatusFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGetBgpPeerStatusFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGetLearnedRoutesFuture

type VirtualNetworkGatewaysGetLearnedRoutesFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGetLearnedRoutesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGetLearnedRoutesFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGetVpnProfilePackageURLFuture

type VirtualNetworkGatewaysGetVpnProfilePackageURLFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGetVpnProfilePackageURLFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGetVpnProfilePackageURLFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture

type VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGetVpnclientConnectionHealthFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture

type VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture struct {
	azure.Future
}

VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysResetFuture

type VirtualNetworkGatewaysResetFuture struct {
	azure.Future
}

VirtualNetworkGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysResetFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysResetVpnClientSharedKeyFuture

type VirtualNetworkGatewaysResetVpnClientSharedKeyFuture struct {
	azure.Future
}

VirtualNetworkGatewaysResetVpnClientSharedKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysResetVpnClientSharedKeyFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture

type VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture struct {
	azure.Future
}

VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysStartPacketCaptureFuture

type VirtualNetworkGatewaysStartPacketCaptureFuture struct {
	azure.Future
}

VirtualNetworkGatewaysStartPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysStartPacketCaptureFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysStopPacketCaptureFuture

type VirtualNetworkGatewaysStopPacketCaptureFuture struct {
	azure.Future
}

VirtualNetworkGatewaysStopPacketCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysStopPacketCaptureFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkGatewaysUpdateTagsFuture

type VirtualNetworkGatewaysUpdateTagsFuture struct {
	azure.Future
}

VirtualNetworkGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkGatewaysUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkListResult

type VirtualNetworkListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of VirtualNetwork resources in a resource group.
	Value *[]VirtualNetwork `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkListResult response for the ListVirtualNetworks API service call.

func (VirtualNetworkListResult) IsEmpty

func (vnlr VirtualNetworkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkListResultIterator

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

VirtualNetworkListResultIterator provides access to a complete listing of VirtualNetwork values.

func NewVirtualNetworkListResultIterator

func NewVirtualNetworkListResultIterator(page VirtualNetworkListResultPage) VirtualNetworkListResultIterator

Creates a new instance of the VirtualNetworkListResultIterator type.

func (*VirtualNetworkListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkListResultIterator) NextWithContext

func (iter *VirtualNetworkListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkListResultIterator) NotDone

func (iter VirtualNetworkListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkListResultPage

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

VirtualNetworkListResultPage contains a page of VirtualNetwork values.

func NewVirtualNetworkListResultPage

func NewVirtualNetworkListResultPage(getNextPage func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error)) VirtualNetworkListResultPage

Creates a new instance of the VirtualNetworkListResultPage type.

func (*VirtualNetworkListResultPage) Next

func (page *VirtualNetworkListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkListResultPage) NextWithContext

func (page *VirtualNetworkListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkListResultPage) NotDone

func (page VirtualNetworkListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkListUsageResult

type VirtualNetworkListUsageResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; VirtualNetwork usage stats.
	Value *[]VirtualNetworkUsage `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkListUsageResult response for the virtual networks GetUsage API service call.

func (VirtualNetworkListUsageResult) IsEmpty

func (vnlur VirtualNetworkListUsageResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkListUsageResultIterator

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

VirtualNetworkListUsageResultIterator provides access to a complete listing of VirtualNetworkUsage values.

func NewVirtualNetworkListUsageResultIterator

func NewVirtualNetworkListUsageResultIterator(page VirtualNetworkListUsageResultPage) VirtualNetworkListUsageResultIterator

Creates a new instance of the VirtualNetworkListUsageResultIterator type.

func (*VirtualNetworkListUsageResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkListUsageResultIterator) NextWithContext

func (iter *VirtualNetworkListUsageResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkListUsageResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkListUsageResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkListUsageResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkListUsageResultPage

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

VirtualNetworkListUsageResultPage contains a page of VirtualNetworkUsage values.

func NewVirtualNetworkListUsageResultPage

Creates a new instance of the VirtualNetworkListUsageResultPage type.

func (*VirtualNetworkListUsageResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkListUsageResultPage) NextWithContext

func (page *VirtualNetworkListUsageResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkListUsageResultPage) NotDone

func (page VirtualNetworkListUsageResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkListUsageResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkListUsageResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkPeering

type VirtualNetworkPeering struct {
	autorest.Response `json:"-"`
	// VirtualNetworkPeeringPropertiesFormat - Properties of the virtual network peering.
	*VirtualNetworkPeeringPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VirtualNetworkPeering peerings in a virtual network resource.

func (VirtualNetworkPeering) MarshalJSON

func (vnp VirtualNetworkPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkPeering.

func (*VirtualNetworkPeering) UnmarshalJSON

func (vnp *VirtualNetworkPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkPeering struct.

type VirtualNetworkPeeringListResult

type VirtualNetworkPeeringListResult struct {
	autorest.Response `json:"-"`
	// Value - The peerings in a virtual network.
	Value *[]VirtualNetworkPeering `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkPeeringListResult response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network.

func (VirtualNetworkPeeringListResult) IsEmpty

func (vnplr VirtualNetworkPeeringListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkPeeringListResultIterator

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

VirtualNetworkPeeringListResultIterator provides access to a complete listing of VirtualNetworkPeering values.

func NewVirtualNetworkPeeringListResultIterator

func NewVirtualNetworkPeeringListResultIterator(page VirtualNetworkPeeringListResultPage) VirtualNetworkPeeringListResultIterator

Creates a new instance of the VirtualNetworkPeeringListResultIterator type.

func (*VirtualNetworkPeeringListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkPeeringListResultIterator) NextWithContext

func (iter *VirtualNetworkPeeringListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkPeeringListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkPeeringListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkPeeringListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkPeeringListResultPage

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

VirtualNetworkPeeringListResultPage contains a page of VirtualNetworkPeering values.

func NewVirtualNetworkPeeringListResultPage

Creates a new instance of the VirtualNetworkPeeringListResultPage type.

func (*VirtualNetworkPeeringListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkPeeringListResultPage) NextWithContext

func (page *VirtualNetworkPeeringListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkPeeringListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkPeeringListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkPeeringListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkPeeringPropertiesFormat

type VirtualNetworkPeeringPropertiesFormat struct {
	// AllowVirtualNetworkAccess - Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
	AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"`
	// AllowForwardedTraffic - Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
	AllowForwardedTraffic *bool `json:"allowForwardedTraffic,omitempty"`
	// AllowGatewayTransit - If gateway links can be used in remote virtual networking to link to this virtual network.
	AllowGatewayTransit *bool `json:"allowGatewayTransit,omitempty"`
	// UseRemoteGateways - If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
	UseRemoteGateways *bool `json:"useRemoteGateways,omitempty"`
	// RemoteVirtualNetwork - The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).
	RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"`
	// RemoteAddressSpace - The reference of the remote virtual network address space.
	RemoteAddressSpace *AddressSpace `json:"remoteAddressSpace,omitempty"`
	// PeeringState - The status of the virtual network peering. Possible values include: 'VirtualNetworkPeeringStateInitiated', 'VirtualNetworkPeeringStateConnected', 'VirtualNetworkPeeringStateDisconnected'
	PeeringState VirtualNetworkPeeringState `json:"peeringState,omitempty"`
	// ProvisioningState - The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VirtualNetworkPeeringPropertiesFormat properties of the virtual network peering.

type VirtualNetworkPeeringState

type VirtualNetworkPeeringState string

VirtualNetworkPeeringState enumerates the values for virtual network peering state.

const (
	// VirtualNetworkPeeringStateConnected ...
	VirtualNetworkPeeringStateConnected VirtualNetworkPeeringState = "Connected"
	// VirtualNetworkPeeringStateDisconnected ...
	VirtualNetworkPeeringStateDisconnected VirtualNetworkPeeringState = "Disconnected"
	// VirtualNetworkPeeringStateInitiated ...
	VirtualNetworkPeeringStateInitiated VirtualNetworkPeeringState = "Initiated"
)

func PossibleVirtualNetworkPeeringStateValues

func PossibleVirtualNetworkPeeringStateValues() []VirtualNetworkPeeringState

PossibleVirtualNetworkPeeringStateValues returns an array of possible values for the VirtualNetworkPeeringState const type.

type VirtualNetworkPeeringsClient

type VirtualNetworkPeeringsClient struct {
	BaseClient
}

VirtualNetworkPeeringsClient is the network Client

func NewVirtualNetworkPeeringsClient

func NewVirtualNetworkPeeringsClient(subscriptionID string) VirtualNetworkPeeringsClient

NewVirtualNetworkPeeringsClient creates an instance of the VirtualNetworkPeeringsClient client.

func NewVirtualNetworkPeeringsClientWithBaseURI

func NewVirtualNetworkPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkPeeringsClient

NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkPeeringsClient) CreateOrUpdate

func (client VirtualNetworkPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering) (result VirtualNetworkPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a peering in the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. virtualNetworkPeeringName - the name of the peering. virtualNetworkPeeringParameters - parameters supplied to the create or update virtual network peering operation.

func (VirtualNetworkPeeringsClient) CreateOrUpdatePreparer

func (client VirtualNetworkPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string, virtualNetworkPeeringParameters VirtualNetworkPeering) (*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) (future VirtualNetworkPeeringsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeeringsDeleteFuture, err error)

Delete deletes the specified virtual network peering. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. virtualNetworkPeeringName - the name of the virtual network peering.

func (VirtualNetworkPeeringsClient) DeletePreparer

func (client VirtualNetworkPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (*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) (future VirtualNetworkPeeringsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result VirtualNetworkPeering, err error)

Get gets the specified virtual network peering. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. virtualNetworkPeeringName - the name of the virtual network peering.

func (VirtualNetworkPeeringsClient) GetPreparer

func (client VirtualNetworkPeeringsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkPeeringListResultPage, err error)

List gets all virtual network peerings in a virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.

func (VirtualNetworkPeeringsClient) ListComplete

func (client VirtualNetworkPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkPeeringListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkPeeringsClient) ListPreparer

func (client VirtualNetworkPeeringsClient) ListPreparer(ctx context.Context, 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 VirtualNetworkPeeringsCreateOrUpdateFuture

type VirtualNetworkPeeringsCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworkPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkPeeringsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkPeeringsDeleteFuture

type VirtualNetworkPeeringsDeleteFuture struct {
	azure.Future
}

VirtualNetworkPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkPeeringsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkPropertiesFormat

type VirtualNetworkPropertiesFormat struct {
	// AddressSpace - The AddressSpace that contains an array of IP address ranges that can be used by subnets.
	AddressSpace *AddressSpace `json:"addressSpace,omitempty"`
	// DhcpOptions - The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.
	DhcpOptions *DhcpOptions `json:"dhcpOptions,omitempty"`
	// Subnets - A list of subnets in a Virtual Network.
	Subnets *[]Subnet `json:"subnets,omitempty"`
	// VirtualNetworkPeerings - A list of peerings in a Virtual Network.
	VirtualNetworkPeerings *[]VirtualNetworkPeering `json:"virtualNetworkPeerings,omitempty"`
	// ResourceGUID - The resourceGuid property of the Virtual Network resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the virtual network resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// EnableDdosProtection - Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.
	EnableDdosProtection *bool `json:"enableDdosProtection,omitempty"`
	// EnableVMProtection - Indicates if VM protection is enabled for all the subnets in the virtual network.
	EnableVMProtection *bool `json:"enableVmProtection,omitempty"`
	// DdosProtectionPlan - The DDoS protection plan associated with the virtual network.
	DdosProtectionPlan *SubResource `json:"ddosProtectionPlan,omitempty"`
	// BgpCommunities - Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.
	BgpCommunities *VirtualNetworkBgpCommunities `json:"bgpCommunities,omitempty"`
}

VirtualNetworkPropertiesFormat properties of the virtual network.

type VirtualNetworkTap

type VirtualNetworkTap struct {
	autorest.Response `json:"-"`
	// VirtualNetworkTapPropertiesFormat - Virtual Network Tap Properties.
	*VirtualNetworkTapPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualNetworkTap virtual Network Tap resource.

func (VirtualNetworkTap) MarshalJSON

func (vnt VirtualNetworkTap) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkTap.

func (*VirtualNetworkTap) UnmarshalJSON

func (vnt *VirtualNetworkTap) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetworkTap struct.

type VirtualNetworkTapListResult

type VirtualNetworkTapListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of VirtualNetworkTaps in a resource group.
	Value *[]VirtualNetworkTap `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualNetworkTapListResult response for ListVirtualNetworkTap API service call.

func (VirtualNetworkTapListResult) IsEmpty

func (vntlr VirtualNetworkTapListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkTapListResultIterator

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

VirtualNetworkTapListResultIterator provides access to a complete listing of VirtualNetworkTap values.

func NewVirtualNetworkTapListResultIterator

func NewVirtualNetworkTapListResultIterator(page VirtualNetworkTapListResultPage) VirtualNetworkTapListResultIterator

Creates a new instance of the VirtualNetworkTapListResultIterator type.

func (*VirtualNetworkTapListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkTapListResultIterator) NextWithContext

func (iter *VirtualNetworkTapListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualNetworkTapListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualNetworkTapListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkTapListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualNetworkTapListResultPage

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

VirtualNetworkTapListResultPage contains a page of VirtualNetworkTap values.

func NewVirtualNetworkTapListResultPage

func NewVirtualNetworkTapListResultPage(getNextPage func(context.Context, VirtualNetworkTapListResult) (VirtualNetworkTapListResult, error)) VirtualNetworkTapListResultPage

Creates a new instance of the VirtualNetworkTapListResultPage type.

func (*VirtualNetworkTapListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualNetworkTapListResultPage) NextWithContext

func (page *VirtualNetworkTapListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualNetworkTapListResultPage) NotDone

func (page VirtualNetworkTapListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualNetworkTapListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualNetworkTapListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualNetworkTapPropertiesFormat

type VirtualNetworkTapPropertiesFormat struct {
	// NetworkInterfaceTapConfigurations - READ-ONLY; Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.
	NetworkInterfaceTapConfigurations *[]InterfaceTapConfiguration `json:"networkInterfaceTapConfigurations,omitempty"`
	// ResourceGUID - READ-ONLY; The resource GUID property of the virtual network tap resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the virtual network tap resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// DestinationNetworkInterfaceIPConfiguration - The reference to the private IP Address of the collector nic that will receive the tap.
	DestinationNetworkInterfaceIPConfiguration *InterfaceIPConfiguration `json:"destinationNetworkInterfaceIPConfiguration,omitempty"`
	// DestinationLoadBalancerFrontEndIPConfiguration - The reference to the private IP address on the internal Load Balancer that will receive the tap.
	DestinationLoadBalancerFrontEndIPConfiguration *FrontendIPConfiguration `json:"destinationLoadBalancerFrontEndIPConfiguration,omitempty"`
	// DestinationPort - The VXLAN destination port that will receive the tapped traffic.
	DestinationPort *int32 `json:"destinationPort,omitempty"`
}

VirtualNetworkTapPropertiesFormat virtual Network Tap properties.

type VirtualNetworkTapsClient

type VirtualNetworkTapsClient struct {
	BaseClient
}

VirtualNetworkTapsClient is the network Client

func NewVirtualNetworkTapsClient

func NewVirtualNetworkTapsClient(subscriptionID string) VirtualNetworkTapsClient

NewVirtualNetworkTapsClient creates an instance of the VirtualNetworkTapsClient client.

func NewVirtualNetworkTapsClientWithBaseURI

func NewVirtualNetworkTapsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkTapsClient

NewVirtualNetworkTapsClientWithBaseURI creates an instance of the VirtualNetworkTapsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkTapsClient) CreateOrUpdate

func (client VirtualNetworkTapsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, tapName string, parameters VirtualNetworkTap) (result VirtualNetworkTapsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a Virtual Network Tap. Parameters: resourceGroupName - the name of the resource group. tapName - the name of the virtual network tap. parameters - parameters supplied to the create or update virtual network tap operation.

func (VirtualNetworkTapsClient) CreateOrUpdatePreparer

func (client VirtualNetworkTapsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, tapName string, parameters VirtualNetworkTap) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualNetworkTapsClient) CreateOrUpdateResponder

func (client VirtualNetworkTapsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualNetworkTap, err error)

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

func (VirtualNetworkTapsClient) CreateOrUpdateSender

func (client VirtualNetworkTapsClient) CreateOrUpdateSender(req *http.Request) (future VirtualNetworkTapsCreateOrUpdateFuture, err error)

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

func (VirtualNetworkTapsClient) Delete

func (client VirtualNetworkTapsClient) Delete(ctx context.Context, resourceGroupName string, tapName string) (result VirtualNetworkTapsDeleteFuture, err error)

Delete deletes the specified virtual network tap. Parameters: resourceGroupName - the name of the resource group. tapName - the name of the virtual network tap.

func (VirtualNetworkTapsClient) DeletePreparer

func (client VirtualNetworkTapsClient) DeletePreparer(ctx context.Context, resourceGroupName string, tapName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualNetworkTapsClient) DeleteResponder

func (client VirtualNetworkTapsClient) 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 (VirtualNetworkTapsClient) DeleteSender

func (client VirtualNetworkTapsClient) DeleteSender(req *http.Request) (future VirtualNetworkTapsDeleteFuture, err error)

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

func (VirtualNetworkTapsClient) Get

func (client VirtualNetworkTapsClient) Get(ctx context.Context, resourceGroupName string, tapName string) (result VirtualNetworkTap, err error)

Get gets information about the specified virtual network tap. Parameters: resourceGroupName - the name of the resource group. tapName - the name of virtual network tap.

func (VirtualNetworkTapsClient) GetPreparer

func (client VirtualNetworkTapsClient) GetPreparer(ctx context.Context, resourceGroupName string, tapName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkTapsClient) GetResponder

func (client VirtualNetworkTapsClient) GetResponder(resp *http.Response) (result VirtualNetworkTap, err error)

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

func (VirtualNetworkTapsClient) GetSender

func (client VirtualNetworkTapsClient) 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 (VirtualNetworkTapsClient) ListAll

ListAll gets all the VirtualNetworkTaps in a subscription.

func (VirtualNetworkTapsClient) ListAllComplete

func (client VirtualNetworkTapsClient) ListAllComplete(ctx context.Context) (result VirtualNetworkTapListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkTapsClient) ListAllPreparer

func (client VirtualNetworkTapsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualNetworkTapsClient) ListAllResponder

func (client VirtualNetworkTapsClient) ListAllResponder(resp *http.Response) (result VirtualNetworkTapListResult, err error)

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

func (VirtualNetworkTapsClient) ListAllSender

func (client VirtualNetworkTapsClient) 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 (VirtualNetworkTapsClient) ListByResourceGroup

func (client VirtualNetworkTapsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualNetworkTapListResultPage, err error)

ListByResourceGroup gets all the VirtualNetworkTaps in a subscription. Parameters: resourceGroupName - the name of the resource group.

func (VirtualNetworkTapsClient) ListByResourceGroupComplete

func (client VirtualNetworkTapsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkTapListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworkTapsClient) ListByResourceGroupPreparer

func (client VirtualNetworkTapsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualNetworkTapsClient) ListByResourceGroupResponder

func (client VirtualNetworkTapsClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualNetworkTapListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualNetworkTapsClient) ListByResourceGroupSender

func (client VirtualNetworkTapsClient) 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 (VirtualNetworkTapsClient) UpdateTags

func (client VirtualNetworkTapsClient) UpdateTags(ctx context.Context, resourceGroupName string, tapName string, tapParameters TagsObject) (result VirtualNetworkTapsUpdateTagsFuture, err error)

UpdateTags updates an VirtualNetworkTap tags. Parameters: resourceGroupName - the name of the resource group. tapName - the name of the tap. tapParameters - parameters supplied to update VirtualNetworkTap tags.

func (VirtualNetworkTapsClient) UpdateTagsPreparer

func (client VirtualNetworkTapsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, tapName string, tapParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualNetworkTapsClient) UpdateTagsResponder

func (client VirtualNetworkTapsClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetworkTap, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualNetworkTapsClient) UpdateTagsSender

func (client VirtualNetworkTapsClient) UpdateTagsSender(req *http.Request) (future VirtualNetworkTapsUpdateTagsFuture, err error)

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

type VirtualNetworkTapsCreateOrUpdateFuture

type VirtualNetworkTapsCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworkTapsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkTapsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkTapsDeleteFuture

type VirtualNetworkTapsDeleteFuture struct {
	azure.Future
}

VirtualNetworkTapsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkTapsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkTapsUpdateTagsFuture

type VirtualNetworkTapsUpdateTagsFuture struct {
	azure.Future
}

VirtualNetworkTapsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworkTapsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworkUsage

type VirtualNetworkUsage struct {
	// CurrentValue - READ-ONLY; Indicates number of IPs used from the Subnet.
	CurrentValue *float64 `json:"currentValue,omitempty"`
	// ID - READ-ONLY; Subnet identifier.
	ID *string `json:"id,omitempty"`
	// Limit - READ-ONLY; Indicates the size of the subnet.
	Limit *float64 `json:"limit,omitempty"`
	// Name - READ-ONLY; The name containing common and localized value for usage.
	Name *VirtualNetworkUsageName `json:"name,omitempty"`
	// Unit - READ-ONLY; Usage units. Returns 'Count'.
	Unit *string `json:"unit,omitempty"`
}

VirtualNetworkUsage usage details for subnet.

type VirtualNetworkUsageName

type VirtualNetworkUsageName struct {
	// LocalizedValue - READ-ONLY; Localized subnet size and usage string.
	LocalizedValue *string `json:"localizedValue,omitempty"`
	// Value - READ-ONLY; Subnet size and usage string.
	Value *string `json:"value,omitempty"`
}

VirtualNetworkUsageName usage strings container.

type VirtualNetworksClient

type VirtualNetworksClient struct {
	BaseClient
}

VirtualNetworksClient is the network Client

func NewVirtualNetworksClient

func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient

NewVirtualNetworksClient creates an instance of the VirtualNetworksClient client.

func NewVirtualNetworksClientWithBaseURI

func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient

NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworksClient) CheckIPAddressAvailability

func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, IPAddress string) (result IPAddressAvailabilityResult, err error)

CheckIPAddressAvailability checks whether a private IP address is available for use. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. IPAddress - the private IP address to be verified.

func (VirtualNetworksClient) CheckIPAddressAvailabilityPreparer

func (client VirtualNetworksClient) CheckIPAddressAvailabilityPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (result VirtualNetworksCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a virtual network in the specified resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. parameters - parameters supplied to the create or update virtual network operation.

func (VirtualNetworksClient) CreateOrUpdatePreparer

func (client VirtualNetworksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters VirtualNetwork) (*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) (future VirtualNetworksCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworksDeleteFuture, err error)

Delete deletes the specified virtual network. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.

func (VirtualNetworksClient) DeletePreparer

func (client VirtualNetworksClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*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) (future VirtualNetworksDeleteFuture, err 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(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result VirtualNetwork, err error)

Get gets the specified virtual network by resource group. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. expand - expands referenced resources.

func (VirtualNetworksClient) GetPreparer

func (client VirtualNetworksClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultPage, err error)

List gets all virtual networks in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (VirtualNetworksClient) ListAll

func (client VirtualNetworksClient) ListAll(ctx context.Context) (result VirtualNetworkListResultPage, err error)

ListAll gets all virtual networks in a subscription.

func (VirtualNetworksClient) ListAllComplete

func (client VirtualNetworksClient) ListAllComplete(ctx context.Context) (result VirtualNetworkListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworksClient) ListAllPreparer

func (client VirtualNetworksClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualNetworksClient) ListAllResponder

func (client VirtualNetworksClient) ListAllResponder(resp *http.Response) (result VirtualNetworkListResult, err error)

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

func (VirtualNetworksClient) ListAllSender

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

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

func (VirtualNetworksClient) ListComplete

func (client VirtualNetworksClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualNetworkListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworksClient) ListPreparer

func (client VirtualNetworksClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworksClient) ListResponder

func (client VirtualNetworksClient) ListResponder(resp *http.Response) (result VirtualNetworkListResult, err error)

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

func (VirtualNetworksClient) ListSender

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

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

func (VirtualNetworksClient) ListUsage

func (client VirtualNetworksClient) ListUsage(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkListUsageResultPage, err error)

ListUsage lists usage stats. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network.

func (VirtualNetworksClient) ListUsageComplete

func (client VirtualNetworksClient) ListUsageComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result VirtualNetworkListUsageResultIterator, err error)

ListUsageComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualNetworksClient) ListUsagePreparer

func (client VirtualNetworksClient) ListUsagePreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string) (*http.Request, error)

ListUsagePreparer prepares the ListUsage request.

func (VirtualNetworksClient) ListUsageResponder

func (client VirtualNetworksClient) ListUsageResponder(resp *http.Response) (result VirtualNetworkListUsageResult, err error)

ListUsageResponder handles the response to the ListUsage request. The method always closes the http.Response Body.

func (VirtualNetworksClient) ListUsageSender

func (client VirtualNetworksClient) ListUsageSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworksClient) UpdateTags

func (client VirtualNetworksClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters TagsObject) (result VirtualNetworksUpdateTagsFuture, err error)

UpdateTags updates a virtual network tags. Parameters: resourceGroupName - the name of the resource group. virtualNetworkName - the name of the virtual network. parameters - parameters supplied to update virtual network tags.

func (VirtualNetworksClient) UpdateTagsPreparer

func (client VirtualNetworksClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualNetworksClient) UpdateTagsResponder

func (client VirtualNetworksClient) UpdateTagsResponder(resp *http.Response) (result VirtualNetwork, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualNetworksClient) UpdateTagsSender

func (client VirtualNetworksClient) UpdateTagsSender(req *http.Request) (future VirtualNetworksUpdateTagsFuture, err error)

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

type VirtualNetworksCreateOrUpdateFuture

type VirtualNetworksCreateOrUpdateFuture struct {
	azure.Future
}

VirtualNetworksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworksCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworksDeleteFuture

type VirtualNetworksDeleteFuture struct {
	azure.Future
}

VirtualNetworksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworksDeleteFuture) Result

func (future *VirtualNetworksDeleteFuture) Result(client VirtualNetworksClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetworksUpdateTagsFuture

type VirtualNetworksUpdateTagsFuture struct {
	azure.Future
}

VirtualNetworksUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualNetworksUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualRouter

type VirtualRouter struct {
	autorest.Response `json:"-"`
	// VirtualRouterPropertiesFormat - Properties of the Virtual Router.
	*VirtualRouterPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; Gets a unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualRouter virtualRouter Resource.

func (VirtualRouter) MarshalJSON

func (vr VirtualRouter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualRouter.

func (*VirtualRouter) UnmarshalJSON

func (vr *VirtualRouter) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualRouter struct.

type VirtualRouterListResult

type VirtualRouterListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Virtual Routers.
	Value *[]VirtualRouter `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualRouterListResult response for ListVirtualRouters API service call.

func (VirtualRouterListResult) IsEmpty

func (vrlr VirtualRouterListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualRouterListResultIterator

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

VirtualRouterListResultIterator provides access to a complete listing of VirtualRouter values.

func NewVirtualRouterListResultIterator

func NewVirtualRouterListResultIterator(page VirtualRouterListResultPage) VirtualRouterListResultIterator

Creates a new instance of the VirtualRouterListResultIterator type.

func (*VirtualRouterListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualRouterListResultIterator) NextWithContext

func (iter *VirtualRouterListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualRouterListResultIterator) NotDone

func (iter VirtualRouterListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualRouterListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualRouterListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualRouterListResultPage

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

VirtualRouterListResultPage contains a page of VirtualRouter values.

func NewVirtualRouterListResultPage

func NewVirtualRouterListResultPage(getNextPage func(context.Context, VirtualRouterListResult) (VirtualRouterListResult, error)) VirtualRouterListResultPage

Creates a new instance of the VirtualRouterListResultPage type.

func (*VirtualRouterListResultPage) Next

func (page *VirtualRouterListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualRouterListResultPage) NextWithContext

func (page *VirtualRouterListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualRouterListResultPage) NotDone

func (page VirtualRouterListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualRouterListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualRouterListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualRouterPeering

type VirtualRouterPeering struct {
	autorest.Response `json:"-"`
	// VirtualRouterPeeringProperties - The properties of the Virtual Router Peering.
	*VirtualRouterPeeringProperties `json:"properties,omitempty"`
	// Name - Gets name of the peering unique to VirtualRouter. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; Gets a unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Peering type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VirtualRouterPeering virtual Router Peering resource

func (VirtualRouterPeering) MarshalJSON

func (vrp VirtualRouterPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualRouterPeering.

func (*VirtualRouterPeering) UnmarshalJSON

func (vrp *VirtualRouterPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualRouterPeering struct.

type VirtualRouterPeeringListResult

type VirtualRouterPeeringListResult struct {
	autorest.Response `json:"-"`
	// Value - List of VirtualRouterPeerings in a VirtualRouter.
	Value *[]VirtualRouterPeering `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

VirtualRouterPeeringListResult response for ListVirtualRouterPeerings API service call.

func (VirtualRouterPeeringListResult) IsEmpty

func (vrplr VirtualRouterPeeringListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualRouterPeeringListResultIterator

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

VirtualRouterPeeringListResultIterator provides access to a complete listing of VirtualRouterPeering values.

func NewVirtualRouterPeeringListResultIterator

func NewVirtualRouterPeeringListResultIterator(page VirtualRouterPeeringListResultPage) VirtualRouterPeeringListResultIterator

Creates a new instance of the VirtualRouterPeeringListResultIterator type.

func (*VirtualRouterPeeringListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualRouterPeeringListResultIterator) NextWithContext

func (iter *VirtualRouterPeeringListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualRouterPeeringListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualRouterPeeringListResultIterator) Response

Response returns the raw server response from the last page request.

func (VirtualRouterPeeringListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualRouterPeeringListResultPage

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

VirtualRouterPeeringListResultPage contains a page of VirtualRouterPeering values.

func NewVirtualRouterPeeringListResultPage

Creates a new instance of the VirtualRouterPeeringListResultPage type.

func (*VirtualRouterPeeringListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualRouterPeeringListResultPage) NextWithContext

func (page *VirtualRouterPeeringListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualRouterPeeringListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualRouterPeeringListResultPage) Response

Response returns the raw server response from the last page request.

func (VirtualRouterPeeringListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VirtualRouterPeeringProperties

type VirtualRouterPeeringProperties struct {
	// PeerAsn - Peer ASN.
	PeerAsn *int64 `json:"peerAsn,omitempty"`
	// PeerIP - Peer IP.
	PeerIP *string `json:"peerIp,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VirtualRouterPeeringProperties properties of the rule group.

type VirtualRouterPeeringsClient

type VirtualRouterPeeringsClient struct {
	BaseClient
}

VirtualRouterPeeringsClient is the network Client

func NewVirtualRouterPeeringsClient

func NewVirtualRouterPeeringsClient(subscriptionID string) VirtualRouterPeeringsClient

NewVirtualRouterPeeringsClient creates an instance of the VirtualRouterPeeringsClient client.

func NewVirtualRouterPeeringsClientWithBaseURI

func NewVirtualRouterPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualRouterPeeringsClient

NewVirtualRouterPeeringsClientWithBaseURI creates an instance of the VirtualRouterPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualRouterPeeringsClient) CreateOrUpdate

func (client VirtualRouterPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering) (result VirtualRouterPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified Virtual Router Peering. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. peeringName - the name of the Virtual Router Peering. parameters - parameters supplied to the create or update Virtual Router Peering operation.

func (VirtualRouterPeeringsClient) CreateOrUpdatePreparer

func (client VirtualRouterPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualRouterPeeringsClient) CreateOrUpdateResponder

func (client VirtualRouterPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualRouterPeering, err error)

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

func (VirtualRouterPeeringsClient) CreateOrUpdateSender

func (client VirtualRouterPeeringsClient) CreateOrUpdateSender(req *http.Request) (future VirtualRouterPeeringsCreateOrUpdateFuture, err error)

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

func (VirtualRouterPeeringsClient) Delete

func (client VirtualRouterPeeringsClient) Delete(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (result VirtualRouterPeeringsDeleteFuture, err error)

Delete deletes the specified peering from a Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. peeringName - the name of the peering.

func (VirtualRouterPeeringsClient) DeletePreparer

func (client VirtualRouterPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualRouterPeeringsClient) DeleteResponder

func (client VirtualRouterPeeringsClient) 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 (VirtualRouterPeeringsClient) DeleteSender

func (client VirtualRouterPeeringsClient) DeleteSender(req *http.Request) (future VirtualRouterPeeringsDeleteFuture, err error)

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

func (VirtualRouterPeeringsClient) Get

func (client VirtualRouterPeeringsClient) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (result VirtualRouterPeering, err error)

Get gets the specified Virtual Router Peering. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. peeringName - the name of the Virtual Router Peering.

func (VirtualRouterPeeringsClient) GetPreparer

func (client VirtualRouterPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualRouterPeeringsClient) GetResponder

func (client VirtualRouterPeeringsClient) GetResponder(resp *http.Response) (result VirtualRouterPeering, err error)

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

func (VirtualRouterPeeringsClient) GetSender

func (client VirtualRouterPeeringsClient) 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 (VirtualRouterPeeringsClient) List

func (client VirtualRouterPeeringsClient) List(ctx context.Context, resourceGroupName string, virtualRouterName string) (result VirtualRouterPeeringListResultPage, err error)

List lists all Virtual Router Peerings in a Virtual Router resource. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router.

func (VirtualRouterPeeringsClient) ListComplete

func (client VirtualRouterPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualRouterName string) (result VirtualRouterPeeringListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualRouterPeeringsClient) ListPreparer

func (client VirtualRouterPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualRouterName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualRouterPeeringsClient) ListResponder

func (client VirtualRouterPeeringsClient) ListResponder(resp *http.Response) (result VirtualRouterPeeringListResult, err error)

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

func (VirtualRouterPeeringsClient) ListSender

func (client VirtualRouterPeeringsClient) 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 (VirtualRouterPeeringsClient) Update

func (client VirtualRouterPeeringsClient) Update(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering) (result VirtualRouterPeering, err error)

Update updates a Virtual Router Peering. Parameters: resourceGroupName - the resource group name of the Virtual Router Peering. virtualRouterName - the name of the Virtual Router. peeringName - the name of the Virtual Router Peering being updated. parameters - parameters supplied to update Virtual Router Peering operation.

func (VirtualRouterPeeringsClient) UpdatePreparer

func (client VirtualRouterPeeringsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters VirtualRouterPeering) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualRouterPeeringsClient) UpdateResponder

func (client VirtualRouterPeeringsClient) UpdateResponder(resp *http.Response) (result VirtualRouterPeering, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualRouterPeeringsClient) UpdateSender

func (client VirtualRouterPeeringsClient) 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 VirtualRouterPeeringsCreateOrUpdateFuture

type VirtualRouterPeeringsCreateOrUpdateFuture struct {
	azure.Future
}

VirtualRouterPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualRouterPeeringsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualRouterPeeringsDeleteFuture

type VirtualRouterPeeringsDeleteFuture struct {
	azure.Future
}

VirtualRouterPeeringsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualRouterPeeringsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualRouterPropertiesFormat

type VirtualRouterPropertiesFormat struct {
	// VirtualRouterAsn - VirtualRouter ASN.
	VirtualRouterAsn *int64 `json:"virtualRouterAsn,omitempty"`
	// VirtualRouterIps - VirtualRouter IPs
	VirtualRouterIps *[]string `json:"virtualRouterIps,omitempty"`
	// HostedSubnet - The Subnet on which VirtualRouter is hosted.
	HostedSubnet *SubResource `json:"hostedSubnet,omitempty"`
	// HostedGateway - The Gateway on which VirtualRouter is hosted.
	HostedGateway *SubResource `json:"hostedGateway,omitempty"`
	// Peerings - READ-ONLY; List of references to VirtualRouterPeerings
	Peerings *[]SubResource `json:"peerings,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VirtualRouterPropertiesFormat virtual Router definition

type VirtualRoutersClient

type VirtualRoutersClient struct {
	BaseClient
}

VirtualRoutersClient is the network Client

func NewVirtualRoutersClient

func NewVirtualRoutersClient(subscriptionID string) VirtualRoutersClient

NewVirtualRoutersClient creates an instance of the VirtualRoutersClient client.

func NewVirtualRoutersClientWithBaseURI

func NewVirtualRoutersClientWithBaseURI(baseURI string, subscriptionID string) VirtualRoutersClient

NewVirtualRoutersClientWithBaseURI creates an instance of the VirtualRoutersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualRoutersClient) CreateOrUpdate

func (client VirtualRoutersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters VirtualRouter) (result VirtualRoutersCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates the specified Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. parameters - parameters supplied to the create or update Virtual Router.

func (VirtualRoutersClient) CreateOrUpdatePreparer

func (client VirtualRoutersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters VirtualRouter) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualRoutersClient) CreateOrUpdateResponder

func (client VirtualRoutersClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualRouter, err error)

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

func (VirtualRoutersClient) CreateOrUpdateSender

func (client VirtualRoutersClient) CreateOrUpdateSender(req *http.Request) (future VirtualRoutersCreateOrUpdateFuture, err error)

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

func (VirtualRoutersClient) Delete

func (client VirtualRoutersClient) Delete(ctx context.Context, resourceGroupName string, virtualRouterName string) (result VirtualRoutersDeleteFuture, err error)

Delete deletes the specified Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router.

func (VirtualRoutersClient) DeletePreparer

func (client VirtualRoutersClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualRoutersClient) DeleteResponder

func (client VirtualRoutersClient) 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 (VirtualRoutersClient) DeleteSender

func (client VirtualRoutersClient) DeleteSender(req *http.Request) (future VirtualRoutersDeleteFuture, err error)

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

func (VirtualRoutersClient) Get

func (client VirtualRoutersClient) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, expand string) (result VirtualRouter, err error)

Get gets the specified Virtual Router. Parameters: resourceGroupName - the name of the resource group. virtualRouterName - the name of the Virtual Router. expand - expands referenced resources.

func (VirtualRoutersClient) GetPreparer

func (client VirtualRoutersClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualRoutersClient) GetResponder

func (client VirtualRoutersClient) GetResponder(resp *http.Response) (result VirtualRouter, err error)

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

func (VirtualRoutersClient) GetSender

func (client VirtualRoutersClient) 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 (VirtualRoutersClient) List

func (client VirtualRoutersClient) List(ctx context.Context) (result VirtualRouterListResultPage, err error)

List gets all the Virtual Routers in a subscription.

func (VirtualRoutersClient) ListByResourceGroup

func (client VirtualRoutersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VirtualRouterListResultPage, err error)

ListByResourceGroup lists all Virtual Routers in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (VirtualRoutersClient) ListByResourceGroupComplete

func (client VirtualRoutersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VirtualRouterListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualRoutersClient) ListByResourceGroupPreparer

func (client VirtualRoutersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualRoutersClient) ListByResourceGroupResponder

func (client VirtualRoutersClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualRouterListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualRoutersClient) ListByResourceGroupSender

func (client VirtualRoutersClient) 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 (VirtualRoutersClient) ListComplete

func (client VirtualRoutersClient) ListComplete(ctx context.Context) (result VirtualRouterListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualRoutersClient) ListPreparer

func (client VirtualRoutersClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualRoutersClient) ListResponder

func (client VirtualRoutersClient) ListResponder(resp *http.Response) (result VirtualRouterListResult, err error)

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

func (VirtualRoutersClient) ListSender

func (client VirtualRoutersClient) 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 (VirtualRoutersClient) Update

func (client VirtualRoutersClient) Update(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters TagsObject) (result VirtualRouter, err error)

Update updates a Virtual Router. Parameters: resourceGroupName - the resource group name of the Virtual Router. virtualRouterName - the name of the Virtual Router being updated. parameters - parameters supplied to Update Virtual Router Tags.

func (VirtualRoutersClient) UpdatePreparer

func (client VirtualRoutersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters TagsObject) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualRoutersClient) UpdateResponder

func (client VirtualRoutersClient) UpdateResponder(resp *http.Response) (result VirtualRouter, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualRoutersClient) UpdateSender

func (client VirtualRoutersClient) 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 VirtualRoutersCreateOrUpdateFuture

type VirtualRoutersCreateOrUpdateFuture struct {
	azure.Future
}

VirtualRoutersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualRoutersCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualRoutersDeleteFuture

type VirtualRoutersDeleteFuture struct {
	azure.Future
}

VirtualRoutersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualRoutersDeleteFuture) Result

func (future *VirtualRoutersDeleteFuture) Result(client VirtualRoutersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualWAN

type VirtualWAN struct {
	autorest.Response `json:"-"`
	// VirtualWanProperties - Properties of the virtual WAN.
	*VirtualWanProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VirtualWAN virtualWAN Resource.

func (VirtualWAN) MarshalJSON

func (vw VirtualWAN) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualWAN.

func (*VirtualWAN) UnmarshalJSON

func (vw *VirtualWAN) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualWAN struct.

type VirtualWanProperties

type VirtualWanProperties struct {
	// DisableVpnEncryption - Vpn encryption to be disabled or not.
	DisableVpnEncryption *bool `json:"disableVpnEncryption,omitempty"`
	// VirtualHubs - READ-ONLY; List of VirtualHubs in the VirtualWAN.
	VirtualHubs *[]SubResource `json:"virtualHubs,omitempty"`
	// VpnSites - READ-ONLY; List of VpnSites in the VirtualWAN.
	VpnSites *[]SubResource `json:"vpnSites,omitempty"`
	// AllowBranchToBranchTraffic - True if branch to branch traffic is allowed.
	AllowBranchToBranchTraffic *bool `json:"allowBranchToBranchTraffic,omitempty"`
	// AllowVnetToVnetTraffic - True if Vnet to Vnet traffic is allowed.
	AllowVnetToVnetTraffic *bool `json:"allowVnetToVnetTraffic,omitempty"`
	// Office365LocalBreakoutCategory - The office local breakout category. Possible values include: 'OfficeTrafficCategoryOptimize', 'OfficeTrafficCategoryOptimizeAndAllow', 'OfficeTrafficCategoryAll', 'OfficeTrafficCategoryNone'
	Office365LocalBreakoutCategory OfficeTrafficCategory `json:"office365LocalBreakoutCategory,omitempty"`
	// ProvisioningState - The provisioning state of the virtual WAN resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VirtualWanProperties parameters for VirtualWAN.

type VirtualWanSecurityProvider

type VirtualWanSecurityProvider struct {
	// Name - Name of the security provider.
	Name *string `json:"name,omitempty"`
	// URL - Url of the security provider.
	URL *string `json:"url,omitempty"`
	// Type - Name of the security provider. Possible values include: 'External', 'Native'
	Type VirtualWanSecurityProviderType `json:"type,omitempty"`
}

VirtualWanSecurityProvider collection of SecurityProviders.

type VirtualWanSecurityProviderType

type VirtualWanSecurityProviderType string

VirtualWanSecurityProviderType enumerates the values for virtual wan security provider type.

const (
	// External ...
	External VirtualWanSecurityProviderType = "External"
	// Native ...
	Native VirtualWanSecurityProviderType = "Native"
)

func PossibleVirtualWanSecurityProviderTypeValues

func PossibleVirtualWanSecurityProviderTypeValues() []VirtualWanSecurityProviderType

PossibleVirtualWanSecurityProviderTypeValues returns an array of possible values for the VirtualWanSecurityProviderType const type.

type VirtualWanSecurityProviders

type VirtualWanSecurityProviders struct {
	autorest.Response `json:"-"`
	// SupportedProviders - List of VirtualWAN security providers.
	SupportedProviders *[]VirtualWanSecurityProvider `json:"supportedProviders,omitempty"`
}

VirtualWanSecurityProviders collection of SecurityProviders.

type VirtualWanVpnProfileParameters

type VirtualWanVpnProfileParameters struct {
	// VpnServerConfigurationResourceID - VpnServerConfiguration partial resource uri with which VirtualWan is associated to.
	VpnServerConfigurationResourceID *string `json:"vpnServerConfigurationResourceId,omitempty"`
	// AuthenticationMethod - VPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
	AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"`
}

VirtualWanVpnProfileParameters virtual Wan Vpn profile parameters Vpn profile generation.

type VirtualWansClient

type VirtualWansClient struct {
	BaseClient
}

VirtualWansClient is the network Client

func NewVirtualWansClient

func NewVirtualWansClient(subscriptionID string) VirtualWansClient

NewVirtualWansClient creates an instance of the VirtualWansClient client.

func NewVirtualWansClientWithBaseURI

func NewVirtualWansClientWithBaseURI(baseURI string, subscriptionID string) VirtualWansClient

NewVirtualWansClientWithBaseURI creates an instance of the VirtualWansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualWansClient) CreateOrUpdate

func (client VirtualWansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters VirtualWAN) (result VirtualWansCreateOrUpdateFuture, err error)

CreateOrUpdate creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being created or updated. wANParameters - parameters supplied to create or update VirtualWAN.

func (VirtualWansClient) CreateOrUpdatePreparer

func (client VirtualWansClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters VirtualWAN) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualWansClient) CreateOrUpdateResponder

func (client VirtualWansClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualWAN, err error)

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

func (VirtualWansClient) CreateOrUpdateSender

func (client VirtualWansClient) CreateOrUpdateSender(req *http.Request) (future VirtualWansCreateOrUpdateFuture, err error)

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

func (VirtualWansClient) Delete

func (client VirtualWansClient) Delete(ctx context.Context, resourceGroupName string, virtualWANName string) (result VirtualWansDeleteFuture, err error)

Delete deletes a VirtualWAN. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being deleted.

func (VirtualWansClient) DeletePreparer

func (client VirtualWansClient) DeletePreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualWansClient) DeleteResponder

func (client VirtualWansClient) 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 (VirtualWansClient) DeleteSender

func (client VirtualWansClient) DeleteSender(req *http.Request) (future VirtualWansDeleteFuture, err error)

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

func (VirtualWansClient) Get

func (client VirtualWansClient) Get(ctx context.Context, resourceGroupName string, virtualWANName string) (result VirtualWAN, err error)

Get retrieves the details of a VirtualWAN. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being retrieved.

func (VirtualWansClient) GetPreparer

func (client VirtualWansClient) GetPreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualWansClient) GetResponder

func (client VirtualWansClient) GetResponder(resp *http.Response) (result VirtualWAN, err error)

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

func (VirtualWansClient) GetSender

func (client VirtualWansClient) 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 (VirtualWansClient) List

func (client VirtualWansClient) List(ctx context.Context) (result ListVirtualWANsResultPage, err error)

List lists all the VirtualWANs in a subscription.

func (VirtualWansClient) ListByResourceGroup

func (client VirtualWansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVirtualWANsResultPage, err error)

ListByResourceGroup lists all the VirtualWANs in a resource group. Parameters: resourceGroupName - the resource group name of the VirtualWan.

func (VirtualWansClient) ListByResourceGroupComplete

func (client VirtualWansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVirtualWANsResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualWansClient) ListByResourceGroupPreparer

func (client VirtualWansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualWansClient) ListByResourceGroupResponder

func (client VirtualWansClient) ListByResourceGroupResponder(resp *http.Response) (result ListVirtualWANsResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualWansClient) ListByResourceGroupSender

func (client VirtualWansClient) 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 (VirtualWansClient) ListComplete

func (client VirtualWansClient) ListComplete(ctx context.Context) (result ListVirtualWANsResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualWansClient) ListPreparer

func (client VirtualWansClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualWansClient) ListResponder

func (client VirtualWansClient) ListResponder(resp *http.Response) (result ListVirtualWANsResult, err error)

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

func (VirtualWansClient) ListSender

func (client VirtualWansClient) 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 (VirtualWansClient) UpdateTags

func (client VirtualWansClient) UpdateTags(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters TagsObject) (result VirtualWansUpdateTagsFuture, err error)

UpdateTags updates a VirtualWAN tags. Parameters: resourceGroupName - the resource group name of the VirtualWan. virtualWANName - the name of the VirtualWAN being updated. wANParameters - parameters supplied to Update VirtualWAN tags.

func (VirtualWansClient) UpdateTagsPreparer

func (client VirtualWansClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VirtualWansClient) UpdateTagsResponder

func (client VirtualWansClient) UpdateTagsResponder(resp *http.Response) (result VirtualWAN, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VirtualWansClient) UpdateTagsSender

func (client VirtualWansClient) UpdateTagsSender(req *http.Request) (future VirtualWansUpdateTagsFuture, err error)

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

type VirtualWansCreateOrUpdateFuture

type VirtualWansCreateOrUpdateFuture struct {
	azure.Future
}

VirtualWansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualWansCreateOrUpdateFuture) Result

func (future *VirtualWansCreateOrUpdateFuture) Result(client VirtualWansClient) (vw VirtualWAN, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualWansDeleteFuture

type VirtualWansDeleteFuture struct {
	azure.Future
}

VirtualWansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualWansDeleteFuture) Result

func (future *VirtualWansDeleteFuture) Result(client VirtualWansClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualWansUpdateTagsFuture

type VirtualWansUpdateTagsFuture struct {
	azure.Future
}

VirtualWansUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VirtualWansUpdateTagsFuture) Result

func (future *VirtualWansUpdateTagsFuture) Result(client VirtualWansClient) (vw VirtualWAN, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnAuthenticationType

type VpnAuthenticationType string

VpnAuthenticationType enumerates the values for vpn authentication type.

const (
	// AAD ...
	AAD VpnAuthenticationType = "AAD"
	// Certificate ...
	Certificate VpnAuthenticationType = "Certificate"
	// Radius ...
	Radius VpnAuthenticationType = "Radius"
)

func PossibleVpnAuthenticationTypeValues

func PossibleVpnAuthenticationTypeValues() []VpnAuthenticationType

PossibleVpnAuthenticationTypeValues returns an array of possible values for the VpnAuthenticationType const type.

type VpnClientConfiguration

type VpnClientConfiguration struct {
	// VpnClientAddressPool - The reference of the address space resource which represents Address space for P2S VpnClient.
	VpnClientAddressPool *AddressSpace `json:"vpnClientAddressPool,omitempty"`
	// VpnClientRootCertificates - VpnClientRootCertificate for virtual network gateway.
	VpnClientRootCertificates *[]VpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"`
	// VpnClientRevokedCertificates - VpnClientRevokedCertificate for Virtual network gateway.
	VpnClientRevokedCertificates *[]VpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"`
	// VpnClientProtocols - VpnClientProtocols for Virtual network gateway.
	VpnClientProtocols *[]VpnClientProtocol `json:"vpnClientProtocols,omitempty"`
	// VpnClientIpsecPolicies - VpnClientIpsecPolicies for virtual network gateway P2S client.
	VpnClientIpsecPolicies *[]IpsecPolicy `json:"vpnClientIpsecPolicies,omitempty"`
	// RadiusServerAddress - The radius server address property of the VirtualNetworkGateway resource for vpn client connection.
	RadiusServerAddress *string `json:"radiusServerAddress,omitempty"`
	// RadiusServerSecret - The radius secret property of the VirtualNetworkGateway resource for vpn client connection.
	RadiusServerSecret *string `json:"radiusServerSecret,omitempty"`
	// AadTenant - The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
	AadTenant *string `json:"aadTenant,omitempty"`
	// AadAudience - The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
	AadAudience *string `json:"aadAudience,omitempty"`
	// AadIssuer - The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication.
	AadIssuer *string `json:"aadIssuer,omitempty"`
}

VpnClientConfiguration vpnClientConfiguration for P2S client.

type VpnClientConnectionHealth

type VpnClientConnectionHealth struct {
	// TotalIngressBytesTransferred - READ-ONLY; Total of the Ingress Bytes Transferred in this P2S Vpn connection.
	TotalIngressBytesTransferred *int64 `json:"totalIngressBytesTransferred,omitempty"`
	// TotalEgressBytesTransferred - READ-ONLY; Total of the Egress Bytes Transferred in this connection.
	TotalEgressBytesTransferred *int64 `json:"totalEgressBytesTransferred,omitempty"`
	// VpnClientConnectionsCount - The total of p2s vpn clients connected at this time to this P2SVpnGateway.
	VpnClientConnectionsCount *int32 `json:"vpnClientConnectionsCount,omitempty"`
	// AllocatedIPAddresses - List of allocated ip addresses to the connected p2s vpn clients.
	AllocatedIPAddresses *[]string `json:"allocatedIpAddresses,omitempty"`
}

VpnClientConnectionHealth vpnClientConnectionHealth properties.

type VpnClientConnectionHealthDetail

type VpnClientConnectionHealthDetail struct {
	// VpnConnectionID - READ-ONLY; The vpn client Id.
	VpnConnectionID *string `json:"vpnConnectionId,omitempty"`
	// VpnConnectionDuration - READ-ONLY; The duration time of a connected vpn client.
	VpnConnectionDuration *int64 `json:"vpnConnectionDuration,omitempty"`
	// VpnConnectionTime - READ-ONLY; The start time of a connected vpn client.
	VpnConnectionTime *string `json:"vpnConnectionTime,omitempty"`
	// PublicIPAddress - READ-ONLY; The public Ip of a connected vpn client.
	PublicIPAddress *string `json:"publicIpAddress,omitempty"`
	// PrivateIPAddress - READ-ONLY; The assigned private Ip of a connected vpn client.
	PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
	// VpnUserName - READ-ONLY; The user name of a connected vpn client.
	VpnUserName *string `json:"vpnUserName,omitempty"`
	// MaxBandwidth - READ-ONLY; The max band width.
	MaxBandwidth *int64 `json:"maxBandwidth,omitempty"`
	// EgressPacketsTransferred - READ-ONLY; The egress packets per second.
	EgressPacketsTransferred *int64 `json:"egressPacketsTransferred,omitempty"`
	// EgressBytesTransferred - READ-ONLY; The egress bytes per second.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"`
	// IngressPacketsTransferred - READ-ONLY; The ingress packets per second.
	IngressPacketsTransferred *int64 `json:"ingressPacketsTransferred,omitempty"`
	// IngressBytesTransferred - READ-ONLY; The ingress bytes per second.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"`
	// MaxPacketsPerSecond - READ-ONLY; The max packets transferred per second.
	MaxPacketsPerSecond *int64 `json:"maxPacketsPerSecond,omitempty"`
}

VpnClientConnectionHealthDetail VPN client connection health detail.

type VpnClientConnectionHealthDetailListResult

type VpnClientConnectionHealthDetailListResult struct {
	autorest.Response `json:"-"`
	// Value - List of vpn client connection health.
	Value *[]VpnClientConnectionHealthDetail `json:"value,omitempty"`
}

VpnClientConnectionHealthDetailListResult list of virtual network gateway vpn client connection health.

type VpnClientIPsecParameters

type VpnClientIPsecParameters struct {
	autorest.Response `json:"-"`
	// SaLifeTimeSeconds - The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client.
	SaLifeTimeSeconds *int32 `json:"saLifeTimeSeconds,omitempty"`
	// SaDataSizeKilobytes - The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client..
	SaDataSizeKilobytes *int32 `json:"saDataSizeKilobytes,omitempty"`
	// IpsecEncryption - The IPSec encryption algorithm (IKE phase 1). Possible values include: 'IpsecEncryptionNone', 'IpsecEncryptionDES', 'IpsecEncryptionDES3', 'IpsecEncryptionAES128', 'IpsecEncryptionAES192', 'IpsecEncryptionAES256', 'IpsecEncryptionGCMAES128', 'IpsecEncryptionGCMAES192', 'IpsecEncryptionGCMAES256'
	IpsecEncryption IpsecEncryption `json:"ipsecEncryption,omitempty"`
	// IpsecIntegrity - The IPSec integrity algorithm (IKE phase 1). Possible values include: 'IpsecIntegrityMD5', 'IpsecIntegritySHA1', 'IpsecIntegritySHA256', 'IpsecIntegrityGCMAES128', 'IpsecIntegrityGCMAES192', 'IpsecIntegrityGCMAES256'
	IpsecIntegrity IpsecIntegrity `json:"ipsecIntegrity,omitempty"`
	// IkeEncryption - The IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'
	IkeEncryption IkeEncryption `json:"ikeEncryption,omitempty"`
	// IkeIntegrity - The IKE integrity algorithm (IKE phase 2). Possible values include: 'IkeIntegrityMD5', 'IkeIntegritySHA1', 'IkeIntegritySHA256', 'IkeIntegritySHA384', 'IkeIntegrityGCMAES256', 'IkeIntegrityGCMAES128'
	IkeIntegrity IkeIntegrity `json:"ikeIntegrity,omitempty"`
	// DhGroup - The DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'
	DhGroup DhGroup `json:"dhGroup,omitempty"`
	// PfsGroup - The Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'PfsGroupNone', 'PfsGroupPFS1', 'PfsGroupPFS2', 'PfsGroupPFS2048', 'PfsGroupECP256', 'PfsGroupECP384', 'PfsGroupPFS24', 'PfsGroupPFS14', 'PfsGroupPFSMM'
	PfsGroup PfsGroup `json:"pfsGroup,omitempty"`
}

VpnClientIPsecParameters an IPSec parameters for a virtual network gateway P2S connection.

type VpnClientParameters

type VpnClientParameters struct {
	// ProcessorArchitecture - VPN client Processor Architecture. Possible values include: 'Amd64', 'X86'
	ProcessorArchitecture ProcessorArchitecture `json:"processorArchitecture,omitempty"`
	// AuthenticationMethod - VPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'
	AuthenticationMethod AuthenticationMethod `json:"authenticationMethod,omitempty"`
	// RadiusServerAuthCertificate - The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
	RadiusServerAuthCertificate *string `json:"radiusServerAuthCertificate,omitempty"`
	// ClientRootCertificates - A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
	ClientRootCertificates *[]string `json:"clientRootCertificates,omitempty"`
}

VpnClientParameters vpn Client Parameters for package generation.

type VpnClientProtocol

type VpnClientProtocol string

VpnClientProtocol enumerates the values for vpn client protocol.

const (
	// IkeV2 ...
	IkeV2 VpnClientProtocol = "IkeV2"
	// OpenVPN ...
	OpenVPN VpnClientProtocol = "OpenVPN"
	// SSTP ...
	SSTP VpnClientProtocol = "SSTP"
)

func PossibleVpnClientProtocolValues

func PossibleVpnClientProtocolValues() []VpnClientProtocol

PossibleVpnClientProtocolValues returns an array of possible values for the VpnClientProtocol const type.

type VpnClientRevokedCertificate

type VpnClientRevokedCertificate struct {
	// VpnClientRevokedCertificatePropertiesFormat - Properties of the vpn client revoked certificate.
	*VpnClientRevokedCertificatePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VpnClientRevokedCertificate VPN client revoked certificate of virtual network gateway.

func (VpnClientRevokedCertificate) MarshalJSON

func (vcrc VpnClientRevokedCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnClientRevokedCertificate.

func (*VpnClientRevokedCertificate) UnmarshalJSON

func (vcrc *VpnClientRevokedCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnClientRevokedCertificate struct.

type VpnClientRevokedCertificatePropertiesFormat

type VpnClientRevokedCertificatePropertiesFormat struct {
	// Thumbprint - The revoked VPN client certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the VPN client revoked certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VpnClientRevokedCertificatePropertiesFormat properties of the revoked VPN client certificate of virtual network gateway.

type VpnClientRootCertificate

type VpnClientRootCertificate struct {
	// VpnClientRootCertificatePropertiesFormat - Properties of the vpn client root certificate.
	*VpnClientRootCertificatePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VpnClientRootCertificate VPN client root certificate of virtual network gateway.

func (VpnClientRootCertificate) MarshalJSON

func (vcrc VpnClientRootCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnClientRootCertificate.

func (*VpnClientRootCertificate) UnmarshalJSON

func (vcrc *VpnClientRootCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnClientRootCertificate struct.

type VpnClientRootCertificatePropertiesFormat

type VpnClientRootCertificatePropertiesFormat struct {
	// PublicCertData - The certificate public data.
	PublicCertData *string `json:"publicCertData,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the VPN client root certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VpnClientRootCertificatePropertiesFormat properties of SSL certificates of application gateway.

type VpnConnection

type VpnConnection struct {
	autorest.Response `json:"-"`
	// VpnConnectionProperties - Properties of the VPN connection.
	*VpnConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VpnConnection vpnConnection Resource.

func (VpnConnection) MarshalJSON

func (vc VpnConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnConnection.

func (*VpnConnection) UnmarshalJSON

func (vc *VpnConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnConnection struct.

type VpnConnectionProperties

type VpnConnectionProperties struct {
	// RemoteVpnSite - Id of the connected vpn site.
	RemoteVpnSite *SubResource `json:"remoteVpnSite,omitempty"`
	// RoutingWeight - Routing weight for vpn connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`
	// ConnectionStatus - The connection status. Possible values include: 'VpnConnectionStatusUnknown', 'VpnConnectionStatusConnecting', 'VpnConnectionStatusConnected', 'VpnConnectionStatusNotConnected'
	ConnectionStatus VpnConnectionStatus `json:"connectionStatus,omitempty"`
	// VpnConnectionProtocolType - Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
	VpnConnectionProtocolType VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"`
	// IngressBytesTransferred - READ-ONLY; Ingress bytes transferred.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"`
	// EgressBytesTransferred - READ-ONLY; Egress bytes transferred.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"`
	// ConnectionBandwidth - Expected bandwidth in MBPS.
	ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"`
	// SharedKey - SharedKey for the vpn connection.
	SharedKey *string `json:"sharedKey,omitempty"`
	// EnableBgp - EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`
	// UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`
	// IpsecPolicies - The IPSec Policies to be considered by this connection.
	IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"`
	// EnableRateLimiting - EnableBgp flag.
	EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"`
	// EnableInternetSecurity - Enable internet security.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`
	// UseLocalAzureIPAddress - Use local azure ip to initiate connection.
	UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"`
	// ProvisioningState - The provisioning state of the VPN connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VpnLinkConnections - List of all vpn site link connections to the gateway.
	VpnLinkConnections *[]VpnSiteLinkConnection `json:"vpnLinkConnections,omitempty"`
}

VpnConnectionProperties parameters for VpnConnection.

type VpnConnectionStatus

type VpnConnectionStatus string

VpnConnectionStatus enumerates the values for vpn connection status.

const (
	// VpnConnectionStatusConnected ...
	VpnConnectionStatusConnected VpnConnectionStatus = "Connected"
	// VpnConnectionStatusConnecting ...
	VpnConnectionStatusConnecting VpnConnectionStatus = "Connecting"
	// VpnConnectionStatusNotConnected ...
	VpnConnectionStatusNotConnected VpnConnectionStatus = "NotConnected"
	// VpnConnectionStatusUnknown ...
	VpnConnectionStatusUnknown VpnConnectionStatus = "Unknown"
)

func PossibleVpnConnectionStatusValues

func PossibleVpnConnectionStatusValues() []VpnConnectionStatus

PossibleVpnConnectionStatusValues returns an array of possible values for the VpnConnectionStatus const type.

type VpnConnectionsClient

type VpnConnectionsClient struct {
	BaseClient
}

VpnConnectionsClient is the network Client

func NewVpnConnectionsClient

func NewVpnConnectionsClient(subscriptionID string) VpnConnectionsClient

NewVpnConnectionsClient creates an instance of the VpnConnectionsClient client.

func NewVpnConnectionsClientWithBaseURI

func NewVpnConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnConnectionsClient

NewVpnConnectionsClientWithBaseURI creates an instance of the VpnConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnConnectionsClient) CreateOrUpdate

func (client VpnConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, vpnConnectionParameters VpnConnection) (result VpnConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the connection. vpnConnectionParameters - parameters supplied to create or Update a VPN Connection.

func (VpnConnectionsClient) CreateOrUpdatePreparer

func (client VpnConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, vpnConnectionParameters VpnConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VpnConnectionsClient) CreateOrUpdateResponder

func (client VpnConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result VpnConnection, err error)

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

func (VpnConnectionsClient) CreateOrUpdateSender

func (client VpnConnectionsClient) CreateOrUpdateSender(req *http.Request) (future VpnConnectionsCreateOrUpdateFuture, err error)

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

func (VpnConnectionsClient) Delete

func (client VpnConnectionsClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result VpnConnectionsDeleteFuture, err error)

Delete deletes a vpn connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the connection.

func (VpnConnectionsClient) DeletePreparer

func (client VpnConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VpnConnectionsClient) DeleteResponder

func (client VpnConnectionsClient) 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 (VpnConnectionsClient) DeleteSender

func (client VpnConnectionsClient) DeleteSender(req *http.Request) (future VpnConnectionsDeleteFuture, err error)

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

func (VpnConnectionsClient) Get

func (client VpnConnectionsClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result VpnConnection, err error)

Get retrieves the details of a vpn connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the vpn connection.

func (VpnConnectionsClient) GetPreparer

func (client VpnConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VpnConnectionsClient) GetResponder

func (client VpnConnectionsClient) GetResponder(resp *http.Response) (result VpnConnection, err error)

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

func (VpnConnectionsClient) GetSender

func (client VpnConnectionsClient) 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 (VpnConnectionsClient) ListByVpnGateway

func (client VpnConnectionsClient) ListByVpnGateway(ctx context.Context, resourceGroupName string, gatewayName string) (result ListVpnConnectionsResultPage, err error)

ListByVpnGateway retrieves all vpn connections for a particular virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.

func (VpnConnectionsClient) ListByVpnGatewayComplete

func (client VpnConnectionsClient) ListByVpnGatewayComplete(ctx context.Context, resourceGroupName string, gatewayName string) (result ListVpnConnectionsResultIterator, err error)

ListByVpnGatewayComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnConnectionsClient) ListByVpnGatewayPreparer

func (client VpnConnectionsClient) ListByVpnGatewayPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

ListByVpnGatewayPreparer prepares the ListByVpnGateway request.

func (VpnConnectionsClient) ListByVpnGatewayResponder

func (client VpnConnectionsClient) ListByVpnGatewayResponder(resp *http.Response) (result ListVpnConnectionsResult, err error)

ListByVpnGatewayResponder handles the response to the ListByVpnGateway request. The method always closes the http.Response Body.

func (VpnConnectionsClient) ListByVpnGatewaySender

func (client VpnConnectionsClient) ListByVpnGatewaySender(req *http.Request) (*http.Response, error)

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

type VpnConnectionsCreateOrUpdateFuture

type VpnConnectionsCreateOrUpdateFuture struct {
	azure.Future
}

VpnConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnConnectionsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnConnectionsDeleteFuture

type VpnConnectionsDeleteFuture struct {
	azure.Future
}

VpnConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnConnectionsDeleteFuture) Result

func (future *VpnConnectionsDeleteFuture) Result(client VpnConnectionsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnDeviceScriptParameters

type VpnDeviceScriptParameters struct {
	// Vendor - The vendor for the vpn device.
	Vendor *string `json:"vendor,omitempty"`
	// DeviceFamily - The device family for the vpn device.
	DeviceFamily *string `json:"deviceFamily,omitempty"`
	// FirmwareVersion - The firmware version for the vpn device.
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
}

VpnDeviceScriptParameters vpn device configuration script generation parameters.

type VpnGateway

type VpnGateway struct {
	autorest.Response `json:"-"`
	// VpnGatewayProperties - Properties of the VPN gateway.
	*VpnGatewayProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VpnGateway vpnGateway Resource.

func (VpnGateway) MarshalJSON

func (vg VpnGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnGateway.

func (*VpnGateway) UnmarshalJSON

func (vg *VpnGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnGateway struct.

type VpnGatewayGeneration

type VpnGatewayGeneration string

VpnGatewayGeneration enumerates the values for vpn gateway generation.

const (
	// VpnGatewayGenerationGeneration1 ...
	VpnGatewayGenerationGeneration1 VpnGatewayGeneration = "Generation1"
	// VpnGatewayGenerationGeneration2 ...
	VpnGatewayGenerationGeneration2 VpnGatewayGeneration = "Generation2"
	// VpnGatewayGenerationNone ...
	VpnGatewayGenerationNone VpnGatewayGeneration = "None"
)

func PossibleVpnGatewayGenerationValues

func PossibleVpnGatewayGenerationValues() []VpnGatewayGeneration

PossibleVpnGatewayGenerationValues returns an array of possible values for the VpnGatewayGeneration const type.

type VpnGatewayProperties

type VpnGatewayProperties struct {
	// VirtualHub - The VirtualHub to which the gateway belongs.
	VirtualHub *SubResource `json:"virtualHub,omitempty"`
	// Connections - List of all vpn connections to the gateway.
	Connections *[]VpnConnection `json:"connections,omitempty"`
	// BgpSettings - Local network gateway's BGP speaker settings.
	BgpSettings *BgpSettings `json:"bgpSettings,omitempty"`
	// ProvisioningState - The provisioning state of the VPN gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VpnGatewayScaleUnit - The scale unit for this vpn gateway.
	VpnGatewayScaleUnit *int32 `json:"vpnGatewayScaleUnit,omitempty"`
}

VpnGatewayProperties parameters for VpnGateway.

type VpnGatewayTunnelingProtocol

type VpnGatewayTunnelingProtocol string

VpnGatewayTunnelingProtocol enumerates the values for vpn gateway tunneling protocol.

const (
	// VpnGatewayTunnelingProtocolIkeV2 ...
	VpnGatewayTunnelingProtocolIkeV2 VpnGatewayTunnelingProtocol = "IkeV2"
	// VpnGatewayTunnelingProtocolOpenVPN ...
	VpnGatewayTunnelingProtocolOpenVPN VpnGatewayTunnelingProtocol = "OpenVPN"
)

func PossibleVpnGatewayTunnelingProtocolValues

func PossibleVpnGatewayTunnelingProtocolValues() []VpnGatewayTunnelingProtocol

PossibleVpnGatewayTunnelingProtocolValues returns an array of possible values for the VpnGatewayTunnelingProtocol const type.

type VpnGatewaysClient

type VpnGatewaysClient struct {
	BaseClient
}

VpnGatewaysClient is the network Client

func NewVpnGatewaysClient

func NewVpnGatewaysClient(subscriptionID string) VpnGatewaysClient

NewVpnGatewaysClient creates an instance of the VpnGatewaysClient client.

func NewVpnGatewaysClientWithBaseURI

func NewVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VpnGatewaysClient

NewVpnGatewaysClientWithBaseURI creates an instance of the VpnGatewaysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnGatewaysClient) CreateOrUpdate

func (client VpnGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters VpnGateway) (result VpnGatewaysCreateOrUpdateFuture, err error)

CreateOrUpdate creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. vpnGatewayParameters - parameters supplied to create or Update a virtual wan vpn gateway.

func (VpnGatewaysClient) CreateOrUpdatePreparer

func (client VpnGatewaysClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters VpnGateway) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VpnGatewaysClient) CreateOrUpdateResponder

func (client VpnGatewaysClient) CreateOrUpdateResponder(resp *http.Response) (result VpnGateway, err error)

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

func (VpnGatewaysClient) CreateOrUpdateSender

func (client VpnGatewaysClient) CreateOrUpdateSender(req *http.Request) (future VpnGatewaysCreateOrUpdateFuture, err error)

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

func (VpnGatewaysClient) Delete

func (client VpnGatewaysClient) Delete(ctx context.Context, resourceGroupName string, gatewayName string) (result VpnGatewaysDeleteFuture, err error)

Delete deletes a virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.

func (VpnGatewaysClient) DeletePreparer

func (client VpnGatewaysClient) DeletePreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VpnGatewaysClient) DeleteResponder

func (client VpnGatewaysClient) 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 (VpnGatewaysClient) DeleteSender

func (client VpnGatewaysClient) DeleteSender(req *http.Request) (future VpnGatewaysDeleteFuture, err error)

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

func (VpnGatewaysClient) Get

func (client VpnGatewaysClient) Get(ctx context.Context, resourceGroupName string, gatewayName string) (result VpnGateway, err error)

Get retrieves the details of a virtual wan vpn gateway. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.

func (VpnGatewaysClient) GetPreparer

func (client VpnGatewaysClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VpnGatewaysClient) GetResponder

func (client VpnGatewaysClient) GetResponder(resp *http.Response) (result VpnGateway, err error)

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

func (VpnGatewaysClient) GetSender

func (client VpnGatewaysClient) 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 (VpnGatewaysClient) List

func (client VpnGatewaysClient) List(ctx context.Context) (result ListVpnGatewaysResultPage, err error)

List lists all the VpnGateways in a subscription.

func (VpnGatewaysClient) ListByResourceGroup

func (client VpnGatewaysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVpnGatewaysResultPage, err error)

ListByResourceGroup lists all the VpnGateways in a resource group. Parameters: resourceGroupName - the resource group name of the VpnGateway.

func (VpnGatewaysClient) ListByResourceGroupComplete

func (client VpnGatewaysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVpnGatewaysResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnGatewaysClient) ListByResourceGroupPreparer

func (client VpnGatewaysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VpnGatewaysClient) ListByResourceGroupResponder

func (client VpnGatewaysClient) ListByResourceGroupResponder(resp *http.Response) (result ListVpnGatewaysResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VpnGatewaysClient) ListByResourceGroupSender

func (client VpnGatewaysClient) 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 (VpnGatewaysClient) ListComplete

func (client VpnGatewaysClient) ListComplete(ctx context.Context) (result ListVpnGatewaysResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnGatewaysClient) ListPreparer

func (client VpnGatewaysClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VpnGatewaysClient) ListResponder

func (client VpnGatewaysClient) ListResponder(resp *http.Response) (result ListVpnGatewaysResult, err error)

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

func (VpnGatewaysClient) ListSender

func (client VpnGatewaysClient) 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 (VpnGatewaysClient) Reset

func (client VpnGatewaysClient) Reset(ctx context.Context, resourceGroupName string, gatewayName string) (result VpnGatewaysResetFuture, err error)

Reset resets the primary of the vpn gateway in the specified resource group. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway.

func (VpnGatewaysClient) ResetPreparer

func (client VpnGatewaysClient) ResetPreparer(ctx context.Context, resourceGroupName string, gatewayName string) (*http.Request, error)

ResetPreparer prepares the Reset request.

func (VpnGatewaysClient) ResetResponder

func (client VpnGatewaysClient) ResetResponder(resp *http.Response) (result VpnGateway, err error)

ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.

func (VpnGatewaysClient) ResetSender

func (client VpnGatewaysClient) ResetSender(req *http.Request) (future VpnGatewaysResetFuture, err error)

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

func (VpnGatewaysClient) UpdateTags

func (client VpnGatewaysClient) UpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters TagsObject) (result VpnGatewaysUpdateTagsFuture, err error)

UpdateTags updates virtual wan vpn gateway tags. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. vpnGatewayParameters - parameters supplied to update a virtual wan vpn gateway tags.

func (VpnGatewaysClient) UpdateTagsPreparer

func (client VpnGatewaysClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VpnGatewaysClient) UpdateTagsResponder

func (client VpnGatewaysClient) UpdateTagsResponder(resp *http.Response) (result VpnGateway, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VpnGatewaysClient) UpdateTagsSender

func (client VpnGatewaysClient) UpdateTagsSender(req *http.Request) (future VpnGatewaysUpdateTagsFuture, err error)

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

type VpnGatewaysCreateOrUpdateFuture

type VpnGatewaysCreateOrUpdateFuture struct {
	azure.Future
}

VpnGatewaysCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnGatewaysCreateOrUpdateFuture) Result

func (future *VpnGatewaysCreateOrUpdateFuture) Result(client VpnGatewaysClient) (vg VpnGateway, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnGatewaysDeleteFuture

type VpnGatewaysDeleteFuture struct {
	azure.Future
}

VpnGatewaysDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnGatewaysDeleteFuture) Result

func (future *VpnGatewaysDeleteFuture) Result(client VpnGatewaysClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnGatewaysResetFuture

type VpnGatewaysResetFuture struct {
	azure.Future
}

VpnGatewaysResetFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnGatewaysResetFuture) Result

func (future *VpnGatewaysResetFuture) Result(client VpnGatewaysClient) (vg VpnGateway, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnGatewaysUpdateTagsFuture

type VpnGatewaysUpdateTagsFuture struct {
	azure.Future
}

VpnGatewaysUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnGatewaysUpdateTagsFuture) Result

func (future *VpnGatewaysUpdateTagsFuture) Result(client VpnGatewaysClient) (vg VpnGateway, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnLinkBgpSettings

type VpnLinkBgpSettings struct {
	// Asn - The BGP speaker's ASN.
	Asn *int64 `json:"asn,omitempty"`
	// BgpPeeringAddress - The BGP peering address and BGP identifier of this BGP speaker.
	BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"`
}

VpnLinkBgpSettings BGP settings details for a link.

type VpnLinkConnectionsClient

type VpnLinkConnectionsClient struct {
	BaseClient
}

VpnLinkConnectionsClient is the network Client

func NewVpnLinkConnectionsClient

func NewVpnLinkConnectionsClient(subscriptionID string) VpnLinkConnectionsClient

NewVpnLinkConnectionsClient creates an instance of the VpnLinkConnectionsClient client.

func NewVpnLinkConnectionsClientWithBaseURI

func NewVpnLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnLinkConnectionsClient

NewVpnLinkConnectionsClientWithBaseURI creates an instance of the VpnLinkConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnLinkConnectionsClient) ListByVpnConnection

func (client VpnLinkConnectionsClient) ListByVpnConnection(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result ListVpnSiteLinkConnectionsResultPage, err error)

ListByVpnConnection retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the vpn connection.

func (VpnLinkConnectionsClient) ListByVpnConnectionComplete

func (client VpnLinkConnectionsClient) ListByVpnConnectionComplete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result ListVpnSiteLinkConnectionsResultIterator, err error)

ListByVpnConnectionComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnLinkConnectionsClient) ListByVpnConnectionPreparer

func (client VpnLinkConnectionsClient) ListByVpnConnectionPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (*http.Request, error)

ListByVpnConnectionPreparer prepares the ListByVpnConnection request.

func (VpnLinkConnectionsClient) ListByVpnConnectionResponder

func (client VpnLinkConnectionsClient) ListByVpnConnectionResponder(resp *http.Response) (result ListVpnSiteLinkConnectionsResult, err error)

ListByVpnConnectionResponder handles the response to the ListByVpnConnection request. The method always closes the http.Response Body.

func (VpnLinkConnectionsClient) ListByVpnConnectionSender

func (client VpnLinkConnectionsClient) ListByVpnConnectionSender(req *http.Request) (*http.Response, error)

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

type VpnLinkProviderProperties

type VpnLinkProviderProperties struct {
	// LinkProviderName - Name of the link provider.
	LinkProviderName *string `json:"linkProviderName,omitempty"`
	// LinkSpeedInMbps - Link speed.
	LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"`
}

VpnLinkProviderProperties list of properties of a link provider.

type VpnPacketCaptureStartParameters

type VpnPacketCaptureStartParameters struct {
	// FilterData - Start Packet capture parameters.
	FilterData *string `json:"filterData,omitempty"`
}

VpnPacketCaptureStartParameters start packet capture parameters on virtual network gateway.

type VpnPacketCaptureStopParameters

type VpnPacketCaptureStopParameters struct {
	// SasURL - SAS url for packet capture on virtual network gateway.
	SasURL *string `json:"sasUrl,omitempty"`
}

VpnPacketCaptureStopParameters stop packet capture parameters.

type VpnProfileResponse

type VpnProfileResponse struct {
	autorest.Response `json:"-"`
	// ProfileURL - URL to the VPN profile.
	ProfileURL *string `json:"profileUrl,omitempty"`
}

VpnProfileResponse vpn Profile Response for package generation.

type VpnServerConfigRadiusClientRootCertificate

type VpnServerConfigRadiusClientRootCertificate struct {
	// Name - The certificate name.
	Name *string `json:"name,omitempty"`
	// Thumbprint - The Radius client root certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

VpnServerConfigRadiusClientRootCertificate properties of the Radius client root certificate of VpnServerConfiguration.

type VpnServerConfigRadiusServerRootCertificate

type VpnServerConfigRadiusServerRootCertificate struct {
	// Name - The certificate name.
	Name *string `json:"name,omitempty"`
	// PublicCertData - The certificate public data.
	PublicCertData *string `json:"publicCertData,omitempty"`
}

VpnServerConfigRadiusServerRootCertificate properties of Radius Server root certificate of VpnServerConfiguration.

type VpnServerConfigVpnClientRevokedCertificate

type VpnServerConfigVpnClientRevokedCertificate struct {
	// Name - The certificate name.
	Name *string `json:"name,omitempty"`
	// Thumbprint - The revoked VPN client certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

VpnServerConfigVpnClientRevokedCertificate properties of the revoked VPN client certificate of VpnServerConfiguration.

type VpnServerConfigVpnClientRootCertificate

type VpnServerConfigVpnClientRootCertificate struct {
	// Name - The certificate name.
	Name *string `json:"name,omitempty"`
	// PublicCertData - The certificate public data.
	PublicCertData *string `json:"publicCertData,omitempty"`
}

VpnServerConfigVpnClientRootCertificate properties of VPN client root certificate of VpnServerConfiguration.

type VpnServerConfiguration

type VpnServerConfiguration struct {
	autorest.Response `json:"-"`
	// VpnServerConfigurationProperties - Properties of the P2SVpnServer configuration.
	*VpnServerConfigurationProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; Gets a unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VpnServerConfiguration vpnServerConfiguration Resource.

func (VpnServerConfiguration) MarshalJSON

func (vsc VpnServerConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnServerConfiguration.

func (*VpnServerConfiguration) UnmarshalJSON

func (vsc *VpnServerConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnServerConfiguration struct.

type VpnServerConfigurationProperties

type VpnServerConfigurationProperties struct {
	// Name - The name of the VpnServerConfiguration that is unique within a resource group.
	Name *string `json:"name,omitempty"`
	// VpnProtocols - VPN protocols for the VpnServerConfiguration.
	VpnProtocols *[]VpnGatewayTunnelingProtocol `json:"vpnProtocols,omitempty"`
	// VpnAuthenticationTypes - VPN authentication types for the VpnServerConfiguration.
	VpnAuthenticationTypes *[]VpnAuthenticationType `json:"vpnAuthenticationTypes,omitempty"`
	// VpnClientRootCertificates - VPN client root certificate of VpnServerConfiguration.
	VpnClientRootCertificates *[]VpnServerConfigVpnClientRootCertificate `json:"vpnClientRootCertificates,omitempty"`
	// VpnClientRevokedCertificates - VPN client revoked certificate of VpnServerConfiguration.
	VpnClientRevokedCertificates *[]VpnServerConfigVpnClientRevokedCertificate `json:"vpnClientRevokedCertificates,omitempty"`
	// RadiusServerRootCertificates - Radius Server root certificate of VpnServerConfiguration.
	RadiusServerRootCertificates *[]VpnServerConfigRadiusServerRootCertificate `json:"radiusServerRootCertificates,omitempty"`
	// RadiusClientRootCertificates - Radius client root certificate of VpnServerConfiguration.
	RadiusClientRootCertificates *[]VpnServerConfigRadiusClientRootCertificate `json:"radiusClientRootCertificates,omitempty"`
	// VpnClientIpsecPolicies - VpnClientIpsecPolicies for VpnServerConfiguration.
	VpnClientIpsecPolicies *[]IpsecPolicy `json:"vpnClientIpsecPolicies,omitempty"`
	// RadiusServerAddress - The radius server address property of the VpnServerConfiguration resource for point to site client connection.
	RadiusServerAddress *string `json:"radiusServerAddress,omitempty"`
	// RadiusServerSecret - The radius secret property of the VpnServerConfiguration resource for point to site client connection.
	RadiusServerSecret *string `json:"radiusServerSecret,omitempty"`
	// AadAuthenticationParameters - The set of aad vpn authentication parameters.
	AadAuthenticationParameters *AadAuthenticationParameters `json:"aadAuthenticationParameters,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// P2SVpnGateways - READ-ONLY; List of references to P2SVpnGateways.
	P2SVpnGateways *[]P2SVpnGateway `json:"p2SVpnGateways,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

VpnServerConfigurationProperties parameters for VpnServerConfiguration.

type VpnServerConfigurationsAssociatedWithVirtualWanClient

type VpnServerConfigurationsAssociatedWithVirtualWanClient struct {
	BaseClient
}

VpnServerConfigurationsAssociatedWithVirtualWanClient is the network Client

func NewVpnServerConfigurationsAssociatedWithVirtualWanClient

func NewVpnServerConfigurationsAssociatedWithVirtualWanClient(subscriptionID string) VpnServerConfigurationsAssociatedWithVirtualWanClient

NewVpnServerConfigurationsAssociatedWithVirtualWanClient creates an instance of the VpnServerConfigurationsAssociatedWithVirtualWanClient client.

func NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI

func NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI(baseURI string, subscriptionID string) VpnServerConfigurationsAssociatedWithVirtualWanClient

NewVpnServerConfigurationsAssociatedWithVirtualWanClientWithBaseURI creates an instance of the VpnServerConfigurationsAssociatedWithVirtualWanClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnServerConfigurationsAssociatedWithVirtualWanClient) List

List gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN whose associated VpnServerConfigurations is needed.

func (VpnServerConfigurationsAssociatedWithVirtualWanClient) ListPreparer

func (client VpnServerConfigurationsAssociatedWithVirtualWanClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualWANName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VpnServerConfigurationsAssociatedWithVirtualWanClient) ListResponder

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

func (VpnServerConfigurationsAssociatedWithVirtualWanClient) ListSender

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

type VpnServerConfigurationsAssociatedWithVirtualWanListFuture

type VpnServerConfigurationsAssociatedWithVirtualWanListFuture struct {
	azure.Future
}

VpnServerConfigurationsAssociatedWithVirtualWanListFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnServerConfigurationsAssociatedWithVirtualWanListFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnServerConfigurationsClient

type VpnServerConfigurationsClient struct {
	BaseClient
}

VpnServerConfigurationsClient is the network Client

func NewVpnServerConfigurationsClient

func NewVpnServerConfigurationsClient(subscriptionID string) VpnServerConfigurationsClient

NewVpnServerConfigurationsClient creates an instance of the VpnServerConfigurationsClient client.

func NewVpnServerConfigurationsClientWithBaseURI

func NewVpnServerConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) VpnServerConfigurationsClient

NewVpnServerConfigurationsClientWithBaseURI creates an instance of the VpnServerConfigurationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnServerConfigurationsClient) CreateOrUpdate

func (client VpnServerConfigurationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters VpnServerConfiguration) (result VpnServerConfigurationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being created or updated. vpnServerConfigurationParameters - parameters supplied to create or update VpnServerConfiguration.

func (VpnServerConfigurationsClient) CreateOrUpdatePreparer

func (client VpnServerConfigurationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters VpnServerConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VpnServerConfigurationsClient) CreateOrUpdateResponder

func (client VpnServerConfigurationsClient) CreateOrUpdateResponder(resp *http.Response) (result VpnServerConfiguration, err error)

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

func (VpnServerConfigurationsClient) CreateOrUpdateSender

func (client VpnServerConfigurationsClient) CreateOrUpdateSender(req *http.Request) (future VpnServerConfigurationsCreateOrUpdateFuture, err error)

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

func (VpnServerConfigurationsClient) Delete

func (client VpnServerConfigurationsClient) Delete(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (result VpnServerConfigurationsDeleteFuture, err error)

Delete deletes a VpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being deleted.

func (VpnServerConfigurationsClient) DeletePreparer

func (client VpnServerConfigurationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VpnServerConfigurationsClient) DeleteResponder

func (client VpnServerConfigurationsClient) 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 (VpnServerConfigurationsClient) DeleteSender

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

func (VpnServerConfigurationsClient) Get

func (client VpnServerConfigurationsClient) Get(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (result VpnServerConfiguration, err error)

Get retrieves the details of a VpnServerConfiguration. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being retrieved.

func (VpnServerConfigurationsClient) GetPreparer

func (client VpnServerConfigurationsClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VpnServerConfigurationsClient) GetResponder

func (client VpnServerConfigurationsClient) GetResponder(resp *http.Response) (result VpnServerConfiguration, err error)

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

func (VpnServerConfigurationsClient) GetSender

func (client VpnServerConfigurationsClient) 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 (VpnServerConfigurationsClient) List

List lists all the VpnServerConfigurations in a subscription.

func (VpnServerConfigurationsClient) ListByResourceGroup

func (client VpnServerConfigurationsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVpnServerConfigurationsResultPage, err error)

ListByResourceGroup lists all the vpnServerConfigurations in a resource group. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration.

func (VpnServerConfigurationsClient) ListByResourceGroupComplete

func (client VpnServerConfigurationsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVpnServerConfigurationsResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnServerConfigurationsClient) ListByResourceGroupPreparer

func (client VpnServerConfigurationsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VpnServerConfigurationsClient) ListByResourceGroupResponder

func (client VpnServerConfigurationsClient) ListByResourceGroupResponder(resp *http.Response) (result ListVpnServerConfigurationsResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VpnServerConfigurationsClient) ListByResourceGroupSender

func (client VpnServerConfigurationsClient) 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 (VpnServerConfigurationsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnServerConfigurationsClient) ListPreparer

func (client VpnServerConfigurationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VpnServerConfigurationsClient) ListResponder

func (client VpnServerConfigurationsClient) ListResponder(resp *http.Response) (result ListVpnServerConfigurationsResult, err error)

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

func (VpnServerConfigurationsClient) ListSender

func (client VpnServerConfigurationsClient) 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 (VpnServerConfigurationsClient) UpdateTags

func (client VpnServerConfigurationsClient) UpdateTags(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters TagsObject) (result VpnServerConfigurationsUpdateTagsFuture, err error)

UpdateTags updates VpnServerConfiguration tags. Parameters: resourceGroupName - the resource group name of the VpnServerConfiguration. vpnServerConfigurationName - the name of the VpnServerConfiguration being updated. vpnServerConfigurationParameters - parameters supplied to update VpnServerConfiguration tags.

func (VpnServerConfigurationsClient) UpdateTagsPreparer

func (client VpnServerConfigurationsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, vpnServerConfigurationName string, vpnServerConfigurationParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VpnServerConfigurationsClient) UpdateTagsResponder

func (client VpnServerConfigurationsClient) UpdateTagsResponder(resp *http.Response) (result VpnServerConfiguration, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VpnServerConfigurationsClient) UpdateTagsSender

func (client VpnServerConfigurationsClient) UpdateTagsSender(req *http.Request) (future VpnServerConfigurationsUpdateTagsFuture, err error)

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

type VpnServerConfigurationsCreateOrUpdateFuture

type VpnServerConfigurationsCreateOrUpdateFuture struct {
	azure.Future
}

VpnServerConfigurationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnServerConfigurationsCreateOrUpdateFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnServerConfigurationsDeleteFuture

type VpnServerConfigurationsDeleteFuture struct {
	azure.Future
}

VpnServerConfigurationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnServerConfigurationsDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnServerConfigurationsResponse

type VpnServerConfigurationsResponse struct {
	autorest.Response `json:"-"`
	// VpnServerConfigurationResourceIds - List of VpnServerConfigurations associated with VirtualWan.
	VpnServerConfigurationResourceIds *[]string `json:"vpnServerConfigurationResourceIds,omitempty"`
}

VpnServerConfigurationsResponse vpnServerConfigurations list associated with VirtualWan Response.

type VpnServerConfigurationsUpdateTagsFuture

type VpnServerConfigurationsUpdateTagsFuture struct {
	azure.Future
}

VpnServerConfigurationsUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnServerConfigurationsUpdateTagsFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnSite

type VpnSite struct {
	autorest.Response `json:"-"`
	// VpnSiteProperties - Properties of the VPN site.
	*VpnSiteProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

VpnSite vpnSite Resource.

func (VpnSite) MarshalJSON

func (vs VpnSite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnSite.

func (*VpnSite) UnmarshalJSON

func (vs *VpnSite) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnSite struct.

type VpnSiteID

type VpnSiteID struct {
	// VpnSite - READ-ONLY; The resource-uri of the vpn-site for which config is to be fetched.
	VpnSite *string `json:"vpnSite,omitempty"`
}

VpnSiteID vpnSite Resource.

type VpnSiteLink struct {
	autorest.Response `json:"-"`
	// VpnSiteLinkProperties - Properties of the VPN site link.
	*VpnSiteLinkProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VpnSiteLink vpnSiteLink Resource.

func (VpnSiteLink) MarshalJSON

func (vsl VpnSiteLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnSiteLink.

func (*VpnSiteLink) UnmarshalJSON

func (vsl *VpnSiteLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnSiteLink struct.

type VpnSiteLinkConnection

type VpnSiteLinkConnection struct {
	autorest.Response `json:"-"`
	// VpnSiteLinkConnectionProperties - Properties of the VPN site link connection.
	*VpnSiteLinkConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

VpnSiteLinkConnection vpnSiteLinkConnection Resource.

func (VpnSiteLinkConnection) MarshalJSON

func (vslc VpnSiteLinkConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnSiteLinkConnection.

func (*VpnSiteLinkConnection) UnmarshalJSON

func (vslc *VpnSiteLinkConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VpnSiteLinkConnection struct.

type VpnSiteLinkConnectionProperties

type VpnSiteLinkConnectionProperties struct {
	// VpnSiteLink - Id of the connected vpn site link.
	VpnSiteLink *SubResource `json:"vpnSiteLink,omitempty"`
	// RoutingWeight - Routing weight for vpn connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`
	// ConnectionStatus - The connection status. Possible values include: 'VpnConnectionStatusUnknown', 'VpnConnectionStatusConnecting', 'VpnConnectionStatusConnected', 'VpnConnectionStatusNotConnected'
	ConnectionStatus VpnConnectionStatus `json:"connectionStatus,omitempty"`
	// VpnConnectionProtocolType - Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'
	VpnConnectionProtocolType VirtualNetworkGatewayConnectionProtocol `json:"vpnConnectionProtocolType,omitempty"`
	// IngressBytesTransferred - READ-ONLY; Ingress bytes transferred.
	IngressBytesTransferred *int64 `json:"ingressBytesTransferred,omitempty"`
	// EgressBytesTransferred - READ-ONLY; Egress bytes transferred.
	EgressBytesTransferred *int64 `json:"egressBytesTransferred,omitempty"`
	// ConnectionBandwidth - Expected bandwidth in MBPS.
	ConnectionBandwidth *int32 `json:"connectionBandwidth,omitempty"`
	// SharedKey - SharedKey for the vpn connection.
	SharedKey *string `json:"sharedKey,omitempty"`
	// EnableBgp - EnableBgp flag.
	EnableBgp *bool `json:"enableBgp,omitempty"`
	// UsePolicyBasedTrafficSelectors - Enable policy-based traffic selectors.
	UsePolicyBasedTrafficSelectors *bool `json:"usePolicyBasedTrafficSelectors,omitempty"`
	// IpsecPolicies - The IPSec Policies to be considered by this connection.
	IpsecPolicies *[]IpsecPolicy `json:"ipsecPolicies,omitempty"`
	// EnableRateLimiting - EnableBgp flag.
	EnableRateLimiting *bool `json:"enableRateLimiting,omitempty"`
	// UseLocalAzureIPAddress - Use local azure ip to initiate connection.
	UseLocalAzureIPAddress *bool `json:"useLocalAzureIpAddress,omitempty"`
	// ProvisioningState - The provisioning state of the VPN site link connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VpnSiteLinkConnectionProperties parameters for VpnConnection.

type VpnSiteLinkConnectionsClient

type VpnSiteLinkConnectionsClient struct {
	BaseClient
}

VpnSiteLinkConnectionsClient is the network Client

func NewVpnSiteLinkConnectionsClient

func NewVpnSiteLinkConnectionsClient(subscriptionID string) VpnSiteLinkConnectionsClient

NewVpnSiteLinkConnectionsClient creates an instance of the VpnSiteLinkConnectionsClient client.

func NewVpnSiteLinkConnectionsClientWithBaseURI

func NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinkConnectionsClient

NewVpnSiteLinkConnectionsClientWithBaseURI creates an instance of the VpnSiteLinkConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnSiteLinkConnectionsClient) Get

func (client VpnSiteLinkConnectionsClient) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (result VpnSiteLinkConnection, err error)

Get retrieves the details of a vpn site link connection. Parameters: resourceGroupName - the resource group name of the VpnGateway. gatewayName - the name of the gateway. connectionName - the name of the vpn connection. linkConnectionName - the name of the vpn connection.

func (VpnSiteLinkConnectionsClient) GetPreparer

func (client VpnSiteLinkConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string, linkConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VpnSiteLinkConnectionsClient) GetResponder

func (client VpnSiteLinkConnectionsClient) GetResponder(resp *http.Response) (result VpnSiteLinkConnection, err error)

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

func (VpnSiteLinkConnectionsClient) GetSender

func (client VpnSiteLinkConnectionsClient) 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.

type VpnSiteLinkProperties

type VpnSiteLinkProperties struct {
	// LinkProperties - The link provider properties.
	LinkProperties *VpnLinkProviderProperties `json:"linkProperties,omitempty"`
	// IPAddress - The ip-address for the vpn-site-link.
	IPAddress *string `json:"ipAddress,omitempty"`
	// BgpProperties - The set of bgp properties.
	BgpProperties *VpnLinkBgpSettings `json:"bgpProperties,omitempty"`
	// ProvisioningState - The provisioning state of the VPN site link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

VpnSiteLinkProperties parameters for VpnSite.

type VpnSiteLinksClient

type VpnSiteLinksClient struct {
	BaseClient
}

VpnSiteLinksClient is the network Client

func NewVpnSiteLinksClient

func NewVpnSiteLinksClient(subscriptionID string) VpnSiteLinksClient

NewVpnSiteLinksClient creates an instance of the VpnSiteLinksClient client.

func NewVpnSiteLinksClientWithBaseURI

func NewVpnSiteLinksClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinksClient

NewVpnSiteLinksClientWithBaseURI creates an instance of the VpnSiteLinksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnSiteLinksClient) Get

func (client VpnSiteLinksClient) Get(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string) (result VpnSiteLink, err error)

Get retrieves the details of a VPN site link. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite. vpnSiteLinkName - the name of the VpnSiteLink being retrieved.

func (VpnSiteLinksClient) GetPreparer

func (client VpnSiteLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VpnSiteLinksClient) GetResponder

func (client VpnSiteLinksClient) GetResponder(resp *http.Response) (result VpnSiteLink, err error)

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

func (VpnSiteLinksClient) GetSender

func (client VpnSiteLinksClient) 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 (VpnSiteLinksClient) ListByVpnSite

func (client VpnSiteLinksClient) ListByVpnSite(ctx context.Context, resourceGroupName string, vpnSiteName string) (result ListVpnSiteLinksResultPage, err error)

ListByVpnSite lists all the vpnSiteLinks in a resource group for a vpn site. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite.

func (VpnSiteLinksClient) ListByVpnSiteComplete

func (client VpnSiteLinksClient) ListByVpnSiteComplete(ctx context.Context, resourceGroupName string, vpnSiteName string) (result ListVpnSiteLinksResultIterator, err error)

ListByVpnSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnSiteLinksClient) ListByVpnSitePreparer

func (client VpnSiteLinksClient) ListByVpnSitePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string) (*http.Request, error)

ListByVpnSitePreparer prepares the ListByVpnSite request.

func (VpnSiteLinksClient) ListByVpnSiteResponder

func (client VpnSiteLinksClient) ListByVpnSiteResponder(resp *http.Response) (result ListVpnSiteLinksResult, err error)

ListByVpnSiteResponder handles the response to the ListByVpnSite request. The method always closes the http.Response Body.

func (VpnSiteLinksClient) ListByVpnSiteSender

func (client VpnSiteLinksClient) ListByVpnSiteSender(req *http.Request) (*http.Response, error)

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

type VpnSiteProperties

type VpnSiteProperties struct {
	// VirtualWan - The VirtualWAN to which the vpnSite belongs.
	VirtualWan *SubResource `json:"virtualWan,omitempty"`
	// DeviceProperties - The device properties.
	DeviceProperties *DeviceProperties `json:"deviceProperties,omitempty"`
	// IPAddress - The ip-address for the vpn-site.
	IPAddress *string `json:"ipAddress,omitempty"`
	// SiteKey - The key for vpn-site that can be used for connections.
	SiteKey *string `json:"siteKey,omitempty"`
	// AddressSpace - The AddressSpace that contains an array of IP address ranges.
	AddressSpace *AddressSpace `json:"addressSpace,omitempty"`
	// BgpProperties - The set of bgp properties.
	BgpProperties *BgpSettings `json:"bgpProperties,omitempty"`
	// ProvisioningState - The provisioning state of the VPN site resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// IsSecuritySite - IsSecuritySite flag.
	IsSecuritySite *bool `json:"isSecuritySite,omitempty"`
	// VpnSiteLinks - List of all vpn site links.
	VpnSiteLinks *[]VpnSiteLink `json:"vpnSiteLinks,omitempty"`
}

VpnSiteProperties parameters for VpnSite.

type VpnSitesClient

type VpnSitesClient struct {
	BaseClient
}

VpnSitesClient is the network Client

func NewVpnSitesClient

func NewVpnSitesClient(subscriptionID string) VpnSitesClient

NewVpnSitesClient creates an instance of the VpnSitesClient client.

func NewVpnSitesClientWithBaseURI

func NewVpnSitesClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesClient

NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnSitesClient) CreateOrUpdate

func (client VpnSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (result VpnSitesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being created or updated. vpnSiteParameters - parameters supplied to create or update VpnSite.

func (VpnSitesClient) CreateOrUpdatePreparer

func (client VpnSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters VpnSite) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VpnSitesClient) CreateOrUpdateResponder

func (client VpnSitesClient) CreateOrUpdateResponder(resp *http.Response) (result VpnSite, err error)

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

func (VpnSitesClient) CreateOrUpdateSender

func (client VpnSitesClient) CreateOrUpdateSender(req *http.Request) (future VpnSitesCreateOrUpdateFuture, err error)

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

func (VpnSitesClient) Delete

func (client VpnSitesClient) Delete(ctx context.Context, resourceGroupName string, vpnSiteName string) (result VpnSitesDeleteFuture, err error)

Delete deletes a VpnSite. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being deleted.

func (VpnSitesClient) DeletePreparer

func (client VpnSitesClient) DeletePreparer(ctx context.Context, resourceGroupName string, vpnSiteName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VpnSitesClient) DeleteResponder

func (client VpnSitesClient) 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 (VpnSitesClient) DeleteSender

func (client VpnSitesClient) DeleteSender(req *http.Request) (future VpnSitesDeleteFuture, err error)

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

func (VpnSitesClient) Get

func (client VpnSitesClient) Get(ctx context.Context, resourceGroupName string, vpnSiteName string) (result VpnSite, err error)

Get retrieves the details of a VPN site. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being retrieved.

func (VpnSitesClient) GetPreparer

func (client VpnSitesClient) GetPreparer(ctx context.Context, resourceGroupName string, vpnSiteName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VpnSitesClient) GetResponder

func (client VpnSitesClient) GetResponder(resp *http.Response) (result VpnSite, err error)

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

func (VpnSitesClient) GetSender

func (client VpnSitesClient) 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 (VpnSitesClient) List

func (client VpnSitesClient) List(ctx context.Context) (result ListVpnSitesResultPage, err error)

List lists all the VpnSites in a subscription.

func (VpnSitesClient) ListByResourceGroup

func (client VpnSitesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListVpnSitesResultPage, err error)

ListByResourceGroup lists all the vpnSites in a resource group. Parameters: resourceGroupName - the resource group name of the VpnSite.

func (VpnSitesClient) ListByResourceGroupComplete

func (client VpnSitesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListVpnSitesResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnSitesClient) ListByResourceGroupPreparer

func (client VpnSitesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VpnSitesClient) ListByResourceGroupResponder

func (client VpnSitesClient) ListByResourceGroupResponder(resp *http.Response) (result ListVpnSitesResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VpnSitesClient) ListByResourceGroupSender

func (client VpnSitesClient) 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 (VpnSitesClient) ListComplete

func (client VpnSitesClient) ListComplete(ctx context.Context) (result ListVpnSitesResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VpnSitesClient) ListPreparer

func (client VpnSitesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (VpnSitesClient) ListResponder

func (client VpnSitesClient) ListResponder(resp *http.Response) (result ListVpnSitesResult, err error)

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

func (VpnSitesClient) ListSender

func (client VpnSitesClient) 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 (VpnSitesClient) UpdateTags

func (client VpnSitesClient) UpdateTags(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters TagsObject) (result VpnSitesUpdateTagsFuture, err error)

UpdateTags updates VpnSite tags. Parameters: resourceGroupName - the resource group name of the VpnSite. vpnSiteName - the name of the VpnSite being updated. vpnSiteParameters - parameters supplied to update VpnSite tags.

func (VpnSitesClient) UpdateTagsPreparer

func (client VpnSitesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (VpnSitesClient) UpdateTagsResponder

func (client VpnSitesClient) UpdateTagsResponder(resp *http.Response) (result VpnSite, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (VpnSitesClient) UpdateTagsSender

func (client VpnSitesClient) UpdateTagsSender(req *http.Request) (future VpnSitesUpdateTagsFuture, err error)

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

type VpnSitesConfigurationClient

type VpnSitesConfigurationClient struct {
	BaseClient
}

VpnSitesConfigurationClient is the network Client

func NewVpnSitesConfigurationClient

func NewVpnSitesConfigurationClient(subscriptionID string) VpnSitesConfigurationClient

NewVpnSitesConfigurationClient creates an instance of the VpnSitesConfigurationClient client.

func NewVpnSitesConfigurationClientWithBaseURI

func NewVpnSitesConfigurationClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesConfigurationClient

NewVpnSitesConfigurationClientWithBaseURI creates an instance of the VpnSitesConfigurationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VpnSitesConfigurationClient) Download

func (client VpnSitesConfigurationClient) Download(ctx context.Context, resourceGroupName string, virtualWANName string, request GetVpnSitesConfigurationRequest) (result VpnSitesConfigurationDownloadFuture, err error)

Download gives the sas-url to download the configurations for vpn-sites in a resource group. Parameters: resourceGroupName - the resource group name. virtualWANName - the name of the VirtualWAN for which configuration of all vpn-sites is needed. request - parameters supplied to download vpn-sites configuration.

func (VpnSitesConfigurationClient) DownloadPreparer

func (client VpnSitesConfigurationClient) DownloadPreparer(ctx context.Context, resourceGroupName string, virtualWANName string, request GetVpnSitesConfigurationRequest) (*http.Request, error)

DownloadPreparer prepares the Download request.

func (VpnSitesConfigurationClient) DownloadResponder

func (client VpnSitesConfigurationClient) DownloadResponder(resp *http.Response) (result autorest.Response, err error)

DownloadResponder handles the response to the Download request. The method always closes the http.Response Body.

func (VpnSitesConfigurationClient) DownloadSender

func (client VpnSitesConfigurationClient) DownloadSender(req *http.Request) (future VpnSitesConfigurationDownloadFuture, err error)

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

type VpnSitesConfigurationDownloadFuture

type VpnSitesConfigurationDownloadFuture struct {
	azure.Future
}

VpnSitesConfigurationDownloadFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnSitesConfigurationDownloadFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnSitesCreateOrUpdateFuture

type VpnSitesCreateOrUpdateFuture struct {
	azure.Future
}

VpnSitesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnSitesCreateOrUpdateFuture) Result

func (future *VpnSitesCreateOrUpdateFuture) Result(client VpnSitesClient) (vs VpnSite, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnSitesDeleteFuture

type VpnSitesDeleteFuture struct {
	azure.Future
}

VpnSitesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnSitesDeleteFuture) Result

func (future *VpnSitesDeleteFuture) Result(client VpnSitesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnSitesUpdateTagsFuture

type VpnSitesUpdateTagsFuture struct {
	azure.Future
}

VpnSitesUpdateTagsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VpnSitesUpdateTagsFuture) Result

func (future *VpnSitesUpdateTagsFuture) Result(client VpnSitesClient) (vs VpnSite, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VpnType

type VpnType string

VpnType enumerates the values for vpn type.

const (
	// PolicyBased ...
	PolicyBased VpnType = "PolicyBased"
	// RouteBased ...
	RouteBased VpnType = "RouteBased"
)

func PossibleVpnTypeValues

func PossibleVpnTypeValues() []VpnType

PossibleVpnTypeValues returns an array of possible values for the VpnType const type.

type Watcher

type Watcher struct {
	autorest.Response `json:"-"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// WatcherPropertiesFormat - Properties of the network watcher.
	*WatcherPropertiesFormat `json:"properties,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

Watcher network watcher in a resource group.

func (Watcher) MarshalJSON

func (w Watcher) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Watcher.

func (*Watcher) UnmarshalJSON

func (w *Watcher) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Watcher struct.

type WatcherListResult

type WatcherListResult struct {
	autorest.Response `json:"-"`
	// Value - List of network watcher resources.
	Value *[]Watcher `json:"value,omitempty"`
}

WatcherListResult response for ListNetworkWatchers API service call.

type WatcherPropertiesFormat

type WatcherPropertiesFormat struct {
	// ProvisioningState - The provisioning state of the network watcher resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

WatcherPropertiesFormat the network watcher properties.

type WatchersCheckConnectivityFuture

type WatchersCheckConnectivityFuture struct {
	azure.Future
}

WatchersCheckConnectivityFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersCheckConnectivityFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersClient

type WatchersClient struct {
	BaseClient
}

WatchersClient is the network Client

func NewWatchersClient

func NewWatchersClient(subscriptionID string) WatchersClient

NewWatchersClient creates an instance of the WatchersClient client.

func NewWatchersClientWithBaseURI

func NewWatchersClientWithBaseURI(baseURI string, subscriptionID string) WatchersClient

NewWatchersClientWithBaseURI creates an instance of the WatchersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WatchersClient) CheckConnectivity

func (client WatchersClient) CheckConnectivity(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters) (result WatchersCheckConnectivityFuture, err error)

CheckConnectivity verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that determine how the connectivity check will be performed.

func (WatchersClient) CheckConnectivityPreparer

func (client WatchersClient) CheckConnectivityPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConnectivityParameters) (*http.Request, error)

CheckConnectivityPreparer prepares the CheckConnectivity request.

func (WatchersClient) CheckConnectivityResponder

func (client WatchersClient) CheckConnectivityResponder(resp *http.Response) (result ConnectivityInformation, err error)

CheckConnectivityResponder handles the response to the CheckConnectivity request. The method always closes the http.Response Body.

func (WatchersClient) CheckConnectivitySender

func (client WatchersClient) CheckConnectivitySender(req *http.Request) (future WatchersCheckConnectivityFuture, err error)

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

func (WatchersClient) CreateOrUpdate

func (client WatchersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters Watcher) (result Watcher, err error)

CreateOrUpdate creates or updates a network watcher in the specified resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the network watcher resource.

func (WatchersClient) CreateOrUpdatePreparer

func (client WatchersClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkWatcherName string) (result WatchersDeleteFuture, err error)

Delete deletes the specified network watcher resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher.

func (WatchersClient) DeletePreparer

func (client WatchersClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*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) (future WatchersDeleteFuture, err 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(ctx context.Context, resourceGroupName string, networkWatcherName string) (result Watcher, err error)

Get gets the specified network watcher by resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher.

func (WatchersClient) GetAzureReachabilityReport

func (client WatchersClient) GetAzureReachabilityReport(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters) (result WatchersGetAzureReachabilityReportFuture, err error)

GetAzureReachabilityReport gets the relative latency score for internet service providers from a specified location to Azure regions. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that determine Azure reachability report configuration.

func (WatchersClient) GetAzureReachabilityReportPreparer

func (client WatchersClient) GetAzureReachabilityReportPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AzureReachabilityReportParameters) (*http.Request, error)

GetAzureReachabilityReportPreparer prepares the GetAzureReachabilityReport request.

func (WatchersClient) GetAzureReachabilityReportResponder

func (client WatchersClient) GetAzureReachabilityReportResponder(resp *http.Response) (result AzureReachabilityReport, err error)

GetAzureReachabilityReportResponder handles the response to the GetAzureReachabilityReport request. The method always closes the http.Response Body.

func (WatchersClient) GetAzureReachabilityReportSender

func (client WatchersClient) GetAzureReachabilityReportSender(req *http.Request) (future WatchersGetAzureReachabilityReportFuture, err error)

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

func (WatchersClient) GetFlowLogStatus

func (client WatchersClient) GetFlowLogStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters) (result WatchersGetFlowLogStatusFuture, err error)

GetFlowLogStatus queries status of flow log and traffic analytics (optional) on a specified resource. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define a resource to query flow log and traffic analytics (optional) status.

func (WatchersClient) GetFlowLogStatusPreparer

func (client WatchersClient) GetFlowLogStatusPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters) (*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) (future WatchersGetFlowLogStatusFuture, err error)

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

func (WatchersClient) GetNetworkConfigurationDiagnostic

func (client WatchersClient) GetNetworkConfigurationDiagnostic(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConfigurationDiagnosticParameters) (result WatchersGetNetworkConfigurationDiagnosticFuture, err error)

GetNetworkConfigurationDiagnostic gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters to get network configuration diagnostic.

func (WatchersClient) GetNetworkConfigurationDiagnosticPreparer

func (client WatchersClient) GetNetworkConfigurationDiagnosticPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters ConfigurationDiagnosticParameters) (*http.Request, error)

GetNetworkConfigurationDiagnosticPreparer prepares the GetNetworkConfigurationDiagnostic request.

func (WatchersClient) GetNetworkConfigurationDiagnosticResponder

func (client WatchersClient) GetNetworkConfigurationDiagnosticResponder(resp *http.Response) (result ConfigurationDiagnosticResponse, err error)

GetNetworkConfigurationDiagnosticResponder handles the response to the GetNetworkConfigurationDiagnostic request. The method always closes the http.Response Body.

func (WatchersClient) GetNetworkConfigurationDiagnosticSender

func (client WatchersClient) GetNetworkConfigurationDiagnosticSender(req *http.Request) (future WatchersGetNetworkConfigurationDiagnosticFuture, err error)

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

func (WatchersClient) GetNextHop

func (client WatchersClient) GetNextHop(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NextHopParameters) (result WatchersGetNextHopFuture, err error)

GetNextHop gets the next hop from the specified VM. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the source and destination endpoint.

func (WatchersClient) GetNextHopPreparer

func (client WatchersClient) GetNextHopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters NextHopParameters) (*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) (future WatchersGetNextHopFuture, err 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TopologyParameters) (result Topology, err error)

GetTopology gets the current network topology by resource group. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the representation of topology.

func (WatchersClient) GetTopologyPreparer

func (client WatchersClient) GetTopologyPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters) (result WatchersGetTroubleshootingFuture, err error)

GetTroubleshooting initiate troubleshooting on a specified resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define the resource to troubleshoot.

func (WatchersClient) GetTroubleshootingPreparer

func (client WatchersClient) GetTroubleshootingPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TroubleshootingParameters) (*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(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters) (result WatchersGetTroubleshootingResultFuture, err error)

GetTroubleshootingResult get the last completed troubleshooting result on a specified resource. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define the resource to query the troubleshooting result.

func (WatchersClient) GetTroubleshootingResultPreparer

func (client WatchersClient) GetTroubleshootingResultPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters QueryTroubleshootingParameters) (*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) (future WatchersGetTroubleshootingResultFuture, err 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) (future WatchersGetTroubleshootingFuture, err 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(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters) (result WatchersGetVMSecurityRulesFuture, err error)

GetVMSecurityRules gets the configured and effective security group rules on the specified VM. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the VM to check security groups for.

func (WatchersClient) GetVMSecurityRulesPreparer

func (client WatchersClient) GetVMSecurityRulesPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters SecurityGroupViewParameters) (*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) (future WatchersGetVMSecurityRulesFuture, err 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(ctx context.Context, resourceGroupName string) (result WatcherListResult, err error)

List gets all network watchers by resource group. Parameters: resourceGroupName - the name of the resource group.

func (WatchersClient) ListAll

func (client WatchersClient) ListAll(ctx context.Context) (result WatcherListResult, err error)

ListAll gets all network watchers by subscription.

func (WatchersClient) ListAllPreparer

func (client WatchersClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (WatchersClient) ListAllResponder

func (client WatchersClient) ListAllResponder(resp *http.Response) (result WatcherListResult, err error)

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

func (WatchersClient) ListAllSender

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

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

func (WatchersClient) ListAvailableProviders

func (client WatchersClient) ListAvailableProviders(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters) (result WatchersListAvailableProvidersFuture, err error)

ListAvailableProviders lists all available internet service providers for a specified Azure region. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that scope the list of available providers.

func (WatchersClient) ListAvailableProvidersPreparer

func (client WatchersClient) ListAvailableProvidersPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters AvailableProvidersListParameters) (*http.Request, error)

ListAvailableProvidersPreparer prepares the ListAvailableProviders request.

func (WatchersClient) ListAvailableProvidersResponder

func (client WatchersClient) ListAvailableProvidersResponder(resp *http.Response) (result AvailableProvidersList, err error)

ListAvailableProvidersResponder handles the response to the ListAvailableProviders request. The method always closes the http.Response Body.

func (WatchersClient) ListAvailableProvidersSender

func (client WatchersClient) ListAvailableProvidersSender(req *http.Request) (future WatchersListAvailableProvidersFuture, err error)

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

func (WatchersClient) ListPreparer

func (client WatchersClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogInformation) (result WatchersSetFlowLogConfigurationFuture, err error)

SetFlowLogConfiguration configures flow log and traffic analytics (optional) on a specified resource. Parameters: resourceGroupName - the name of the network watcher resource group. networkWatcherName - the name of the network watcher resource. parameters - parameters that define the configuration of flow log.

func (WatchersClient) SetFlowLogConfigurationPreparer

func (client WatchersClient) SetFlowLogConfigurationPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogInformation) (*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) (future WatchersSetFlowLogConfigurationFuture, err error)

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

func (WatchersClient) UpdateTags

func (client WatchersClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TagsObject) (result Watcher, err error)

UpdateTags updates a network watcher tags. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters supplied to update network watcher tags.

func (WatchersClient) UpdateTagsPreparer

func (client WatchersClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (WatchersClient) UpdateTagsResponder

func (client WatchersClient) UpdateTagsResponder(resp *http.Response) (result Watcher, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (WatchersClient) UpdateTagsSender

func (client WatchersClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

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

func (WatchersClient) VerifyIPFlow

func (client WatchersClient) VerifyIPFlow(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters) (result WatchersVerifyIPFlowFuture, err error)

VerifyIPFlow verify IP flow from the specified VM to a location given the currently configured NSG rules. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. parameters - parameters that define the IP flow to be verified.

func (WatchersClient) VerifyIPFlowPreparer

func (client WatchersClient) VerifyIPFlowPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters VerificationIPFlowParameters) (*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) (future WatchersVerifyIPFlowFuture, err error)

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

type WatchersDeleteFuture

type WatchersDeleteFuture struct {
	azure.Future
}

WatchersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersDeleteFuture) Result

func (future *WatchersDeleteFuture) Result(client WatchersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetAzureReachabilityReportFuture

type WatchersGetAzureReachabilityReportFuture struct {
	azure.Future
}

WatchersGetAzureReachabilityReportFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetAzureReachabilityReportFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetFlowLogStatusFuture

type WatchersGetFlowLogStatusFuture struct {
	azure.Future
}

WatchersGetFlowLogStatusFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetFlowLogStatusFuture) Result

func (future *WatchersGetFlowLogStatusFuture) Result(client WatchersClient) (fli FlowLogInformation, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetNetworkConfigurationDiagnosticFuture

type WatchersGetNetworkConfigurationDiagnosticFuture struct {
	azure.Future
}

WatchersGetNetworkConfigurationDiagnosticFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetNetworkConfigurationDiagnosticFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetNextHopFuture

type WatchersGetNextHopFuture struct {
	azure.Future
}

WatchersGetNextHopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetNextHopFuture) Result

func (future *WatchersGetNextHopFuture) Result(client WatchersClient) (nhr NextHopResult, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetTroubleshootingFuture

type WatchersGetTroubleshootingFuture struct {
	azure.Future
}

WatchersGetTroubleshootingFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetTroubleshootingFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetTroubleshootingResultFuture

type WatchersGetTroubleshootingResultFuture struct {
	azure.Future
}

WatchersGetTroubleshootingResultFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetTroubleshootingResultFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersGetVMSecurityRulesFuture

type WatchersGetVMSecurityRulesFuture struct {
	azure.Future
}

WatchersGetVMSecurityRulesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersGetVMSecurityRulesFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersListAvailableProvidersFuture

type WatchersListAvailableProvidersFuture struct {
	azure.Future
}

WatchersListAvailableProvidersFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersListAvailableProvidersFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersSetFlowLogConfigurationFuture

type WatchersSetFlowLogConfigurationFuture struct {
	azure.Future
}

WatchersSetFlowLogConfigurationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersSetFlowLogConfigurationFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WatchersVerifyIPFlowFuture

type WatchersVerifyIPFlowFuture struct {
	azure.Future
}

WatchersVerifyIPFlowFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WatchersVerifyIPFlowFuture) Result

func (future *WatchersVerifyIPFlowFuture) Result(client WatchersClient) (vifr VerificationIPFlowResult, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WebApplicationFirewallAction

type WebApplicationFirewallAction string

WebApplicationFirewallAction enumerates the values for web application firewall action.

const (
	// WebApplicationFirewallActionAllow ...
	WebApplicationFirewallActionAllow WebApplicationFirewallAction = "Allow"
	// WebApplicationFirewallActionBlock ...
	WebApplicationFirewallActionBlock WebApplicationFirewallAction = "Block"
	// WebApplicationFirewallActionLog ...
	WebApplicationFirewallActionLog WebApplicationFirewallAction = "Log"
)

func PossibleWebApplicationFirewallActionValues

func PossibleWebApplicationFirewallActionValues() []WebApplicationFirewallAction

PossibleWebApplicationFirewallActionValues returns an array of possible values for the WebApplicationFirewallAction const type.

type WebApplicationFirewallCustomRule

type WebApplicationFirewallCustomRule struct {
	// Name - The name of the resource that is unique within a policy. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Priority - Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
	Priority *int32 `json:"priority,omitempty"`
	// RuleType - Describes type of rule. Possible values include: 'WebApplicationFirewallRuleTypeMatchRule', 'WebApplicationFirewallRuleTypeInvalid'
	RuleType WebApplicationFirewallRuleType `json:"ruleType,omitempty"`
	// MatchConditions - List of match conditions.
	MatchConditions *[]MatchCondition `json:"matchConditions,omitempty"`
	// Action - Type of Actions. Possible values include: 'WebApplicationFirewallActionAllow', 'WebApplicationFirewallActionBlock', 'WebApplicationFirewallActionLog'
	Action WebApplicationFirewallAction `json:"action,omitempty"`
}

WebApplicationFirewallCustomRule defines contents of a web application rule.

type WebApplicationFirewallEnabledState

type WebApplicationFirewallEnabledState string

WebApplicationFirewallEnabledState enumerates the values for web application firewall enabled state.

const (
	// WebApplicationFirewallEnabledStateDisabled ...
	WebApplicationFirewallEnabledStateDisabled WebApplicationFirewallEnabledState = "Disabled"
	// WebApplicationFirewallEnabledStateEnabled ...
	WebApplicationFirewallEnabledStateEnabled WebApplicationFirewallEnabledState = "Enabled"
)

func PossibleWebApplicationFirewallEnabledStateValues

func PossibleWebApplicationFirewallEnabledStateValues() []WebApplicationFirewallEnabledState

PossibleWebApplicationFirewallEnabledStateValues returns an array of possible values for the WebApplicationFirewallEnabledState const type.

type WebApplicationFirewallMatchVariable

type WebApplicationFirewallMatchVariable string

WebApplicationFirewallMatchVariable enumerates the values for web application firewall match variable.

const (
	// PostArgs ...
	PostArgs WebApplicationFirewallMatchVariable = "PostArgs"
	// QueryString ...
	QueryString WebApplicationFirewallMatchVariable = "QueryString"
	// RemoteAddr ...
	RemoteAddr WebApplicationFirewallMatchVariable = "RemoteAddr"
	// RequestBody ...
	RequestBody WebApplicationFirewallMatchVariable = "RequestBody"
	// RequestCookies ...
	RequestCookies WebApplicationFirewallMatchVariable = "RequestCookies"
	// RequestHeaders ...
	RequestHeaders WebApplicationFirewallMatchVariable = "RequestHeaders"
	// RequestMethod ...
	RequestMethod WebApplicationFirewallMatchVariable = "RequestMethod"
	// RequestURI ...
	RequestURI WebApplicationFirewallMatchVariable = "RequestUri"
)

func PossibleWebApplicationFirewallMatchVariableValues

func PossibleWebApplicationFirewallMatchVariableValues() []WebApplicationFirewallMatchVariable

PossibleWebApplicationFirewallMatchVariableValues returns an array of possible values for the WebApplicationFirewallMatchVariable const type.

type WebApplicationFirewallMode

type WebApplicationFirewallMode string

WebApplicationFirewallMode enumerates the values for web application firewall mode.

const (
	// WebApplicationFirewallModeDetection ...
	WebApplicationFirewallModeDetection WebApplicationFirewallMode = "Detection"
	// WebApplicationFirewallModePrevention ...
	WebApplicationFirewallModePrevention WebApplicationFirewallMode = "Prevention"
)

func PossibleWebApplicationFirewallModeValues

func PossibleWebApplicationFirewallModeValues() []WebApplicationFirewallMode

PossibleWebApplicationFirewallModeValues returns an array of possible values for the WebApplicationFirewallMode const type.

type WebApplicationFirewallOperator

type WebApplicationFirewallOperator string

WebApplicationFirewallOperator enumerates the values for web application firewall operator.

const (
	// WebApplicationFirewallOperatorBeginsWith ...
	WebApplicationFirewallOperatorBeginsWith WebApplicationFirewallOperator = "BeginsWith"
	// WebApplicationFirewallOperatorContains ...
	WebApplicationFirewallOperatorContains WebApplicationFirewallOperator = "Contains"
	// WebApplicationFirewallOperatorEndsWith ...
	WebApplicationFirewallOperatorEndsWith WebApplicationFirewallOperator = "EndsWith"
	// WebApplicationFirewallOperatorEqual ...
	WebApplicationFirewallOperatorEqual WebApplicationFirewallOperator = "Equal"
	// WebApplicationFirewallOperatorGreaterThan ...
	WebApplicationFirewallOperatorGreaterThan WebApplicationFirewallOperator = "GreaterThan"
	// WebApplicationFirewallOperatorGreaterThanOrEqual ...
	WebApplicationFirewallOperatorGreaterThanOrEqual WebApplicationFirewallOperator = "GreaterThanOrEqual"
	// WebApplicationFirewallOperatorIPMatch ...
	WebApplicationFirewallOperatorIPMatch WebApplicationFirewallOperator = "IPMatch"
	// WebApplicationFirewallOperatorLessThan ...
	WebApplicationFirewallOperatorLessThan WebApplicationFirewallOperator = "LessThan"
	// WebApplicationFirewallOperatorLessThanOrEqual ...
	WebApplicationFirewallOperatorLessThanOrEqual WebApplicationFirewallOperator = "LessThanOrEqual"
	// WebApplicationFirewallOperatorRegex ...
	WebApplicationFirewallOperatorRegex WebApplicationFirewallOperator = "Regex"
)

func PossibleWebApplicationFirewallOperatorValues

func PossibleWebApplicationFirewallOperatorValues() []WebApplicationFirewallOperator

PossibleWebApplicationFirewallOperatorValues returns an array of possible values for the WebApplicationFirewallOperator const type.

type WebApplicationFirewallPoliciesClient

type WebApplicationFirewallPoliciesClient struct {
	BaseClient
}

WebApplicationFirewallPoliciesClient is the network Client

func NewWebApplicationFirewallPoliciesClient

func NewWebApplicationFirewallPoliciesClient(subscriptionID string) WebApplicationFirewallPoliciesClient

NewWebApplicationFirewallPoliciesClient creates an instance of the WebApplicationFirewallPoliciesClient client.

func NewWebApplicationFirewallPoliciesClientWithBaseURI

func NewWebApplicationFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) WebApplicationFirewallPoliciesClient

NewWebApplicationFirewallPoliciesClientWithBaseURI creates an instance of the WebApplicationFirewallPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (WebApplicationFirewallPoliciesClient) CreateOrUpdate

func (client WebApplicationFirewallPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (result WebApplicationFirewallPolicy, err error)

CreateOrUpdate creates or update policy with specified rule set name within a resource group. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the policy. parameters - policy to be created.

func (WebApplicationFirewallPoliciesClient) CreateOrUpdatePreparer

func (client WebApplicationFirewallPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WebApplicationFirewallPoliciesClient) CreateOrUpdateResponder

func (client WebApplicationFirewallPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)

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

func (WebApplicationFirewallPoliciesClient) CreateOrUpdateSender

func (client WebApplicationFirewallPoliciesClient) 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 (WebApplicationFirewallPoliciesClient) Delete

func (client WebApplicationFirewallPoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPoliciesDeleteFuture, err error)

Delete deletes Policy. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the policy.

func (WebApplicationFirewallPoliciesClient) DeletePreparer

func (client WebApplicationFirewallPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (WebApplicationFirewallPoliciesClient) DeleteResponder

func (client WebApplicationFirewallPoliciesClient) 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 (WebApplicationFirewallPoliciesClient) DeleteSender

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

func (WebApplicationFirewallPoliciesClient) Get

func (client WebApplicationFirewallPoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPolicy, err error)

Get retrieve protection policy with specified name within a resource group. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the policy.

func (WebApplicationFirewallPoliciesClient) GetPreparer

func (client WebApplicationFirewallPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (WebApplicationFirewallPoliciesClient) GetResponder

func (client WebApplicationFirewallPoliciesClient) GetResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)

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

func (WebApplicationFirewallPoliciesClient) GetSender

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

func (WebApplicationFirewallPoliciesClient) List

List lists all of the protection policies within a resource group. Parameters: resourceGroupName - the name of the resource group.

func (WebApplicationFirewallPoliciesClient) ListAll

ListAll gets all the WAF policies in a subscription.

func (WebApplicationFirewallPoliciesClient) ListAllComplete

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (WebApplicationFirewallPoliciesClient) ListAllPreparer

func (client WebApplicationFirewallPoliciesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (WebApplicationFirewallPoliciesClient) ListAllResponder

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

func (WebApplicationFirewallPoliciesClient) ListAllSender

func (client WebApplicationFirewallPoliciesClient) 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 (WebApplicationFirewallPoliciesClient) ListComplete

func (client WebApplicationFirewallPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (WebApplicationFirewallPoliciesClient) ListPreparer

func (client WebApplicationFirewallPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (WebApplicationFirewallPoliciesClient) ListResponder

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

func (WebApplicationFirewallPoliciesClient) ListSender

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

type WebApplicationFirewallPoliciesDeleteFuture

type WebApplicationFirewallPoliciesDeleteFuture struct {
	azure.Future
}

WebApplicationFirewallPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*WebApplicationFirewallPoliciesDeleteFuture) Result

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type WebApplicationFirewallPolicy

type WebApplicationFirewallPolicy struct {
	autorest.Response `json:"-"`
	// WebApplicationFirewallPolicyPropertiesFormat - Properties of the web application firewall policy.
	*WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"`
	// Etag - A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

WebApplicationFirewallPolicy defines web application firewall policy.

func (WebApplicationFirewallPolicy) MarshalJSON

func (wafp WebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicy.

func (*WebApplicationFirewallPolicy) UnmarshalJSON

func (wafp *WebApplicationFirewallPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebApplicationFirewallPolicy struct.

type WebApplicationFirewallPolicyListResult

type WebApplicationFirewallPolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of WebApplicationFirewallPolicies within a resource group.
	Value *[]WebApplicationFirewallPolicy `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next set of WebApplicationFirewallPolicy objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

WebApplicationFirewallPolicyListResult result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.

func (WebApplicationFirewallPolicyListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type WebApplicationFirewallPolicyListResultIterator

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

WebApplicationFirewallPolicyListResultIterator provides access to a complete listing of WebApplicationFirewallPolicy values.

func NewWebApplicationFirewallPolicyListResultIterator

func NewWebApplicationFirewallPolicyListResultIterator(page WebApplicationFirewallPolicyListResultPage) WebApplicationFirewallPolicyListResultIterator

Creates a new instance of the WebApplicationFirewallPolicyListResultIterator type.

func (*WebApplicationFirewallPolicyListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WebApplicationFirewallPolicyListResultIterator) NextWithContext

func (iter *WebApplicationFirewallPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WebApplicationFirewallPolicyListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (WebApplicationFirewallPolicyListResultIterator) Response

Response returns the raw server response from the last page request.

func (WebApplicationFirewallPolicyListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WebApplicationFirewallPolicyListResultPage

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

WebApplicationFirewallPolicyListResultPage contains a page of WebApplicationFirewallPolicy values.

func NewWebApplicationFirewallPolicyListResultPage

Creates a new instance of the WebApplicationFirewallPolicyListResultPage type.

func (*WebApplicationFirewallPolicyListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WebApplicationFirewallPolicyListResultPage) NextWithContext

func (page *WebApplicationFirewallPolicyListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WebApplicationFirewallPolicyListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WebApplicationFirewallPolicyListResultPage) Response

Response returns the raw server response from the last page request.

func (WebApplicationFirewallPolicyListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type WebApplicationFirewallPolicyPropertiesFormat

type WebApplicationFirewallPolicyPropertiesFormat struct {
	// PolicySettings - Describes policySettings for policy.
	PolicySettings *PolicySettings `json:"policySettings,omitempty"`
	// CustomRules - Describes custom rules inside the policy.
	CustomRules *[]WebApplicationFirewallCustomRule `json:"customRules,omitempty"`
	// ApplicationGateways - READ-ONLY; A collection of references to application gateways.
	ApplicationGateways *[]ApplicationGateway `json:"applicationGateways,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the web application firewall policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ResourceState - READ-ONLY; Resource status of the policy. Possible values include: 'WebApplicationFirewallPolicyResourceStateCreating', 'WebApplicationFirewallPolicyResourceStateEnabling', 'WebApplicationFirewallPolicyResourceStateEnabled', 'WebApplicationFirewallPolicyResourceStateDisabling', 'WebApplicationFirewallPolicyResourceStateDisabled', 'WebApplicationFirewallPolicyResourceStateDeleting'
	ResourceState WebApplicationFirewallPolicyResourceState `json:"resourceState,omitempty"`
	// ManagedRules - Describes the managedRules structure
	ManagedRules *ManagedRulesDefinition `json:"managedRules,omitempty"`
}

WebApplicationFirewallPolicyPropertiesFormat defines web application firewall policy properties.

type WebApplicationFirewallPolicyResourceState

type WebApplicationFirewallPolicyResourceState string

WebApplicationFirewallPolicyResourceState enumerates the values for web application firewall policy resource state.

const (
	// WebApplicationFirewallPolicyResourceStateCreating ...
	WebApplicationFirewallPolicyResourceStateCreating WebApplicationFirewallPolicyResourceState = "Creating"
	// WebApplicationFirewallPolicyResourceStateDeleting ...
	WebApplicationFirewallPolicyResourceStateDeleting WebApplicationFirewallPolicyResourceState = "Deleting"
	// WebApplicationFirewallPolicyResourceStateDisabled ...
	WebApplicationFirewallPolicyResourceStateDisabled WebApplicationFirewallPolicyResourceState = "Disabled"
	// WebApplicationFirewallPolicyResourceStateDisabling ...
	WebApplicationFirewallPolicyResourceStateDisabling WebApplicationFirewallPolicyResourceState = "Disabling"
	// WebApplicationFirewallPolicyResourceStateEnabled ...
	WebApplicationFirewallPolicyResourceStateEnabled WebApplicationFirewallPolicyResourceState = "Enabled"
	// WebApplicationFirewallPolicyResourceStateEnabling ...
	WebApplicationFirewallPolicyResourceStateEnabling WebApplicationFirewallPolicyResourceState = "Enabling"
)

func PossibleWebApplicationFirewallPolicyResourceStateValues

func PossibleWebApplicationFirewallPolicyResourceStateValues() []WebApplicationFirewallPolicyResourceState

PossibleWebApplicationFirewallPolicyResourceStateValues returns an array of possible values for the WebApplicationFirewallPolicyResourceState const type.

type WebApplicationFirewallRuleType

type WebApplicationFirewallRuleType string

WebApplicationFirewallRuleType enumerates the values for web application firewall rule type.

const (
	// WebApplicationFirewallRuleTypeInvalid ...
	WebApplicationFirewallRuleTypeInvalid WebApplicationFirewallRuleType = "Invalid"
	// WebApplicationFirewallRuleTypeMatchRule ...
	WebApplicationFirewallRuleTypeMatchRule WebApplicationFirewallRuleType = "MatchRule"
)

func PossibleWebApplicationFirewallRuleTypeValues

func PossibleWebApplicationFirewallRuleTypeValues() []WebApplicationFirewallRuleType

PossibleWebApplicationFirewallRuleTypeValues returns an array of possible values for the WebApplicationFirewallRuleType const type.

type WebApplicationFirewallTransform

type WebApplicationFirewallTransform string

WebApplicationFirewallTransform enumerates the values for web application firewall transform.

const (
	// HTMLEntityDecode ...
	HTMLEntityDecode WebApplicationFirewallTransform = "HtmlEntityDecode"
	// Lowercase ...
	Lowercase WebApplicationFirewallTransform = "Lowercase"
	// RemoveNulls ...
	RemoveNulls WebApplicationFirewallTransform = "RemoveNulls"
	// Trim ...
	Trim WebApplicationFirewallTransform = "Trim"
	// URLDecode ...
	URLDecode WebApplicationFirewallTransform = "UrlDecode"
	// URLEncode ...
	URLEncode WebApplicationFirewallTransform = "UrlEncode"
)

func PossibleWebApplicationFirewallTransformValues

func PossibleWebApplicationFirewallTransformValues() []WebApplicationFirewallTransform

PossibleWebApplicationFirewallTransformValues returns an array of possible values for the WebApplicationFirewallTransform const type.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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