network

package
v61.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT 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 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 `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"`
}

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 `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 - 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 - Provisioning state of the authentication certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayAuthenticationCertificatePropertiesFormat authentication certificates properties of an application gateway.

type ApplicationGatewayAvailableSslOptions

type ApplicationGatewayAvailableSslOptions struct {
	autorest.Response                                      `json:"-"`
	*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 `json:"properties,omitempty"`
	// Name - 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 - 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 - Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of an application gateway.

type ApplicationGatewayBackendHTTPSettings

type ApplicationGatewayBackendHTTPSettings struct {
	*ApplicationGatewayBackendHTTPSettingsPropertiesFormat `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 - 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 - Port
	Port *int32 `json:"port,omitempty"`
	// Protocol - Protocol. 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"`
	// 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 - Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

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

type ApplicationGatewayBackendHealth

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

ApplicationGatewayBackendHealth list of ApplicationGatewayBackendHealthPool resources.

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

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 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 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 `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.
	ProvisioningState *string `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 `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 - 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 - PrivateIP 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 - Provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendIPConfigurationPropertiesFormat properties of Frontend IP configuration of an application gateway.

type ApplicationGatewayFrontendPort

type ApplicationGatewayFrontendPort struct {
	*ApplicationGatewayFrontendPortPropertiesFormat `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 - 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 - Provisioning state of the frontend port resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayFrontendPortPropertiesFormat properties of Frontend port of an application gateway.

type ApplicationGatewayHTTPListener

type ApplicationGatewayHTTPListener struct {
	*ApplicationGatewayHTTPListenerPropertiesFormat `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 - 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. 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 - Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayHTTPListenerPropertiesFormat properties of HTTP listener of an application gateway.

type ApplicationGatewayIPConfiguration

type ApplicationGatewayIPConfiguration struct {
	*ApplicationGatewayIPConfigurationPropertiesFormat `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 - 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 - Provisioning state of the application gateway subnet resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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 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 `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 - 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"`
	// ProvisioningState - Path rule of URL path map resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayPathRulePropertiesFormat properties of path rule of an application gateway.

type ApplicationGatewayProbe

type ApplicationGatewayProbe struct {
	*ApplicationGatewayProbePropertiesFormat `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 - 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 - Protocol. 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 - Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,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 application the gateway resource.
	GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"`
	// AuthenticationCertificates - Authentication certificates of the application gateway resource.
	AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"`
	// SslCertificates - SSL certificates of the application gateway resource.
	SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"`
	// FrontendIPConfigurations - Frontend IP addresses of the application gateway resource.
	FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	// FrontendPorts - Frontend ports of the application gateway resource.
	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.
	BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"`
	// BackendHTTPSettingsCollection - Backend http settings of the application gateway resource.
	BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
	// HTTPListeners - Http listeners of the application gateway resource.
	HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"`
	// URLPathMaps - URL path map of the application gateway resource.
	URLPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"`
	// RequestRoutingRules - Request routing rules of the application gateway resource.
	RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"`
	// RedirectConfigurations - Redirect configurations of the application gateway resource.
	RedirectConfigurations *[]ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"`
	// WebApplicationFirewallConfiguration - Web application firewall configuration.
	WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"`
	// ResourceGUID - Resource GUID property of the application gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - Provisioning state of the application gateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ApplicationGatewayPropertiesFormat properties of the application gateway.

func (ApplicationGatewayPropertiesFormat) MarshalJSON

func (agpf ApplicationGatewayPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPropertiesFormat.

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 `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 - 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 - Supported http redirection types - Permanent, Temporary, Found, SeeOther. 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 `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 - 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"`
	// BackendAddressPool - Backend address pool resource of the application gateway.
	BackendAddressPool *SubResource `json:"backendAddressPool,omitempty"`
	// BackendHTTPSettings - Frontend port 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"`
	// RedirectConfiguration - Redirect configuration resource of the application gateway.
	RedirectConfiguration *SubResource `json:"redirectConfiguration,omitempty"`
	// ProvisioningState - Provisioning state of the request routing rule resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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 ApplicationGatewaySku

type ApplicationGatewaySku struct {
	// Name - Name of an application gateway SKU. Possible values include: 'StandardSmall', 'StandardMedium', 'StandardLarge', 'WAFMedium', 'WAFLarge'
	Name ApplicationGatewaySkuName `json:"name,omitempty"`
	// Tier - Tier of an application gateway. Possible values include: 'Standard', 'WAF'
	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"
	// WAFLarge ...
	WAFLarge ApplicationGatewaySkuName = "WAF_Large"
	// WAFMedium ...
	WAFMedium ApplicationGatewaySkuName = "WAF_Medium"
)

func PossibleApplicationGatewaySkuNameValues

func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName

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

type ApplicationGatewaySslCertificate

type ApplicationGatewaySslCertificate struct {
	*ApplicationGatewaySslCertificatePropertiesFormat `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 - 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"`
	// ProvisioningState - Provisioning state of the SSL certificate resource Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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 Ssl predefined policy.
	Name                                                   *string `json:"name,omitempty"`
	*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 (
	// Standard ...
	Standard ApplicationGatewayTier = "Standard"
	// WAF ...
	WAF ApplicationGatewayTier = "WAF"
)

func PossibleApplicationGatewayTierValues

func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier

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

type ApplicationGatewayURLPathMap

type ApplicationGatewayURLPathMap struct {
	*ApplicationGatewayURLPathMapPropertiesFormat `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 - 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"`
	// 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 - Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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"`
}

ApplicationGatewayWebApplicationFirewallConfiguration application gateway web application firewall configuration.

type ApplicationGatewaysBackendHealthFuture

type ApplicationGatewaysBackendHealthFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ApplicationGatewaysClient) (ApplicationGatewayBackendHealth, error)
}

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

func (*ApplicationGatewaysBackendHealthFuture) UnmarshalJSON

func (future *ApplicationGatewaysBackendHealthFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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

type ApplicationGatewaysCreateOrUpdateFuture

type ApplicationGatewaysCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ApplicationGatewaysClient) (ApplicationGateway, error)
}

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

func (*ApplicationGatewaysCreateOrUpdateFuture) UnmarshalJSON

func (future *ApplicationGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationGatewaysDeleteFuture

type ApplicationGatewaysDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ApplicationGatewaysClient) (autorest.Response, error)
}

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

func (*ApplicationGatewaysDeleteFuture) UnmarshalJSON

func (future *ApplicationGatewaysDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationGatewaysStartFuture

type ApplicationGatewaysStartFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ApplicationGatewaysClient) (autorest.Response, error)
}

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

func (*ApplicationGatewaysStartFuture) UnmarshalJSON

func (future *ApplicationGatewaysStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationGatewaysStopFuture

type ApplicationGatewaysStopFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ApplicationGatewaysClient) (autorest.Response, error)
}

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

func (*ApplicationGatewaysStopFuture) UnmarshalJSON

func (future *ApplicationGatewaysStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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

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 - AuthorizationUseStatus. Possible values are: 'Available' and 'InUse'. Possible values include: 'Available', 'InUse'
	AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
	// ProvisioningState - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

AuthorizationPropertiesFormat ...

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

type AzureAsyncOperationResult struct {
	// Status - Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values include: 'InProgress', 'Succeeded', 'Failed'
	Status OperationStatus `json:"status,omitempty"`
	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 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 - Gets 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"`
}

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; Gets collection of references to IP addresses defined in network interfaces.
	BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
	// LoadBalancingRules - READ-ONLY; Gets load balancing rules that use this backend address pool.
	LoadBalancingRules *[]SubResource `json:"loadBalancingRules,omitempty"`
	// OutboundNatRule - READ-ONLY; Gets outbound rules that use this backend address pool.
	OutboundNatRule *SubResource `json:"outboundNatRule,omitempty"`
	// ProvisioningState - Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

BackendAddressPoolPropertiesFormat properties of the backend address pool.

func (BackendAddressPoolPropertiesFormat) MarshalJSON

func (bappf BackendAddressPoolPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackendAddressPoolPropertiesFormat.

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.

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

func (BgpPeerStatus) MarshalJSON

func (bps BgpPeerStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BgpPeerStatus.

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

ConnectionSharedKey response for GetConnectionSharedKey API service call

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.

func (ConnectivityHop) MarshalJSON

func (ch ConnectivityHop) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectivityHop.

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.

func (ConnectivityInformation) MarshalJSON

func (ci ConnectivityInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectivityInformation.

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.

func (ConnectivityIssue) MarshalJSON

func (ci ConnectivityIssue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectivityIssue.

type ConnectivityParameters

type ConnectivityParameters struct {
	Source      *ConnectivitySource      `json:"source,omitempty"`
	Destination *ConnectivityDestination `json:"destination,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 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 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 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 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.

func (EffectiveNetworkSecurityGroupListResult) MarshalJSON

func (ensglr EffectiveNetworkSecurityGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EffectiveNetworkSecurityGroupListResult.

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 are: 'Tcp', 'Udp', and 'All'. Possible values include: 'TCP', 'UDP', 'All'
	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 are: 'Allow' and 'Deny'. 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 are: 'Inbound and Outbound'. 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"`
	// Source - Who created the route. Possible values are: 'Unknown', 'User', 'VirtualNetworkGateway', and 'Default'. Possible values include: 'EffectiveRouteSourceUnknown', 'EffectiveRouteSourceUser', 'EffectiveRouteSourceVirtualNetworkGateway', 'EffectiveRouteSourceDefault'
	Source EffectiveRouteSource `json:"source,omitempty"`
	// State - The value of effective route. Possible values are: 'Active' and 'Invalid'. 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 are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', and 'None'. 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.

func (EffectiveRouteListResult) MarshalJSON

func (erlr EffectiveRouteListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EffectiveRouteListResult.

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 (
	// All ...
	All EffectiveSecurityRuleProtocol = "All"
	// TCP ...
	TCP EffectiveSecurityRuleProtocol = "Tcp"
	// UDP ...
	UDP 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.

func (EndpointServiceResult) MarshalJSON

func (esr EndpointServiceResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointServiceResult.

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

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       *string         `json:"code,omitempty"`
	Message    *string         `json:"message,omitempty"`
	Target     *string         `json:"target,omitempty"`
	Details    *[]ErrorDetails `json:"details,omitempty"`
	InnerError *string         `json:"innerError,omitempty"`
}

Error ...

type ErrorDetails

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

ErrorDetails ...

type ExpressRouteCircuit

type ExpressRouteCircuit struct {
	autorest.Response `json:"-"`
	// Sku - The SKU.
	Sku                                  *ExpressRouteCircuitSku `json:"sku,omitempty"`
	*ExpressRouteCircuitPropertiesFormat `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"`
}

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 - Age
	Age *int32 `json:"age,omitempty"`
	// Interface - Interface
	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 `json:"properties,omitempty"`
	// Name - Gets 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"`
}

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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitAuthorizationsClient) (ExpressRouteCircuitAuthorization, error)
}

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

func (*ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitAuthorizationsDeleteFuture

type ExpressRouteCircuitAuthorizationsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitAuthorizationsClient) (autorest.Response, error)
}

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

func (*ExpressRouteCircuitAuthorizationsDeleteFuture) UnmarshalJSON

func (future *ExpressRouteCircuitAuthorizationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 `json:"properties,omitempty"`
	// Name - Gets 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"`
}

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 - AdvertisedPublicPrefixState of the Peering resource. Possible values are 'NotConfigured', 'Configuring', 'Configured', and 'ValidationNeeded'. 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 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 PeeringType. Possible values are: 'AzurePublicPeering', 'AzurePrivatePeering', and 'MicrosoftPeering'. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
	PeeringType ExpressRouteCircuitPeeringType `json:"peeringType,omitempty"`
	// State - The state of peering. Possible values are: 'Disabled' and 'Enabled'. Possible values include: 'ExpressRouteCircuitPeeringStateDisabled', 'ExpressRouteCircuitPeeringStateEnabled'
	State ExpressRouteCircuitPeeringState `json:"state,omitempty"`
	// AzureASN - The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty"`
	// PeerASN - The peer ASN.
	PeerASN *int32 `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 - Gets peering stats.
	Stats *ExpressRouteCircuitStats `json:"stats,omitempty"`
	// ProvisioningState - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// LastModifiedBy - Gets whether the provider or the customer last modified the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// RouteFilter - The reference of the RouteFilter resource.
	RouteFilter *RouteFilter `json:"routeFilter,omitempty"`
	// Ipv6PeeringConfig - The IPv6 peering configuration.
	Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
}

ExpressRouteCircuitPeeringPropertiesFormat ...

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 ExpressRouteCircuitPeeringType

type ExpressRouteCircuitPeeringType string

ExpressRouteCircuitPeeringType enumerates the values for express route circuit peering type.

const (
	// AzurePrivatePeering ...
	AzurePrivatePeering ExpressRouteCircuitPeeringType = "AzurePrivatePeering"
	// AzurePublicPeering ...
	AzurePublicPeering ExpressRouteCircuitPeeringType = "AzurePublicPeering"
	// MicrosoftPeering ...
	MicrosoftPeering ExpressRouteCircuitPeeringType = "MicrosoftPeering"
)

func PossibleExpressRouteCircuitPeeringTypeValues

func PossibleExpressRouteCircuitPeeringTypeValues() []ExpressRouteCircuitPeeringType

PossibleExpressRouteCircuitPeeringTypeValues returns an array of possible values for the ExpressRouteCircuitPeeringType 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 authorization 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) 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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitPeeringsClient) (ExpressRouteCircuitPeering, error)
}

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

func (*ExpressRouteCircuitPeeringsCreateOrUpdateFuture) UnmarshalJSON

func (future *ExpressRouteCircuitPeeringsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitPeeringsDeleteFuture

type ExpressRouteCircuitPeeringsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitPeeringsClient) (autorest.Response, error)
}

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

func (*ExpressRouteCircuitPeeringsDeleteFuture) UnmarshalJSON

func (future *ExpressRouteCircuitPeeringsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 are 'NotProvisioned', 'Provisioning', 'Provisioned', and 'Deprovisioning'. 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"`
	// ProvisioningState - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
}

ExpressRouteCircuitPropertiesFormat properties of ExpressRouteCircuit.

type ExpressRouteCircuitRoutesTable

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

ExpressRouteCircuitRoutesTable the routes table associated with the ExpressRouteCircuit

type ExpressRouteCircuitRoutesTableSummary

type ExpressRouteCircuitRoutesTableSummary struct {
	// Neighbor - 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 are 'Standard' and 'Premium'. Possible values include: 'ExpressRouteCircuitSkuTierStandard', 'ExpressRouteCircuitSkuTierPremium'
	Tier ExpressRouteCircuitSkuTier `json:"tier,omitempty"`
	// Family - The family of the SKU. Possible values are: 'UnlimitedData' and 'MeteredData'. 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 (
	// 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 - Gets BytesIn of the peering.
	PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"`
	// PrimarybytesOut - Gets BytesOut of the peering.
	PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"`
	// SecondarybytesIn - Gets BytesIn of the peering.
	SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"`
	// SecondarybytesOut - Gets 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 - Gets list of the ARP table.
	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.

type ExpressRouteCircuitsCreateOrUpdateFuture

type ExpressRouteCircuitsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuit, error)
}

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

func (*ExpressRouteCircuitsCreateOrUpdateFuture) UnmarshalJSON

func (future *ExpressRouteCircuitsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitsDeleteFuture

type ExpressRouteCircuitsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitsClient) (autorest.Response, error)
}

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

func (*ExpressRouteCircuitsDeleteFuture) UnmarshalJSON

func (future *ExpressRouteCircuitsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitsListArpTableFuture

type ExpressRouteCircuitsListArpTableFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuitsArpTableListResult, error)
}

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

func (*ExpressRouteCircuitsListArpTableFuture) UnmarshalJSON

func (future *ExpressRouteCircuitsListArpTableFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitsListRoutesTableFuture

type ExpressRouteCircuitsListRoutesTableFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuitsRoutesTableListResult, error)
}

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

func (*ExpressRouteCircuitsListRoutesTableFuture) UnmarshalJSON

func (future *ExpressRouteCircuitsListRoutesTableFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitsListRoutesTableSummaryFuture

type ExpressRouteCircuitsListRoutesTableSummaryFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitsClient) (ExpressRouteCircuitsRoutesTableSummaryListResult, error)
}

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

func (*ExpressRouteCircuitsListRoutesTableSummaryFuture) UnmarshalJSON

func (future *ExpressRouteCircuitsListRoutesTableSummaryFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 ExpressRouteServiceProvider

type ExpressRouteServiceProvider struct {
	*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 - Get a list of peering locations.
	PeeringLocations *[]string `json:"peeringLocations,omitempty"`
	// BandwidthsOffered - Gets bandwidths offered.
	BandwidthsOffered *[]ExpressRouteServiceProviderBandwidthsOffered `json:"bandwidthsOffered,omitempty"`
	// ProvisioningState - Gets the provisioning state of the resource.
	ProvisioningState *string `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 FlowLogInformation

type FlowLogInformation struct {
	autorest.Response `json:"-"`
	// TargetResourceID - The ID of the resource to configure for flow logging.
	TargetResourceID   *string `json:"targetResourceId,omitempty"`
	*FlowLogProperties `json:"properties,omitempty"`
}

FlowLogInformation information on the configuration of flow log.

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 *RetentionPolicyParameters `json:"retentionPolicy,omitempty"`
}

FlowLogProperties parameters that define the configuration of flow log.

type FlowLogStatusParameters

type FlowLogStatusParameters struct {
	// TargetResourceID - The target resource where getting the flow logging status.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
}

FlowLogStatusParameters parameters that define a resource to query flow log 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 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"`
	// 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; Read only. Inbound rules URIs that use this frontend IP.
	InboundNatRules *[]SubResource `json:"inboundNatRules,omitempty"`
	// InboundNatPools - READ-ONLY; Read only. Inbound pools URIs that use this frontend IP.
	InboundNatPools *[]SubResource `json:"inboundNatPools,omitempty"`
	// OutboundNatRules - READ-ONLY; Read only. Outbound rules URIs that use this frontend IP.
	OutboundNatRules *[]SubResource `json:"outboundNatRules,omitempty"`
	// LoadBalancingRules - READ-ONLY; Gets load balancing rules URIs 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 are: 'Static' and 'Dynamic'. 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 - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

FrontendIPConfigurationPropertiesFormat properties of Frontend IP Configuration of the load balancer.

func (FrontendIPConfigurationPropertiesFormat) MarshalJSON

func (ficpf FrontendIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontendIPConfigurationPropertiesFormat.

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

func (GatewayRoute) MarshalJSON

func (gr GatewayRoute) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayRoute.

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

type IPConfigurationPropertiesFormat struct {
	// PrivateIPAddress - The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The private IP allocation method. Possible values are 'Static' and 'Dynamic'. 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 - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

IPConfigurationPropertiesFormat properties of IP configuration.

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

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 (
	// MD5 ...
	MD5 IkeIntegrity = "MD5"
	// SHA1 ...
	SHA1 IkeIntegrity = "SHA1"
	// SHA256 ...
	SHA256 IkeIntegrity = "SHA256"
	// SHA384 ...
	SHA384 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 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"`
}

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 transport protocol for the endpoint. Possible values are: 'Udp' or 'Tcp'. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP'
	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"`
	// ProvisioningState - Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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 - Gets 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"`
}

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.

func (InboundNatRuleListResult) MarshalJSON

func (inrlr InboundNatRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InboundNatRuleListResult.

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

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 transport protocol for the endpoint. Possible values are: 'Udp' or 'Tcp'. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP'
	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"`
	// ProvisioningState - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

InboundNatRulePropertiesFormat properties of the inbound NAT rule.

func (InboundNatRulePropertiesFormat) MarshalJSON

func (inrpf InboundNatRulePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InboundNatRulePropertiesFormat.

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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(InboundNatRulesClient) (InboundNatRule, error)
}

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

func (*InboundNatRulesCreateOrUpdateFuture) UnmarshalJSON

func (future *InboundNatRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type InboundNatRulesDeleteFuture

type InboundNatRulesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(InboundNatRulesClient) (autorest.Response, error)
}

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

func (*InboundNatRulesDeleteFuture) UnmarshalJSON

func (future *InboundNatRulesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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.

func (InterfaceAssociation) MarshalJSON

func (ia InterfaceAssociation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceAssociation.

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.

func (InterfaceIPConfigurationListResult) MarshalJSON

func (iiclr InterfaceIPConfigurationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceIPConfigurationListResult.

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 InterfaceIPConfigurationPropertiesFormat

type InterfaceIPConfigurationPropertiesFormat struct {
	// 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 - Defines how a private IP address is assigned. Possible values are: 'Static' and 'Dynamic'. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// PrivateIPAddressVersion - Available from Api-Version 2016-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.  Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6'
	PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
	// Subnet - Subnet bound to the IP configuration.
	Subnet *Subnet `json:"subnet,omitempty"`
	// Primary - Gets 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"`
	// ProvisioningState - The provisioning state of the network interface IP configuration. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,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.

func (InterfaceListResult) MarshalJSON

func (ilr InterfaceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceListResult.

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(cur InterfaceListResult, 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.

func (InterfaceLoadBalancerListResult) MarshalJSON

func (ilblr InterfaceLoadBalancerListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InterfaceLoadBalancerListResult.

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 - The reference of a virtual machine.
	VirtualMachine *SubResource `json:"virtualMachine,omitempty"`
	// NetworkSecurityGroup - The reference of the NetworkSecurityGroup resource.
	NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"`
	// IPConfigurations - A list of IPConfigurations of the network interface.
	IPConfigurations *[]InterfaceIPConfiguration `json:"ipConfigurations,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 - Gets 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"`
	// ResourceGUID - The resource GUID property of the network interface resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

InterfacePropertiesFormat networkInterface properties.

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

type InterfacesCreateOrUpdateFuture

type InterfacesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(InterfacesClient) (Interface, error)
}

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

func (*InterfacesCreateOrUpdateFuture) UnmarshalJSON

func (future *InterfacesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type InterfacesDeleteFuture

type InterfacesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(InterfacesClient) (autorest.Response, error)
}

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

func (*InterfacesDeleteFuture) UnmarshalJSON

func (future *InterfacesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type InterfacesGetEffectiveRouteTableFuture

type InterfacesGetEffectiveRouteTableFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(InterfacesClient) (EffectiveRouteListResult, error)
}

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

func (*InterfacesGetEffectiveRouteTableFuture) UnmarshalJSON

func (future *InterfacesGetEffectiveRouteTableFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type InterfacesListEffectiveNetworkSecurityGroupsFuture

type InterfacesListEffectiveNetworkSecurityGroupsFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(InterfacesClient) (EffectiveNetworkSecurityGroupListResult, error)
}

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

func (*InterfacesListEffectiveNetworkSecurityGroupsFuture) UnmarshalJSON

func (future *InterfacesListEffectiveNetworkSecurityGroupsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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'
	IkeEncryption IkeEncryption `json:"ikeEncryption,omitempty"`
	// IkeIntegrity - The IKE integrity algorithm (IKE phase 2). Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384'
	IkeIntegrity IkeIntegrity `json:"ikeIntegrity,omitempty"`
	// DhGroup - The DH Groups 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 DH Groups used in IKE Phase 2 for new child SA. Possible values include: 'PfsGroupNone', 'PfsGroupPFS1', 'PfsGroupPFS2', 'PfsGroupPFS2048', 'PfsGroupECP256', 'PfsGroupECP384', 'PfsGroupPFS24'
	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 *RouteFilter `json:"routeFilter,omitempty"`
	// State - The state of peering. Possible values are: 'Disabled' and 'Enabled'. 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 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.

func (LoadBalancerBackendAddressPoolListResult) MarshalJSON

func (lbbaplr LoadBalancerBackendAddressPoolListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancerBackendAddressPoolListResult.

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.

func (LoadBalancerFrontendIPConfigurationListResult) MarshalJSON

func (lbficlr LoadBalancerFrontendIPConfigurationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancerFrontendIPConfigurationListResult.

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.

func (LoadBalancerListResult) MarshalJSON

func (lblr LoadBalancerListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancerListResult.

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

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.

func (LoadBalancerLoadBalancingRuleListResult) MarshalJSON

func (lblbrlr LoadBalancerLoadBalancingRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancerLoadBalancingRuleListResult.

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

func (LoadBalancerProbeListResult) MarshalJSON

func (lbplr LoadBalancerProbeListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancerProbeListResult.

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

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"`
	// OutboundNatRules - The outbound NAT rules.
	OutboundNatRules *[]OutboundNatRule `json:"outboundNatRules,omitempty"`
	// ResourceGUID - The resource GUID property of the load balancer resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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.

type LoadBalancersCreateOrUpdateFuture

type LoadBalancersCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(LoadBalancersClient) (LoadBalancer, error)
}

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

func (*LoadBalancersCreateOrUpdateFuture) UnmarshalJSON

func (future *LoadBalancersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LoadBalancersDeleteFuture

type LoadBalancersDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(LoadBalancersClient) (autorest.Response, error)
}

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

func (*LoadBalancersDeleteFuture) UnmarshalJSON

func (future *LoadBalancersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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

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 transport protocol for the external endpoint. Possible values are 'Udp' or 'Tcp'. Possible values include: 'TransportProtocolUDP', 'TransportProtocolTCP'
	Protocol TransportProtocol `json:"protocol,omitempty"`
	// LoadDistribution - The load distribution policy for this rule. Possible values are 'Default', 'SourceIP', and 'SourceIPProtocol'. Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol'
	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 1 and 65534.
	FrontendPort *int32 `json:"frontendPort,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"`
	// 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 - Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

LoadBalancingRulePropertiesFormat properties of the load balancer.

type LoadDistribution

type LoadDistribution string

LoadDistribution enumerates the values for load distribution.

const (
	// Default ...
	Default LoadDistribution = "Default"
	// SourceIP ...
	SourceIP LoadDistribution = "SourceIP"
	// SourceIPProtocol ...
	SourceIPProtocol 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.

func (LocalNetworkGatewayListResult) MarshalJSON

func (lnglr LocalNetworkGatewayListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalNetworkGatewayListResult.

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 LocalNetworkGateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the LocalNetworkGateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

LocalNetworkGatewayPropertiesFormat localNetworkGateway properties

func (LocalNetworkGatewayPropertiesFormat) MarshalJSON

func (lngpf LocalNetworkGatewayPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalNetworkGatewayPropertiesFormat.

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.

type LocalNetworkGatewaysCreateOrUpdateFuture

type LocalNetworkGatewaysCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(LocalNetworkGatewaysClient) (LocalNetworkGateway, error)
}

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

func (*LocalNetworkGatewaysCreateOrUpdateFuture) UnmarshalJSON

func (future *LocalNetworkGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LocalNetworkGatewaysDeleteFuture

type LocalNetworkGatewaysDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(LocalNetworkGatewaysClient) (autorest.Response, error)
}

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

func (*LocalNetworkGatewaysDeleteFuture) UnmarshalJSON

func (future *LocalNetworkGatewaysDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// Failed ...
	Failed OperationStatus = "Failed"
	// InProgress ...
	InProgress OperationStatus = "InProgress"
	// Succeeded ...
	Succeeded OperationStatus = "Succeeded"
)

func PossibleOperationStatusValues

func PossibleOperationStatusValues() []OperationStatus

PossibleOperationStatusValues returns an array of possible values for the OperationStatus const type.

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 OutboundNatRule

type OutboundNatRule struct {
	// OutboundNatRulePropertiesFormat - Properties of load balancer outbound nat rule.
	*OutboundNatRulePropertiesFormat `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"`
}

OutboundNatRule outbound NAT pool of the load balancer.

func (OutboundNatRule) MarshalJSON

func (onr OutboundNatRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OutboundNatRule.

func (*OutboundNatRule) UnmarshalJSON

func (onr *OutboundNatRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OutboundNatRule struct.

type OutboundNatRulePropertiesFormat

type OutboundNatRulePropertiesFormat 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 - Gets the provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

OutboundNatRulePropertiesFormat outbound NAT pool of the load balancer.

type PacketCapture

type PacketCapture struct {
	*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    *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`
	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                           *string `json:"etag,omitempty"`
	*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: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed'
	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    *PacketCaptureStorageLocation `json:"storageLocation,omitempty"`
	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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PacketCapturesClient) (PacketCaptureResult, error)
}

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

func (*PacketCapturesCreateFuture) UnmarshalJSON

func (future *PacketCapturesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PacketCapturesDeleteFuture

type PacketCapturesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PacketCapturesClient) (autorest.Response, error)
}

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

func (*PacketCapturesDeleteFuture) UnmarshalJSON

func (future *PacketCapturesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PacketCapturesGetStatusFuture

type PacketCapturesGetStatusFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PacketCapturesClient) (PacketCaptureQueryStatusResult, error)
}

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

func (*PacketCapturesGetStatusFuture) UnmarshalJSON

func (future *PacketCapturesGetStatusFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PacketCapturesStopFuture

type PacketCapturesStopFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PacketCapturesClient) (autorest.Response, error)
}

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

func (*PacketCapturesStopFuture) UnmarshalJSON

func (future *PacketCapturesStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PatchRouteFilter

type PatchRouteFilter struct {
	*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 `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"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// 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 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"
	// PfsGroupPFS2 ...
	PfsGroupPFS2 PfsGroup = "PFS2"
	// PfsGroupPFS2048 ...
	PfsGroupPFS2048 PfsGroup = "PFS2048"
	// PfsGroupPFS24 ...
	PfsGroupPFS24 PfsGroup = "PFS24"
)

func PossiblePfsGroupValues

func PossiblePfsGroupValues() []PfsGroup

PossiblePfsGroupValues returns an array of possible values for the PfsGroup const type.

type Probe

type Probe struct {
	autorest.Response `json:"-"`
	// ProbePropertiesFormat - Properties of load balancer probe.
	*ProbePropertiesFormat `json:"properties,omitempty"`
	// Name - Gets 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"`
}

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. Possible values are: 'Http' or 'Tcp'. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'ProbeProtocolHTTP', 'ProbeProtocolTCP'
	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 - Gets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ProbePropertiesFormat load balancer probe resource.

func (ProbePropertiesFormat) MarshalJSON

func (ppf ProbePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProbePropertiesFormat.

type ProbeProtocol

type ProbeProtocol string

ProbeProtocol enumerates the values for probe protocol.

const (
	// ProbeProtocolHTTP ...
	ProbeProtocolHTTP ProbeProtocol = "Http"
	// 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 Protocol

type Protocol string

Protocol enumerates the values for protocol.

const (
	// ProtocolTCP ...
	ProtocolTCP Protocol = "TCP"
	// ProtocolUDP ...
	ProtocolUDP Protocol = "UDP"
)

func PossibleProtocolValues

func PossibleProtocolValues() []Protocol

PossibleProtocolValues returns an array of possible values for the Protocol const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateDeleting ...
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating ...
	ProvisioningStateUpdating 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 - Gets or sets 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 - Gets the FQDN, 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 - Gets or Sets 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

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 allocation method. Possible values are: 'Static' and 'Dynamic'. Possible values include: 'Static', 'Dynamic'
	PublicIPAllocationMethod IPAllocationMethod `json:"publicIPAllocationMethod,omitempty"`
	// PublicIPAddressVersion - The public IP address version. Possible values are: 'IPv4' and 'IPv6'. 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"`
	// IPAddress - The IP address associated with the public IP address resource.
	IPAddress *string `json:"ipAddress,omitempty"`
	// IdleTimeoutInMinutes - The idle timeout of the public IP address.
	IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
	// ResourceGUID - The resource GUID property of the public IP resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - The provisioning state of the PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

PublicIPAddressPropertiesFormat public IP address properties.

func (PublicIPAddressPropertiesFormat) MarshalJSON

func (piapf PublicIPAddressPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PublicIPAddressPropertiesFormat.

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.

type PublicIPAddressesCreateOrUpdateFuture

type PublicIPAddressesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PublicIPAddressesClient) (PublicIPAddress, error)
}

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

func (*PublicIPAddressesCreateOrUpdateFuture) UnmarshalJSON

func (future *PublicIPAddressesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PublicIPAddressesDeleteFuture

type PublicIPAddressesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PublicIPAddressesClient) (autorest.Response, error)
}

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

func (*PublicIPAddressesDeleteFuture) UnmarshalJSON

func (future *PublicIPAddressesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 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 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"`
	// 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; Provisioning state of the ResourceNavigationLink resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

ResourceNavigationLinkFormat properties of ResourceNavigationLink.

func (ResourceNavigationLinkFormat) MarshalJSON

func (rnlf ResourceNavigationLinkFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceNavigationLinkFormat.

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

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

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"`
	// ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

RouteFilterPropertiesFormat route Filter Resource

func (RouteFilterPropertiesFormat) MarshalJSON

func (rfpf RouteFilterPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteFilterPropertiesFormat.

type RouteFilterRule

type RouteFilterRule struct {
	autorest.Response                `json:"-"`
	*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"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// 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 - Gets 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

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. Valid values are: 'Allow', 'Deny'. Possible values include: 'Allow', 'Deny'
	Access Access `json:"access,omitempty"`
	// RouteFilterRuleType - The rule type of the rule. Valid value is: 'Community'
	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 resource. Possible values are: 'Updating', 'Deleting', 'Succeeded' and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

RouteFilterRulePropertiesFormat route Filter Rule Resource

func (RouteFilterRulePropertiesFormat) MarshalJSON

func (rfrpf RouteFilterRulePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteFilterRulePropertiesFormat.

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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteFilterRulesClient) (RouteFilterRule, error)
}

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

func (*RouteFilterRulesCreateOrUpdateFuture) UnmarshalJSON

func (future *RouteFilterRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RouteFilterRulesDeleteFuture

type RouteFilterRulesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteFilterRulesClient) (autorest.Response, error)
}

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

func (*RouteFilterRulesDeleteFuture) UnmarshalJSON

func (future *RouteFilterRulesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RouteFilterRulesUpdateFuture

type RouteFilterRulesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteFilterRulesClient) (RouteFilterRule, error)
}

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

func (*RouteFilterRulesUpdateFuture) UnmarshalJSON

func (future *RouteFilterRulesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteFiltersClient) (RouteFilter, error)
}

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

func (*RouteFiltersCreateOrUpdateFuture) UnmarshalJSON

func (future *RouteFiltersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RouteFiltersDeleteFuture

type RouteFiltersDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteFiltersClient) (autorest.Response, error)
}

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

func (*RouteFiltersDeleteFuture) UnmarshalJSON

func (future *RouteFiltersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RouteFiltersUpdateFuture

type RouteFiltersUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteFiltersClient) (RouteFilter, error)
}

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

func (*RouteFiltersUpdateFuture) UnmarshalJSON

func (future *RouteFiltersUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RouteListResult

type RouteListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets 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(cur RouteListResult, 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 are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', and 'None'. 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 resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `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 - 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"`
}

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 - Gets 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(cur RouteTableListResult, 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"`
	// ProvisioningState - The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

RouteTablePropertiesFormat route Table resource

func (RouteTablePropertiesFormat) MarshalJSON

func (rtpf RouteTablePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteTablePropertiesFormat.

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.

type RouteTablesCreateOrUpdateFuture

type RouteTablesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteTablesClient) (RouteTable, error)
}

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

func (*RouteTablesCreateOrUpdateFuture) UnmarshalJSON

func (future *RouteTablesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RouteTablesDeleteFuture

type RouteTablesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RouteTablesClient) (autorest.Response, error)
}

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

func (*RouteTablesDeleteFuture) UnmarshalJSON

func (future *RouteTablesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RoutesClient) (Route, error)
}

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

func (*RoutesCreateOrUpdateFuture) UnmarshalJSON

func (future *RoutesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RoutesDeleteFuture

type RoutesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RoutesClient) (autorest.Response, error)
}

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

func (*RoutesDeleteFuture) UnmarshalJSON

func (future *RoutesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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

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 *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 public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

SecurityGroupPropertiesFormat network Security Group resource.

func (SecurityGroupPropertiesFormat) MarshalJSON

func (sgpf SecurityGroupPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityGroupPropertiesFormat.

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.

type SecurityGroupsCreateOrUpdateFuture

type SecurityGroupsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityGroupsClient) (SecurityGroup, error)
}

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

func (*SecurityGroupsCreateOrUpdateFuture) UnmarshalJSON

func (future *SecurityGroupsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecurityGroupsDeleteFuture

type SecurityGroupsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityGroupsClient) (autorest.Response, error)
}

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

func (*SecurityGroupsDeleteFuture) UnmarshalJSON

func (future *SecurityGroupsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 *InterfaceAssociation `json:"networkInterfaceAssociation,omitempty"`
	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

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 are 'Tcp', 'Udp', and '*'. Possible values include: 'SecurityRuleProtocolTCP', 'SecurityRuleProtocolUDP', 'SecurityRuleProtocolAsterisk'
	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"`
	// 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"`
	// 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 are: 'Allow' and 'Deny'. 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 are: 'Inbound' and 'Outbound'. Possible values include: 'SecurityRuleDirectionInbound', 'SecurityRuleDirectionOutbound'
	Direction SecurityRuleDirection `json:"direction,omitempty"`
	// ProvisioningState - The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

SecurityRulePropertiesFormat security rule resource.

type SecurityRuleProtocol

type SecurityRuleProtocol string

SecurityRuleProtocol enumerates the values for security rule protocol.

const (
	// SecurityRuleProtocolAsterisk ...
	SecurityRuleProtocolAsterisk SecurityRuleProtocol = "*"
	// 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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityRulesClient) (SecurityRule, error)
}

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

func (*SecurityRulesCreateOrUpdateFuture) UnmarshalJSON

func (future *SecurityRulesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecurityRulesDeleteFuture

type SecurityRulesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityRulesClient) (autorest.Response, error)
}

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

func (*SecurityRulesDeleteFuture) UnmarshalJSON

func (future *SecurityRulesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 resource.
	ProvisioningState *string `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 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 network interface and its custom security rules.

func (SubnetAssociation) MarshalJSON

func (sa SubnetAssociation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubnetAssociation.

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(cur SubnetListResult, 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"`
	// NetworkSecurityGroup - The reference of the NetworkSecurityGroup resource.
	NetworkSecurityGroup *SecurityGroup `json:"networkSecurityGroup,omitempty"`
	// RouteTable - The reference of the RouteTable resource.
	RouteTable *RouteTable `json:"routeTable,omitempty"`
	// ServiceEndpoints - An array of service endpoints.
	ServiceEndpoints *[]ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"`
	// IPConfigurations - READ-ONLY; Gets an array of references to the network interface IP configurations using subnet.
	IPConfigurations *[]IPConfiguration `json:"ipConfigurations,omitempty"`
	// ResourceNavigationLinks - Gets an array of references to the external resources using subnet.
	ResourceNavigationLinks *[]ResourceNavigationLink `json:"resourceNavigationLinks,omitempty"`
	// ProvisioningState - The provisioning state of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

SubnetPropertiesFormat properties of the subnet.

func (SubnetPropertiesFormat) MarshalJSON

func (spf SubnetPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubnetPropertiesFormat.

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.

type SubnetsCreateOrUpdateFuture

type SubnetsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SubnetsClient) (Subnet, error)
}

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

func (*SubnetsCreateOrUpdateFuture) UnmarshalJSON

func (future *SubnetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SubnetsDeleteFuture

type SubnetsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SubnetsClient) (autorest.Response, error)
}

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

func (*SubnetsDeleteFuture) UnmarshalJSON

func (future *SubnetsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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    *[]TopologyResource `json:"resources,omitempty"`
}

Topology topology of the specified resource group.

func (Topology) MarshalJSON

func (t Topology) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Topology.

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

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 TransportProtocol

type TransportProtocol string

TransportProtocol enumerates the values for transport protocol.

const (
	// 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 `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

func (TunnelConnectionHealth) MarshalJSON

func (tch TunnelConnectionHealth) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TunnelConnectionHealth.

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.

func (Usage) MarshalJSON

func (u Usage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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(cur UsagesListResult, 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 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: 'ProtocolTCP', 'ProtocolUDP'
	Protocol Protocol `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 VirtualNetwork

type VirtualNetwork struct {
	autorest.Response `json:"-"`
	// VirtualNetworkPropertiesFormat - Properties of the virtual network.
	*VirtualNetworkPropertiesFormat `json:"properties,omitempty"`
	// Etag - 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"`
}

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

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

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

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 are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
	ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,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 are 'Unknown', 'Connecting', 'Connected' and 'NotConnected'. 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"`
	// ResourceGUID - The resource GUID property of the VirtualNetworkGatewayConnection resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayConnectionListEntityPropertiesFormat virtualNetworkGatewayConnection properties

func (VirtualNetworkGatewayConnectionListEntityPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionListEntityPropertiesFormat.

type VirtualNetworkGatewayConnectionListResult

type VirtualNetworkGatewayConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets 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.

func (VirtualNetworkGatewayConnectionListResult) MarshalJSON

func (vngclr VirtualNetworkGatewayConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionListResult.

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 are: 'IPsec','Vnet2Vnet','ExpressRoute', and 'VPNClient. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'
	ConnectionType VirtualNetworkGatewayConnectionType `json:"connectionType,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 are 'Unknown', 'Connecting', 'Connected' and 'NotConnected'. 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"`
	// ResourceGUID - The resource GUID property of the VirtualNetworkGatewayConnection resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the VirtualNetworkGatewayConnection resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayConnectionPropertiesFormat virtualNetworkGatewayConnection properties

func (VirtualNetworkGatewayConnectionPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for VirtualNetworkGatewayConnectionPropertiesFormat.

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.

type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture

type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewayConnectionsClient) (VirtualNetworkGatewayConnection, error)
}

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

func (*VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualNetworkGatewayConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewayConnectionsDeleteFuture

type VirtualNetworkGatewayConnectionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewayConnectionsClient) (autorest.Response, error)
}

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

func (*VirtualNetworkGatewayConnectionsDeleteFuture) UnmarshalJSON

func (future *VirtualNetworkGatewayConnectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewayConnectionsResetSharedKeyFuture

type VirtualNetworkGatewayConnectionsResetSharedKeyFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewayConnectionsClient) (ConnectionResetSharedKey, error)
}

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

func (*VirtualNetworkGatewayConnectionsResetSharedKeyFuture) UnmarshalJSON

func (future *VirtualNetworkGatewayConnectionsResetSharedKeyFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewayConnectionsSetSharedKeyFuture

type VirtualNetworkGatewayConnectionsSetSharedKeyFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewayConnectionsClient) (ConnectionSharedKey, error)
}

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

func (*VirtualNetworkGatewayConnectionsSetSharedKeyFuture) UnmarshalJSON

func (future *VirtualNetworkGatewayConnectionsSetSharedKeyFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 allocation method. Possible values are: 'Static' and 'Dynamic'. 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 public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayIPConfigurationPropertiesFormat properties of VirtualNetworkGatewayIPConfiguration

func (VirtualNetworkGatewayIPConfigurationPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for VirtualNetworkGatewayIPConfigurationPropertiesFormat.

type VirtualNetworkGatewayListConnectionsResult

type VirtualNetworkGatewayListConnectionsResult struct {
	autorest.Response `json:"-"`
	// Value - Gets 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.

func (VirtualNetworkGatewayListConnectionsResult) MarshalJSON

func (vnglcr VirtualNetworkGatewayListConnectionsResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayListConnectionsResult.

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

func (VirtualNetworkGatewayListResult) MarshalJSON

func (vnglr VirtualNetworkGatewayListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayListResult.

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 are: 'Vpn' and 'ExpressRoute'. Possible values include: 'VirtualNetworkGatewayTypeVpn', 'VirtualNetworkGatewayTypeExpressRoute'
	GatewayType VirtualNetworkGatewayType `json:"gatewayType,omitempty"`
	// VpnType - The type of this virtual network gateway. Possible values are: 'PolicyBased' and 'RouteBased'. Possible values include: 'PolicyBased', 'RouteBased'
	VpnType VpnType `json:"vpnType,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"`
	// ResourceGUID - The resource GUID property of the VirtualNetworkGateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the VirtualNetworkGateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VirtualNetworkGatewayPropertiesFormat virtualNetworkGateway properties

func (VirtualNetworkGatewayPropertiesFormat) MarshalJSON

func (vngpf VirtualNetworkGatewayPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkGatewayPropertiesFormat.

type VirtualNetworkGatewaySku

type VirtualNetworkGatewaySku struct {
	// Name - Gateway SKU name. Possible values include: 'VirtualNetworkGatewaySkuNameBasic', 'VirtualNetworkGatewaySkuNameHighPerformance', 'VirtualNetworkGatewaySkuNameStandard', 'VirtualNetworkGatewaySkuNameUltraPerformance', 'VirtualNetworkGatewaySkuNameVpnGw1', 'VirtualNetworkGatewaySkuNameVpnGw2', 'VirtualNetworkGatewaySkuNameVpnGw3'
	Name VirtualNetworkGatewaySkuName `json:"name,omitempty"`
	// Tier - Gateway SKU tier. Possible values include: 'VirtualNetworkGatewaySkuTierBasic', 'VirtualNetworkGatewaySkuTierHighPerformance', 'VirtualNetworkGatewaySkuTierStandard', 'VirtualNetworkGatewaySkuTierUltraPerformance', 'VirtualNetworkGatewaySkuTierVpnGw1', 'VirtualNetworkGatewaySkuTierVpnGw2', 'VirtualNetworkGatewaySkuTierVpnGw3'
	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"
	// VirtualNetworkGatewaySkuNameHighPerformance ...
	VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = "HighPerformance"
	// VirtualNetworkGatewaySkuNameStandard ...
	VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = "Standard"
	// VirtualNetworkGatewaySkuNameUltraPerformance ...
	VirtualNetworkGatewaySkuNameUltraPerformance VirtualNetworkGatewaySkuName = "UltraPerformance"
	// VirtualNetworkGatewaySkuNameVpnGw1 ...
	VirtualNetworkGatewaySkuNameVpnGw1 VirtualNetworkGatewaySkuName = "VpnGw1"
	// VirtualNetworkGatewaySkuNameVpnGw2 ...
	VirtualNetworkGatewaySkuNameVpnGw2 VirtualNetworkGatewaySkuName = "VpnGw2"
	// VirtualNetworkGatewaySkuNameVpnGw3 ...
	VirtualNetworkGatewaySkuNameVpnGw3 VirtualNetworkGatewaySkuName = "VpnGw3"
)

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"
	// VirtualNetworkGatewaySkuTierHighPerformance ...
	VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = "HighPerformance"
	// VirtualNetworkGatewaySkuTierStandard ...
	VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = "Standard"
	// VirtualNetworkGatewaySkuTierUltraPerformance ...
	VirtualNetworkGatewaySkuTierUltraPerformance VirtualNetworkGatewaySkuTier = "UltraPerformance"
	// VirtualNetworkGatewaySkuTierVpnGw1 ...
	VirtualNetworkGatewaySkuTierVpnGw1 VirtualNetworkGatewaySkuTier = "VpnGw1"
	// VirtualNetworkGatewaySkuTierVpnGw2 ...
	VirtualNetworkGatewaySkuTierVpnGw2 VirtualNetworkGatewaySkuTier = "VpnGw2"
	// VirtualNetworkGatewaySkuTierVpnGw3 ...
	VirtualNetworkGatewaySkuTierVpnGw3 VirtualNetworkGatewaySkuTier = "VpnGw3"
)

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

type VirtualNetworkGatewaysCreateOrUpdateFuture

type VirtualNetworkGatewaysCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (VirtualNetworkGateway, error)
}

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

func (*VirtualNetworkGatewaysCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysDeleteFuture

type VirtualNetworkGatewaysDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (autorest.Response, error)
}

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

func (*VirtualNetworkGatewaysDeleteFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysGenerateVpnProfileFuture

type VirtualNetworkGatewaysGenerateVpnProfileFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (String, error)
}

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

func (*VirtualNetworkGatewaysGenerateVpnProfileFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysGenerateVpnProfileFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysGeneratevpnclientpackageFuture

type VirtualNetworkGatewaysGeneratevpnclientpackageFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (String, error)
}

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

func (*VirtualNetworkGatewaysGeneratevpnclientpackageFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysGeneratevpnclientpackageFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysGetAdvertisedRoutesFuture

type VirtualNetworkGatewaysGetAdvertisedRoutesFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (GatewayRouteListResult, error)
}

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

func (*VirtualNetworkGatewaysGetAdvertisedRoutesFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysGetAdvertisedRoutesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysGetBgpPeerStatusFuture

type VirtualNetworkGatewaysGetBgpPeerStatusFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (BgpPeerStatusListResult, error)
}

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

func (*VirtualNetworkGatewaysGetBgpPeerStatusFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysGetBgpPeerStatusFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysGetLearnedRoutesFuture

type VirtualNetworkGatewaysGetLearnedRoutesFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (GatewayRouteListResult, error)
}

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

func (*VirtualNetworkGatewaysGetLearnedRoutesFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysGetLearnedRoutesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysGetVpnProfilePackageURLFuture

type VirtualNetworkGatewaysGetVpnProfilePackageURLFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (String, error)
}

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

func (*VirtualNetworkGatewaysGetVpnProfilePackageURLFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysGetVpnProfilePackageURLFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkGatewaysResetFuture

type VirtualNetworkGatewaysResetFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkGatewaysClient) (VirtualNetworkGateway, error)
}

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

func (*VirtualNetworkGatewaysResetFuture) UnmarshalJSON

func (future *VirtualNetworkGatewaysResetFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkListResult

type VirtualNetworkListResult struct {
	autorest.Response `json:"-"`
	// Value - Gets 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

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.

func (VirtualNetworkListUsageResult) MarshalJSON

func (vnlur VirtualNetworkListUsageResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkListUsageResult.

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 linked virtual network space would be able to access all the VMs in local Virtual network space.
	AllowVirtualNetworkAccess *bool `json:"allowVirtualNetworkAccess,omitempty"`
	// AllowForwardedTraffic - Whether the forwarded traffic from the VMs in the remote virtual network will be allowed/disallowed.
	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.
	RemoteVirtualNetwork *SubResource `json:"remoteVirtualNetwork,omitempty"`
	// PeeringState - The status of the virtual network peering. Possible values are 'Initiated', 'Connected', and 'Disconnected'. Possible values include: 'Initiated', 'Connected', 'Disconnected'
	PeeringState VirtualNetworkPeeringState `json:"peeringState,omitempty"`
	// ProvisioningState - The provisioning state of the resource.
	ProvisioningState *string `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 (
	// Connected ...
	Connected VirtualNetworkPeeringState = "Connected"
	// Disconnected ...
	Disconnected VirtualNetworkPeeringState = "Disconnected"
	// Initiated ...
	Initiated 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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkPeeringsClient) (VirtualNetworkPeering, error)
}

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

func (*VirtualNetworkPeeringsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualNetworkPeeringsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkPeeringsDeleteFuture

type VirtualNetworkPeeringsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworkPeeringsClient) (autorest.Response, error)
}

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

func (*VirtualNetworkPeeringsDeleteFuture) UnmarshalJSON

func (future *VirtualNetworkPeeringsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 PublicIP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VirtualNetworkPropertiesFormat properties of the virtual network.

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.

func (VirtualNetworkUsage) MarshalJSON

func (vnu VirtualNetworkUsage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkUsage.

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.

func (VirtualNetworkUsageName) MarshalJSON

func (vnun VirtualNetworkUsageName) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetworkUsageName.

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.

type VirtualNetworksCreateOrUpdateFuture

type VirtualNetworksCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworksClient) (VirtualNetwork, error)
}

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

func (*VirtualNetworksCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualNetworksCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworksDeleteFuture

type VirtualNetworksDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VirtualNetworksClient) (autorest.Response, error)
}

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

func (*VirtualNetworksDeleteFuture) UnmarshalJSON

func (future *VirtualNetworksDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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

VpnClientConfiguration vpnClientConfiguration for P2S client.

type VpnClientParameters

type VpnClientParameters struct {
	// ProcessorArchitecture - VPN client Processor Architecture. Possible values are: 'AMD64' and 'X86'. Possible values include: 'Amd64', 'X86'
	ProcessorArchitecture ProcessorArchitecture `json:"processorArchitecture,omitempty"`
	// AuthenticationMethod - VPN client Authentication Method. Possible values are: 'EAPTLS' and 'EAPMSCHAPv2'. 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"
	// 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 are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VpnClientRevokedCertificatePropertiesFormat properties of the revoked VPN client certificate of virtual network gateway.

func (VpnClientRevokedCertificatePropertiesFormat) MarshalJSON

func (vcrcpf VpnClientRevokedCertificatePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnClientRevokedCertificatePropertiesFormat.

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 are: 'Updating', 'Deleting', and 'Failed'.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

VpnClientRootCertificatePropertiesFormat properties of SSL certificates of application gateway

func (VpnClientRootCertificatePropertiesFormat) MarshalJSON

func (vcrcpf VpnClientRootCertificatePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VpnClientRootCertificatePropertiesFormat.

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 `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             *[]Watcher `json:"value,omitempty"`
}

WatcherListResult list of network watcher resources.

type WatcherPropertiesFormat

type WatcherPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'ProvisioningStateSucceeded', 'ProvisioningStateUpdating', 'ProvisioningStateDeleting', 'ProvisioningStateFailed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

WatcherPropertiesFormat the network watcher properties.

func (WatcherPropertiesFormat) MarshalJSON

func (wpf WatcherPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WatcherPropertiesFormat.

type WatchersCheckConnectivityFuture

type WatchersCheckConnectivityFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (ConnectivityInformation, error)
}

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

func (*WatchersCheckConnectivityFuture) UnmarshalJSON

func (future *WatchersCheckConnectivityFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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

func (client WatchersClient) GetFlowLogStatus(ctx context.Context, resourceGroupName string, networkWatcherName string, parameters FlowLogStatusParameters) (result WatchersGetFlowLogStatusFuture, err error)

GetFlowLogStatus queries status of flow log 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 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) 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) 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 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) 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.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (autorest.Response, error)
}

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

func (*WatchersDeleteFuture) UnmarshalJSON

func (future *WatchersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersGetFlowLogStatusFuture

type WatchersGetFlowLogStatusFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (FlowLogInformation, error)
}

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

func (*WatchersGetFlowLogStatusFuture) UnmarshalJSON

func (future *WatchersGetFlowLogStatusFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersGetNextHopFuture

type WatchersGetNextHopFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (NextHopResult, error)
}

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

func (*WatchersGetNextHopFuture) UnmarshalJSON

func (future *WatchersGetNextHopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersGetTroubleshootingFuture

type WatchersGetTroubleshootingFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (TroubleshootingResult, error)
}

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

func (*WatchersGetTroubleshootingFuture) UnmarshalJSON

func (future *WatchersGetTroubleshootingFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersGetTroubleshootingResultFuture

type WatchersGetTroubleshootingResultFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (TroubleshootingResult, error)
}

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

func (*WatchersGetTroubleshootingResultFuture) UnmarshalJSON

func (future *WatchersGetTroubleshootingResultFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersGetVMSecurityRulesFuture

type WatchersGetVMSecurityRulesFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (SecurityGroupViewResult, error)
}

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

func (*WatchersGetVMSecurityRulesFuture) UnmarshalJSON

func (future *WatchersGetVMSecurityRulesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersSetFlowLogConfigurationFuture

type WatchersSetFlowLogConfigurationFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (FlowLogInformation, error)
}

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

func (*WatchersSetFlowLogConfigurationFuture) UnmarshalJSON

func (future *WatchersSetFlowLogConfigurationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WatchersVerifyIPFlowFuture

type WatchersVerifyIPFlowFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(WatchersClient) (VerificationIPFlowResult, error)
}

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

func (*WatchersVerifyIPFlowFuture) UnmarshalJSON

func (future *WatchersVerifyIPFlowFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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