network

package
v99.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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 AadAuthenticationParameters

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

AadAuthenticationParameters AAD Vpn authentication type related parameters.

type Access

type Access string

Access enumerates the values for access.

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

func PossibleAccessValues

func PossibleAccessValues() []Access

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

type AddressSpace

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

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

type ApplicationGateway

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

ApplicationGateway application gateway resource.

func (ApplicationGateway) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGateway.

func (*ApplicationGateway) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGateway struct.

type ApplicationGatewayAuthenticationCertificate

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

ApplicationGatewayAuthenticationCertificate authentication certificates of an application gateway.

func (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 - READ-ONLY; The provisioning state of the authentication certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayAuthenticationCertificatePropertiesFormat authentication certificates properties of an application gateway.

func (ApplicationGatewayAuthenticationCertificatePropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayAuthenticationCertificatePropertiesFormat.

type ApplicationGatewayAutoscaleConfiguration

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

ApplicationGatewayAutoscaleConfiguration application Gateway autoscale configuration.

type ApplicationGatewayAvailableSslOptions

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

ApplicationGatewayAvailableSslOptions response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSslOptions) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayAvailableSslOptions.

func (*ApplicationGatewayAvailableSslOptions) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayAvailableSslOptions struct.

type ApplicationGatewayAvailableSslOptionsPropertiesFormat

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

ApplicationGatewayAvailableSslOptionsPropertiesFormat properties of ApplicationGatewayAvailableSslOptions.

type ApplicationGatewayAvailableSslPredefinedPolicies

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

ApplicationGatewayAvailableSslPredefinedPolicies response for ApplicationGatewayAvailableSslOptions API service call.

func (ApplicationGatewayAvailableSslPredefinedPolicies) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayAvailableSslPredefinedPoliciesIterator

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

ApplicationGatewayAvailableSslPredefinedPoliciesIterator provides access to a complete listing of ApplicationGatewaySslPredefinedPolicy values.

func NewApplicationGatewayAvailableSslPredefinedPoliciesIterator

func NewApplicationGatewayAvailableSslPredefinedPoliciesIterator(page ApplicationGatewayAvailableSslPredefinedPoliciesPage) ApplicationGatewayAvailableSslPredefinedPoliciesIterator

Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesIterator type.

func (*ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Next

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

func (*ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NextWithContext

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

func (ApplicationGatewayAvailableSslPredefinedPoliciesIterator) NotDone

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

func (ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Response

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

func (ApplicationGatewayAvailableSslPredefinedPoliciesIterator) Value

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

type ApplicationGatewayAvailableSslPredefinedPoliciesPage

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

ApplicationGatewayAvailableSslPredefinedPoliciesPage contains a page of ApplicationGatewaySslPredefinedPolicy values.

func NewApplicationGatewayAvailableSslPredefinedPoliciesPage

Creates a new instance of the ApplicationGatewayAvailableSslPredefinedPoliciesPage type.

func (*ApplicationGatewayAvailableSslPredefinedPoliciesPage) Next

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

func (*ApplicationGatewayAvailableSslPredefinedPoliciesPage) NextWithContext

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

func (ApplicationGatewayAvailableSslPredefinedPoliciesPage) NotDone

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

func (ApplicationGatewayAvailableSslPredefinedPoliciesPage) Response

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

func (ApplicationGatewayAvailableSslPredefinedPoliciesPage) Values

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

type ApplicationGatewayAvailableWafRuleSetsResult

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

ApplicationGatewayAvailableWafRuleSetsResult response for ApplicationGatewayAvailableWafRuleSets API service call.

type ApplicationGatewayBackendAddress

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

ApplicationGatewayBackendAddress backend address of an application gateway.

type ApplicationGatewayBackendAddressPool

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

ApplicationGatewayBackendAddressPool backend Address Pool of an application gateway.

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 - READ-ONLY; Collection of references to IPs defined in network interfaces.
	BackendIPConfigurations *[]InterfaceIPConfiguration `json:"backendIPConfigurations,omitempty"`
	// BackendAddresses - Backend addresses.
	BackendAddresses *[]ApplicationGatewayBackendAddress `json:"backendAddresses,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayBackendAddressPoolPropertiesFormat properties of Backend Address Pool of an application gateway.

func (ApplicationGatewayBackendAddressPoolPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayBackendAddressPoolPropertiesFormat.

type ApplicationGatewayBackendHTTPSettings

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

ApplicationGatewayBackendHTTPSettings backend address pool settings of an application gateway.

func (ApplicationGatewayBackendHTTPSettings) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettings.

func (*ApplicationGatewayBackendHTTPSettings) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayBackendHTTPSettings struct.

type ApplicationGatewayBackendHTTPSettingsPropertiesFormat

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

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

func (ApplicationGatewayBackendHTTPSettingsPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayBackendHTTPSettingsPropertiesFormat.

type ApplicationGatewayBackendHealth

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

ApplicationGatewayBackendHealth response for ApplicationGatewayBackendHealth API service call.

type ApplicationGatewayBackendHealthHTTPSettings

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

ApplicationGatewayBackendHealthHTTPSettings application gateway BackendHealthHttp settings.

type ApplicationGatewayBackendHealthOnDemand

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

ApplicationGatewayBackendHealthOnDemand result of on demand test probe.

type ApplicationGatewayBackendHealthPool

type ApplicationGatewayBackendHealthPool struct {
	// BackendAddressPool - Reference to 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 to IP configuration of backend server.
	IPConfiguration *InterfaceIPConfiguration `json:"ipConfiguration,omitempty"`
	// Health - Health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'
	Health ApplicationGatewayBackendHealthServerHealth `json:"health,omitempty"`
	// HealthProbeLog - Health Probe Log.
	HealthProbeLog *string `json:"healthProbeLog,omitempty"`
}

ApplicationGatewayBackendHealthServer application gateway backendhealth http settings.

type ApplicationGatewayBackendHealthServerHealth

type ApplicationGatewayBackendHealthServerHealth string

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

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

func PossibleApplicationGatewayBackendHealthServerHealthValues

func PossibleApplicationGatewayBackendHealthServerHealthValues() []ApplicationGatewayBackendHealthServerHealth

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

type ApplicationGatewayClientAuthConfiguration

type ApplicationGatewayClientAuthConfiguration struct {
	// VerifyClientCertIssuerDN - Verify client certificate issuer name on the application gateway.
	VerifyClientCertIssuerDN *bool `json:"verifyClientCertIssuerDN,omitempty"`
}

ApplicationGatewayClientAuthConfiguration application gateway client authentication configuration.

type ApplicationGatewayConnectionDraining

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

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

type ApplicationGatewayCookieBasedAffinity

type ApplicationGatewayCookieBasedAffinity string

ApplicationGatewayCookieBasedAffinity enumerates the values for application gateway cookie based affinity.

const (
	// Disabled ...
	Disabled ApplicationGatewayCookieBasedAffinity = "Disabled"
	// Enabled ...
	Enabled ApplicationGatewayCookieBasedAffinity = "Enabled"
)

func PossibleApplicationGatewayCookieBasedAffinityValues

func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity

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

type ApplicationGatewayCustomError

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

ApplicationGatewayCustomError customer error of an application gateway.

type ApplicationGatewayCustomErrorStatusCode

type ApplicationGatewayCustomErrorStatusCode string

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

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

func PossibleApplicationGatewayCustomErrorStatusCodeValues

func PossibleApplicationGatewayCustomErrorStatusCodeValues() []ApplicationGatewayCustomErrorStatusCode

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

type ApplicationGatewayFirewallDisabledRuleGroup

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

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

type ApplicationGatewayFirewallExclusion

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

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

type ApplicationGatewayFirewallMode

type ApplicationGatewayFirewallMode string

ApplicationGatewayFirewallMode enumerates the values for application gateway firewall mode.

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

func PossibleApplicationGatewayFirewallModeValues

func PossibleApplicationGatewayFirewallModeValues() []ApplicationGatewayFirewallMode

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

type ApplicationGatewayFirewallRule

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

ApplicationGatewayFirewallRule a web application firewall rule.

type ApplicationGatewayFirewallRuleGroup

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

ApplicationGatewayFirewallRuleGroup a web application firewall rule group.

type ApplicationGatewayFirewallRuleSet

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

ApplicationGatewayFirewallRuleSet a web application firewall rule set.

func (ApplicationGatewayFirewallRuleSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayFirewallRuleSet.

func (*ApplicationGatewayFirewallRuleSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFirewallRuleSet struct.

type ApplicationGatewayFirewallRuleSetPropertiesFormat

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

ApplicationGatewayFirewallRuleSetPropertiesFormat properties of the web application firewall rule set.

func (ApplicationGatewayFirewallRuleSetPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayFirewallRuleSetPropertiesFormat.

type ApplicationGatewayFrontendIPConfiguration

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

ApplicationGatewayFrontendIPConfiguration frontend IP configuration of an application gateway.

func (ApplicationGatewayFrontendIPConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfiguration.

func (*ApplicationGatewayFrontendIPConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayFrontendIPConfiguration struct.

type ApplicationGatewayFrontendIPConfigurationPropertiesFormat

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

ApplicationGatewayFrontendIPConfigurationPropertiesFormat properties of Frontend IP configuration of an application gateway.

func (ApplicationGatewayFrontendIPConfigurationPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendIPConfigurationPropertiesFormat.

type ApplicationGatewayFrontendPort

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

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

ApplicationGatewayFrontendPortPropertiesFormat properties of Frontend port of an application gateway.

func (ApplicationGatewayFrontendPortPropertiesFormat) MarshalJSON

func (agfppf ApplicationGatewayFrontendPortPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayFrontendPortPropertiesFormat.

type ApplicationGatewayHTTPListener

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

ApplicationGatewayHTTPListener http listener of an application gateway.

func (ApplicationGatewayHTTPListener) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListener.

func (*ApplicationGatewayHTTPListener) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayHTTPListener struct.

type ApplicationGatewayHTTPListenerPropertiesFormat

type ApplicationGatewayHTTPListenerPropertiesFormat struct {
	// FrontendIPConfiguration - Frontend IP configuration resource of an application gateway.
	FrontendIPConfiguration *SubResource `json:"frontendIPConfiguration,omitempty"`
	// FrontendPort - Frontend port resource of an application gateway.
	FrontendPort *SubResource `json:"frontendPort,omitempty"`
	// Protocol - Protocol of the HTTP listener. Possible values include: 'HTTP', 'HTTPS'
	Protocol ApplicationGatewayProtocol `json:"protocol,omitempty"`
	// HostName - Host name of HTTP listener.
	HostName *string `json:"hostName,omitempty"`
	// SslCertificate - SSL certificate resource of an application gateway.
	SslCertificate *SubResource `json:"sslCertificate,omitempty"`
	// SslProfile - SSL profile resource of the application gateway.
	SslProfile *SubResource `json:"sslProfile,omitempty"`
	// RequireServerNameIndication - Applicable only if protocol is https. Enables SNI for multi-hosting.
	RequireServerNameIndication *bool `json:"requireServerNameIndication,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// CustomErrorConfigurations - Custom error configurations of the HTTP listener.
	CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"`
	// FirewallPolicy - Reference to the FirewallPolicy resource.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`
	// HostNames - List of Host names for HTTP Listener that allows special wildcard characters as well.
	HostNames *[]string `json:"hostNames,omitempty"`
}

ApplicationGatewayHTTPListenerPropertiesFormat properties of HTTP listener of an application gateway.

func (ApplicationGatewayHTTPListenerPropertiesFormat) MarshalJSON

func (aghlpf ApplicationGatewayHTTPListenerPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayHTTPListenerPropertiesFormat.

type ApplicationGatewayHeaderConfiguration

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

ApplicationGatewayHeaderConfiguration header configuration of the Actions set in Application Gateway.

type ApplicationGatewayIPConfiguration

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

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 to the subnet resource. A subnet from where application gateway gets its private address.
	Subnet *SubResource `json:"subnet,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the application gateway IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayIPConfigurationPropertiesFormat properties of IP configuration of an application gateway.

func (ApplicationGatewayIPConfigurationPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayIPConfigurationPropertiesFormat.

type ApplicationGatewayListResult

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

ApplicationGatewayListResult response for ListApplicationGateways API service call.

func (ApplicationGatewayListResult) IsEmpty

func (aglr ApplicationGatewayListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayListResultIterator

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

ApplicationGatewayListResultIterator provides access to a complete listing of ApplicationGateway values.

func NewApplicationGatewayListResultIterator

func NewApplicationGatewayListResultIterator(page ApplicationGatewayListResultPage) ApplicationGatewayListResultIterator

Creates a new instance of the ApplicationGatewayListResultIterator type.

func (*ApplicationGatewayListResultIterator) Next

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

func (*ApplicationGatewayListResultIterator) NextWithContext

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

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

func (ApplicationGatewayListResultIterator) NotDone

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

func (ApplicationGatewayListResultIterator) Response

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

func (ApplicationGatewayListResultIterator) Value

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

type ApplicationGatewayListResultPage

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

ApplicationGatewayListResultPage contains a page of ApplicationGateway values.

func NewApplicationGatewayListResultPage

Creates a new instance of the ApplicationGatewayListResultPage type.

func (*ApplicationGatewayListResultPage) Next

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

func (*ApplicationGatewayListResultPage) NextWithContext

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

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

func (ApplicationGatewayListResultPage) NotDone

func (page ApplicationGatewayListResultPage) NotDone() bool

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

func (ApplicationGatewayListResultPage) Response

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

func (ApplicationGatewayListResultPage) Values

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

type ApplicationGatewayOnDemandProbe

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

ApplicationGatewayOnDemandProbe details of on demand test probe request.

type ApplicationGatewayOperationalState

type ApplicationGatewayOperationalState string

ApplicationGatewayOperationalState enumerates the values for application gateway operational state.

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

func PossibleApplicationGatewayOperationalStateValues

func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState

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

type ApplicationGatewayPathRule

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

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

func (ApplicationGatewayPathRule) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayPathRule.

func (*ApplicationGatewayPathRule) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPathRule struct.

type ApplicationGatewayPathRulePropertiesFormat

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

ApplicationGatewayPathRulePropertiesFormat properties of path rule of an application gateway.

func (ApplicationGatewayPathRulePropertiesFormat) MarshalJSON

func (agprpf ApplicationGatewayPathRulePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPathRulePropertiesFormat.

type ApplicationGatewayPrivateEndpointConnection

type ApplicationGatewayPrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// ApplicationGatewayPrivateEndpointConnectionProperties - Properties of the application gateway private endpoint connection.
	*ApplicationGatewayPrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// Name - Name of the private endpoint connection on an application gateway.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayPrivateEndpointConnection private Endpoint connection on an application gateway.

func (ApplicationGatewayPrivateEndpointConnection) MarshalJSON

func (agpec ApplicationGatewayPrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateEndpointConnection.

func (*ApplicationGatewayPrivateEndpointConnection) UnmarshalJSON

func (agpec *ApplicationGatewayPrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateEndpointConnection struct.

type ApplicationGatewayPrivateEndpointConnectionListResult

type ApplicationGatewayPrivateEndpointConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - List of private endpoint connections on an application gateway.
	Value *[]ApplicationGatewayPrivateEndpointConnection `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationGatewayPrivateEndpointConnectionListResult response for ListApplicationGatewayPrivateEndpointConnection API service call. Gets all private endpoint connections for an application gateway.

func (ApplicationGatewayPrivateEndpointConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayPrivateEndpointConnectionListResultIterator

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

ApplicationGatewayPrivateEndpointConnectionListResultIterator provides access to a complete listing of ApplicationGatewayPrivateEndpointConnection values.

func NewApplicationGatewayPrivateEndpointConnectionListResultIterator

func NewApplicationGatewayPrivateEndpointConnectionListResultIterator(page ApplicationGatewayPrivateEndpointConnectionListResultPage) ApplicationGatewayPrivateEndpointConnectionListResultIterator

Creates a new instance of the ApplicationGatewayPrivateEndpointConnectionListResultIterator type.

func (*ApplicationGatewayPrivateEndpointConnectionListResultIterator) 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 (*ApplicationGatewayPrivateEndpointConnectionListResultIterator) 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 (ApplicationGatewayPrivateEndpointConnectionListResultIterator) NotDone

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

func (ApplicationGatewayPrivateEndpointConnectionListResultIterator) Response

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

func (ApplicationGatewayPrivateEndpointConnectionListResultIterator) Value

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

type ApplicationGatewayPrivateEndpointConnectionListResultPage

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

ApplicationGatewayPrivateEndpointConnectionListResultPage contains a page of ApplicationGatewayPrivateEndpointConnection values.

func NewApplicationGatewayPrivateEndpointConnectionListResultPage

Creates a new instance of the ApplicationGatewayPrivateEndpointConnectionListResultPage type.

func (*ApplicationGatewayPrivateEndpointConnectionListResultPage) 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 (*ApplicationGatewayPrivateEndpointConnectionListResultPage) 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 (ApplicationGatewayPrivateEndpointConnectionListResultPage) NotDone

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

func (ApplicationGatewayPrivateEndpointConnectionListResultPage) Response

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

func (ApplicationGatewayPrivateEndpointConnectionListResultPage) Values

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

type ApplicationGatewayPrivateEndpointConnectionProperties

type ApplicationGatewayPrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - READ-ONLY; The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the application gateway private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// LinkIdentifier - READ-ONLY; The consumer link id.
	LinkIdentifier *string `json:"linkIdentifier,omitempty"`
}

ApplicationGatewayPrivateEndpointConnectionProperties properties of Private Link Resource of an application gateway.

func (ApplicationGatewayPrivateEndpointConnectionProperties) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateEndpointConnectionProperties.

type ApplicationGatewayPrivateEndpointConnectionsClient

type ApplicationGatewayPrivateEndpointConnectionsClient struct {
	BaseClient
}

ApplicationGatewayPrivateEndpointConnectionsClient is the network Client

func NewApplicationGatewayPrivateEndpointConnectionsClient

func NewApplicationGatewayPrivateEndpointConnectionsClient(subscriptionID string) ApplicationGatewayPrivateEndpointConnectionsClient

NewApplicationGatewayPrivateEndpointConnectionsClient creates an instance of the ApplicationGatewayPrivateEndpointConnectionsClient client.

func NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI

func NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewayPrivateEndpointConnectionsClient

NewApplicationGatewayPrivateEndpointConnectionsClientWithBaseURI creates an instance of the ApplicationGatewayPrivateEndpointConnectionsClient 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 (ApplicationGatewayPrivateEndpointConnectionsClient) Delete

func (client ApplicationGatewayPrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (result ApplicationGatewayPrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes the specified private endpoint connection on application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. connectionName - the name of the application gateway private endpoint connection.

func (ApplicationGatewayPrivateEndpointConnectionsClient) DeletePreparer

func (client ApplicationGatewayPrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ApplicationGatewayPrivateEndpointConnectionsClient) DeleteResponder

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

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

func (ApplicationGatewayPrivateEndpointConnectionsClient) Get

func (client ApplicationGatewayPrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string) (result ApplicationGatewayPrivateEndpointConnection, err error)

Get gets the specified private endpoint connection on application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. connectionName - the name of the application gateway private endpoint connection.

func (ApplicationGatewayPrivateEndpointConnectionsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationGatewayPrivateEndpointConnectionsClient) GetResponder

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

func (ApplicationGatewayPrivateEndpointConnectionsClient) GetSender

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

func (ApplicationGatewayPrivateEndpointConnectionsClient) List

List lists all private endpoint connections on an application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewayPrivateEndpointConnectionsClient) ListComplete

func (client ApplicationGatewayPrivateEndpointConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateEndpointConnectionListResultIterator, err error)

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

func (ApplicationGatewayPrivateEndpointConnectionsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ApplicationGatewayPrivateEndpointConnectionsClient) ListResponder

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

func (ApplicationGatewayPrivateEndpointConnectionsClient) ListSender

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

func (ApplicationGatewayPrivateEndpointConnectionsClient) Update

Update updates the specified private endpoint connection on application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway. connectionName - the name of the application gateway private endpoint connection. parameters - parameters supplied to update application gateway private endpoint connection operation.

func (ApplicationGatewayPrivateEndpointConnectionsClient) UpdatePreparer

func (client ApplicationGatewayPrivateEndpointConnectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, applicationGatewayName string, connectionName string, parameters ApplicationGatewayPrivateEndpointConnection) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ApplicationGatewayPrivateEndpointConnectionsClient) UpdateResponder

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ApplicationGatewayPrivateEndpointConnectionsClient) UpdateSender

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

type ApplicationGatewayPrivateEndpointConnectionsDeleteFuture

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

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

func (*ApplicationGatewayPrivateEndpointConnectionsDeleteFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationGatewayPrivateEndpointConnectionsUpdateFuture

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

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

func (*ApplicationGatewayPrivateEndpointConnectionsUpdateFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationGatewayPrivateLinkConfiguration

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

ApplicationGatewayPrivateLinkConfiguration private Link Configuration on an application gateway.

func (ApplicationGatewayPrivateLinkConfiguration) MarshalJSON

func (agplc ApplicationGatewayPrivateLinkConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkConfiguration.

func (*ApplicationGatewayPrivateLinkConfiguration) UnmarshalJSON

func (agplc *ApplicationGatewayPrivateLinkConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateLinkConfiguration struct.

type ApplicationGatewayPrivateLinkConfigurationProperties

type ApplicationGatewayPrivateLinkConfigurationProperties struct {
	// IPConfigurations - An array of application gateway private link ip configurations.
	IPConfigurations *[]ApplicationGatewayPrivateLinkIPConfiguration `json:"ipConfigurations,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the application gateway private link configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayPrivateLinkConfigurationProperties properties of private link configuration on an application gateway.

func (ApplicationGatewayPrivateLinkConfigurationProperties) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkConfigurationProperties.

type ApplicationGatewayPrivateLinkIPConfiguration

type ApplicationGatewayPrivateLinkIPConfiguration struct {
	// ApplicationGatewayPrivateLinkIPConfigurationProperties - Properties of an application gateway private link ip configuration.
	*ApplicationGatewayPrivateLinkIPConfigurationProperties `json:"properties,omitempty"`
	// Name - The name of application gateway private link ip configuration.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; The resource type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayPrivateLinkIPConfiguration the application gateway private link ip configuration.

func (ApplicationGatewayPrivateLinkIPConfiguration) MarshalJSON

func (agplic ApplicationGatewayPrivateLinkIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkIPConfiguration.

func (*ApplicationGatewayPrivateLinkIPConfiguration) UnmarshalJSON

func (agplic *ApplicationGatewayPrivateLinkIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateLinkIPConfiguration struct.

type ApplicationGatewayPrivateLinkIPConfigurationProperties

type ApplicationGatewayPrivateLinkIPConfigurationProperties struct {
	// PrivateIPAddress - The private IP address of the IP configuration.
	PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
	// PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'
	PrivateIPAllocationMethod IPAllocationMethod `json:"privateIPAllocationMethod,omitempty"`
	// Subnet - Reference to the subnet resource.
	Subnet *SubResource `json:"subnet,omitempty"`
	// Primary - Whether the ip configuration is primary or not.
	Primary *bool `json:"primary,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the application gateway private link IP configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewayPrivateLinkIPConfigurationProperties properties of an application gateway private link IP configuration.

func (ApplicationGatewayPrivateLinkIPConfigurationProperties) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkIPConfigurationProperties.

type ApplicationGatewayPrivateLinkResource

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

ApplicationGatewayPrivateLinkResource privateLink Resource of an application gateway.

func (ApplicationGatewayPrivateLinkResource) MarshalJSON

func (agplr ApplicationGatewayPrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkResource.

func (*ApplicationGatewayPrivateLinkResource) UnmarshalJSON

func (agplr *ApplicationGatewayPrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayPrivateLinkResource struct.

type ApplicationGatewayPrivateLinkResourceListResult

type ApplicationGatewayPrivateLinkResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - List of private link resources of an application gateway.
	Value *[]ApplicationGatewayPrivateLinkResource `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ApplicationGatewayPrivateLinkResourceListResult response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an application gateway.

func (ApplicationGatewayPrivateLinkResourceListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ApplicationGatewayPrivateLinkResourceListResultIterator

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

ApplicationGatewayPrivateLinkResourceListResultIterator provides access to a complete listing of ApplicationGatewayPrivateLinkResource values.

func NewApplicationGatewayPrivateLinkResourceListResultIterator

func NewApplicationGatewayPrivateLinkResourceListResultIterator(page ApplicationGatewayPrivateLinkResourceListResultPage) ApplicationGatewayPrivateLinkResourceListResultIterator

Creates a new instance of the ApplicationGatewayPrivateLinkResourceListResultIterator type.

func (*ApplicationGatewayPrivateLinkResourceListResultIterator) 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 (*ApplicationGatewayPrivateLinkResourceListResultIterator) 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 (ApplicationGatewayPrivateLinkResourceListResultIterator) NotDone

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

func (ApplicationGatewayPrivateLinkResourceListResultIterator) Response

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

func (ApplicationGatewayPrivateLinkResourceListResultIterator) Value

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

type ApplicationGatewayPrivateLinkResourceListResultPage

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

ApplicationGatewayPrivateLinkResourceListResultPage contains a page of ApplicationGatewayPrivateLinkResource values.

func NewApplicationGatewayPrivateLinkResourceListResultPage

Creates a new instance of the ApplicationGatewayPrivateLinkResourceListResultPage type.

func (*ApplicationGatewayPrivateLinkResourceListResultPage) 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 (*ApplicationGatewayPrivateLinkResourceListResultPage) 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 (ApplicationGatewayPrivateLinkResourceListResultPage) NotDone

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

func (ApplicationGatewayPrivateLinkResourceListResultPage) Response

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

func (ApplicationGatewayPrivateLinkResourceListResultPage) Values

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

type ApplicationGatewayPrivateLinkResourceProperties

type ApplicationGatewayPrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; Group identifier of private link resource.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; Required member names of private link resource.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - Required DNS zone names of the the private link resource.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

ApplicationGatewayPrivateLinkResourceProperties properties of a private link resource.

func (ApplicationGatewayPrivateLinkResourceProperties) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayPrivateLinkResourceProperties.

type ApplicationGatewayPrivateLinkResourcesClient

type ApplicationGatewayPrivateLinkResourcesClient struct {
	BaseClient
}

ApplicationGatewayPrivateLinkResourcesClient is the network Client

func NewApplicationGatewayPrivateLinkResourcesClient

func NewApplicationGatewayPrivateLinkResourcesClient(subscriptionID string) ApplicationGatewayPrivateLinkResourcesClient

NewApplicationGatewayPrivateLinkResourcesClient creates an instance of the ApplicationGatewayPrivateLinkResourcesClient client.

func NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI

func NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewayPrivateLinkResourcesClient

NewApplicationGatewayPrivateLinkResourcesClientWithBaseURI creates an instance of the ApplicationGatewayPrivateLinkResourcesClient 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 (ApplicationGatewayPrivateLinkResourcesClient) List

func (client ApplicationGatewayPrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateLinkResourceListResultPage, err error)

List lists all private link resources on an application gateway. Parameters: resourceGroupName - the name of the resource group. applicationGatewayName - the name of the application gateway.

func (ApplicationGatewayPrivateLinkResourcesClient) ListComplete

func (client ApplicationGatewayPrivateLinkResourcesClient) ListComplete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewayPrivateLinkResourceListResultIterator, err error)

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

func (ApplicationGatewayPrivateLinkResourcesClient) ListPreparer

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

ListPreparer prepares the List request.

func (ApplicationGatewayPrivateLinkResourcesClient) ListResponder

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

func (ApplicationGatewayPrivateLinkResourcesClient) ListSender

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

type ApplicationGatewayProbe

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

ApplicationGatewayProbe probe of the application gateway.

func (ApplicationGatewayProbe) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayProbe.

func (*ApplicationGatewayProbe) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayProbe struct.

type ApplicationGatewayProbeHealthResponseMatch

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

ApplicationGatewayProbeHealthResponseMatch application gateway probe health response match.

type ApplicationGatewayProbePropertiesFormat

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

ApplicationGatewayProbePropertiesFormat properties of probe of an application gateway.

func (ApplicationGatewayProbePropertiesFormat) MarshalJSON

func (agppf ApplicationGatewayProbePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayProbePropertiesFormat.

type ApplicationGatewayPropertiesFormat

type ApplicationGatewayPropertiesFormat struct {
	// Sku - SKU of the application gateway resource.
	Sku *ApplicationGatewaySku `json:"sku,omitempty"`
	// SslPolicy - SSL policy of the application gateway resource.
	SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"`
	// OperationalState - READ-ONLY; Operational state of the application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'
	OperationalState ApplicationGatewayOperationalState `json:"operationalState,omitempty"`
	// GatewayIPConfigurations - Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	GatewayIPConfigurations *[]ApplicationGatewayIPConfiguration `json:"gatewayIPConfigurations,omitempty"`
	// AuthenticationCertificates - Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	AuthenticationCertificates *[]ApplicationGatewayAuthenticationCertificate `json:"authenticationCertificates,omitempty"`
	// TrustedRootCertificates - Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	TrustedRootCertificates *[]ApplicationGatewayTrustedRootCertificate `json:"trustedRootCertificates,omitempty"`
	// TrustedClientCertificates - Trusted client certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	TrustedClientCertificates *[]ApplicationGatewayTrustedClientCertificate `json:"trustedClientCertificates,omitempty"`
	// SslCertificates - SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	SslCertificates *[]ApplicationGatewaySslCertificate `json:"sslCertificates,omitempty"`
	// FrontendIPConfigurations - Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	FrontendIPConfigurations *[]ApplicationGatewayFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
	// FrontendPorts - Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	FrontendPorts *[]ApplicationGatewayFrontendPort `json:"frontendPorts,omitempty"`
	// Probes - Probes of the application gateway resource.
	Probes *[]ApplicationGatewayProbe `json:"probes,omitempty"`
	// BackendAddressPools - Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	BackendAddressPools *[]ApplicationGatewayBackendAddressPool `json:"backendAddressPools,omitempty"`
	// BackendHTTPSettingsCollection - Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	BackendHTTPSettingsCollection *[]ApplicationGatewayBackendHTTPSettings `json:"backendHttpSettingsCollection,omitempty"`
	// HTTPListeners - Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	HTTPListeners *[]ApplicationGatewayHTTPListener `json:"httpListeners,omitempty"`
	// SslProfiles - SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	SslProfiles *[]ApplicationGatewaySslProfile `json:"sslProfiles,omitempty"`
	// URLPathMaps - URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	URLPathMaps *[]ApplicationGatewayURLPathMap `json:"urlPathMaps,omitempty"`
	// RequestRoutingRules - Request routing rules of the application gateway resource.
	RequestRoutingRules *[]ApplicationGatewayRequestRoutingRule `json:"requestRoutingRules,omitempty"`
	// RewriteRuleSets - Rewrite rules for the application gateway resource.
	RewriteRuleSets *[]ApplicationGatewayRewriteRuleSet `json:"rewriteRuleSets,omitempty"`
	// RedirectConfigurations - Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
	RedirectConfigurations *[]ApplicationGatewayRedirectConfiguration `json:"redirectConfigurations,omitempty"`
	// WebApplicationFirewallConfiguration - Web application firewall configuration.
	WebApplicationFirewallConfiguration *ApplicationGatewayWebApplicationFirewallConfiguration `json:"webApplicationFirewallConfiguration,omitempty"`
	// FirewallPolicy - Reference to the FirewallPolicy resource.
	FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"`
	// EnableHTTP2 - Whether HTTP2 is enabled on the application gateway resource.
	EnableHTTP2 *bool `json:"enableHttp2,omitempty"`
	// EnableFips - Whether FIPS is enabled on the application gateway resource.
	EnableFips *bool `json:"enableFips,omitempty"`
	// AutoscaleConfiguration - Autoscale Configuration.
	AutoscaleConfiguration *ApplicationGatewayAutoscaleConfiguration `json:"autoscaleConfiguration,omitempty"`
	// PrivateLinkConfigurations - PrivateLink configurations on application gateway.
	PrivateLinkConfigurations *[]ApplicationGatewayPrivateLinkConfiguration `json:"privateLinkConfigurations,omitempty"`
	// PrivateEndpointConnections - READ-ONLY; Private Endpoint connections on application gateway.
	PrivateEndpointConnections *[]ApplicationGatewayPrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// ResourceGUID - READ-ONLY; The resource GUID property of the application gateway resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the application gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// CustomErrorConfigurations - Custom error configurations of the application gateway resource.
	CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"`
	// ForceFirewallPolicyAssociation - If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.
	ForceFirewallPolicyAssociation *bool `json:"forceFirewallPolicyAssociation,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 - Properties of the application gateway redirect configuration.
	*ApplicationGatewayRedirectConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - Name of the redirect configuration that is unique within an Application Gateway.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ApplicationGatewayRedirectConfiguration redirect configuration of an application gateway.

func (ApplicationGatewayRedirectConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayRedirectConfiguration.

func (*ApplicationGatewayRedirectConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRedirectConfiguration struct.

type ApplicationGatewayRedirectConfigurationPropertiesFormat

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

ApplicationGatewayRedirectConfigurationPropertiesFormat properties of redirect configuration of the application gateway.

type ApplicationGatewayRedirectType

type ApplicationGatewayRedirectType string

ApplicationGatewayRedirectType enumerates the values for application gateway redirect type.

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

func PossibleApplicationGatewayRedirectTypeValues

func PossibleApplicationGatewayRedirectTypeValues() []ApplicationGatewayRedirectType

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

type ApplicationGatewayRequestRoutingRule

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

ApplicationGatewayRequestRoutingRule request routing rule of an application gateway.

func (ApplicationGatewayRequestRoutingRule) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRule.

func (*ApplicationGatewayRequestRoutingRule) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRequestRoutingRule struct.

type ApplicationGatewayRequestRoutingRulePropertiesFormat

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

ApplicationGatewayRequestRoutingRulePropertiesFormat properties of request routing rule of the application gateway.

func (ApplicationGatewayRequestRoutingRulePropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayRequestRoutingRulePropertiesFormat.

type ApplicationGatewayRequestRoutingRuleType

type ApplicationGatewayRequestRoutingRuleType string

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

const (
	// Basic ...
	Basic ApplicationGatewayRequestRoutingRuleType = "Basic"
	// PathBasedRouting ...
	PathBasedRouting ApplicationGatewayRequestRoutingRuleType = "PathBasedRouting"
)

func PossibleApplicationGatewayRequestRoutingRuleTypeValues

func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType

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

type ApplicationGatewayRewriteRule

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

ApplicationGatewayRewriteRule rewrite rule of an application gateway.

type ApplicationGatewayRewriteRuleActionSet

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

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

type ApplicationGatewayRewriteRuleCondition

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

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

type ApplicationGatewayRewriteRuleSet

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

ApplicationGatewayRewriteRuleSet rewrite rule set of an application gateway.

func (ApplicationGatewayRewriteRuleSet) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayRewriteRuleSet.

func (*ApplicationGatewayRewriteRuleSet) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayRewriteRuleSet struct.

type ApplicationGatewayRewriteRuleSetPropertiesFormat

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

ApplicationGatewayRewriteRuleSetPropertiesFormat properties of rewrite rule set of the application gateway.

func (ApplicationGatewayRewriteRuleSetPropertiesFormat) MarshalJSON

func (agrrspf ApplicationGatewayRewriteRuleSetPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayRewriteRuleSetPropertiesFormat.

type ApplicationGatewaySku

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

ApplicationGatewaySku SKU of an application gateway.

type ApplicationGatewaySkuName

type ApplicationGatewaySkuName string

ApplicationGatewaySkuName enumerates the values for application gateway sku name.

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

func PossibleApplicationGatewaySkuNameValues

func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName

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

type ApplicationGatewaySslCertificate

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

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 - READ-ONLY; Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request.
	PublicCertData *string `json:"publicCertData,omitempty"`
	// KeyVaultSecretID - Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
	KeyVaultSecretID *string `json:"keyVaultSecretId,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the SSL certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewaySslCertificatePropertiesFormat properties of SSL certificates of an application gateway.

func (ApplicationGatewaySslCertificatePropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewaySslCertificatePropertiesFormat.

type ApplicationGatewaySslCipherSuite

type ApplicationGatewaySslCipherSuite string

ApplicationGatewaySslCipherSuite enumerates the values for application gateway ssl cipher suite.

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

func PossibleApplicationGatewaySslCipherSuiteValues

func PossibleApplicationGatewaySslCipherSuiteValues() []ApplicationGatewaySslCipherSuite

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

type ApplicationGatewaySslPolicy

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

ApplicationGatewaySslPolicy application Gateway Ssl policy.

type ApplicationGatewaySslPolicyName

type ApplicationGatewaySslPolicyName string

ApplicationGatewaySslPolicyName enumerates the values for application gateway ssl policy name.

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

func PossibleApplicationGatewaySslPolicyNameValues

func PossibleApplicationGatewaySslPolicyNameValues() []ApplicationGatewaySslPolicyName

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

type ApplicationGatewaySslPolicyType

type ApplicationGatewaySslPolicyType string

ApplicationGatewaySslPolicyType enumerates the values for application gateway ssl policy type.

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

func PossibleApplicationGatewaySslPolicyTypeValues

func PossibleApplicationGatewaySslPolicyTypeValues() []ApplicationGatewaySslPolicyType

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

type ApplicationGatewaySslPredefinedPolicy

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

ApplicationGatewaySslPredefinedPolicy an Ssl predefined policy.

func (ApplicationGatewaySslPredefinedPolicy) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewaySslPredefinedPolicy.

func (*ApplicationGatewaySslPredefinedPolicy) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslPredefinedPolicy struct.

type ApplicationGatewaySslPredefinedPolicyPropertiesFormat

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

ApplicationGatewaySslPredefinedPolicyPropertiesFormat properties of ApplicationGatewaySslPredefinedPolicy.

type ApplicationGatewaySslProfile

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

ApplicationGatewaySslProfile SSL profile of an application gateway.

func (ApplicationGatewaySslProfile) MarshalJSON

func (agsp ApplicationGatewaySslProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewaySslProfile.

func (*ApplicationGatewaySslProfile) UnmarshalJSON

func (agsp *ApplicationGatewaySslProfile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewaySslProfile struct.

type ApplicationGatewaySslProfilePropertiesFormat

type ApplicationGatewaySslProfilePropertiesFormat struct {
	// TrustedClientCertificates - Array of references to application gateway trusted client certificates.
	TrustedClientCertificates *[]SubResource `json:"trustedClientCertificates,omitempty"`
	// SslPolicy - SSL policy of the application gateway resource.
	SslPolicy *ApplicationGatewaySslPolicy `json:"sslPolicy,omitempty"`
	// ClientAuthConfiguration - Client authentication configuration of the application gateway resource.
	ClientAuthConfiguration *ApplicationGatewayClientAuthConfiguration `json:"clientAuthConfiguration,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ApplicationGatewaySslProfilePropertiesFormat properties of SSL profile of an application gateway.

func (ApplicationGatewaySslProfilePropertiesFormat) MarshalJSON

func (agsppf ApplicationGatewaySslProfilePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewaySslProfilePropertiesFormat.

type ApplicationGatewaySslProtocol

type ApplicationGatewaySslProtocol string

ApplicationGatewaySslProtocol enumerates the values for application gateway ssl protocol.

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

func PossibleApplicationGatewaySslProtocolValues

func PossibleApplicationGatewaySslProtocolValues() []ApplicationGatewaySslProtocol

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

type ApplicationGatewayTier

type ApplicationGatewayTier string

ApplicationGatewayTier enumerates the values for application gateway tier.

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

func PossibleApplicationGatewayTierValues

func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier

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

type ApplicationGatewayTrustedClientCertificate

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

ApplicationGatewayTrustedClientCertificate trusted client certificates of an application gateway.

func (ApplicationGatewayTrustedClientCertificate) MarshalJSON

func (agtcc ApplicationGatewayTrustedClientCertificate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayTrustedClientCertificate.

func (*ApplicationGatewayTrustedClientCertificate) UnmarshalJSON

func (agtcc *ApplicationGatewayTrustedClientCertificate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayTrustedClientCertificate struct.

type ApplicationGatewayTrustedClientCertificatePropertiesFormat

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

ApplicationGatewayTrustedClientCertificatePropertiesFormat trusted client certificates properties of an application gateway.

func (ApplicationGatewayTrustedClientCertificatePropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayTrustedClientCertificatePropertiesFormat.

type ApplicationGatewayTrustedRootCertificate

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

ApplicationGatewayTrustedRootCertificate trusted Root certificates of an application gateway.

func (ApplicationGatewayTrustedRootCertificate) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayTrustedRootCertificate.

func (*ApplicationGatewayTrustedRootCertificate) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayTrustedRootCertificate struct.

type ApplicationGatewayTrustedRootCertificatePropertiesFormat

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

ApplicationGatewayTrustedRootCertificatePropertiesFormat trusted Root certificates properties of an application gateway.

func (ApplicationGatewayTrustedRootCertificatePropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationGatewayTrustedRootCertificatePropertiesFormat.

type ApplicationGatewayURLConfiguration

type ApplicationGatewayURLConfiguration struct {
	// ModifiedPath - Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null.
	ModifiedPath *string `json:"modifiedPath,omitempty"`
	// ModifiedQueryString - Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null.
	ModifiedQueryString *string `json:"modifiedQueryString,omitempty"`
	// Reroute - If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false.
	Reroute *bool `json:"reroute,omitempty"`
}

ApplicationGatewayURLConfiguration url configuration of the Actions set in Application Gateway.

type ApplicationGatewayURLPathMap

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

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

func (ApplicationGatewayURLPathMap) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMap.

func (*ApplicationGatewayURLPathMap) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationGatewayURLPathMap struct.

type ApplicationGatewayURLPathMapPropertiesFormat

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

ApplicationGatewayURLPathMapPropertiesFormat properties of UrlPathMap of the application gateway.

func (ApplicationGatewayURLPathMapPropertiesFormat) MarshalJSON

func (agupmpf ApplicationGatewayURLPathMapPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationGatewayURLPathMapPropertiesFormat.

type ApplicationGatewayWebApplicationFirewallConfiguration

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

ApplicationGatewayWebApplicationFirewallConfiguration application gateway web application firewall configuration.

type ApplicationGatewaysBackendHealthFuture

type ApplicationGatewaysBackendHealthFuture struct {
	azure.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 ApplicationGatewaysBackendHealthOnDemandFuture

type ApplicationGatewaysBackendHealthOnDemandFuture 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) (ApplicationGatewayBackendHealthOnDemand, error)
}

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

func (*ApplicationGatewaysBackendHealthOnDemandFuture) UnmarshalJSON

func (future *ApplicationGatewaysBackendHealthOnDemandFuture) 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) BackendHealthOnDemand

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

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

func (ApplicationGatewaysClient) BackendHealthOnDemandPreparer

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

BackendHealthOnDemandPreparer prepares the BackendHealthOnDemand request.

func (ApplicationGatewaysClient) BackendHealthOnDemandResponder

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

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

func (ApplicationGatewaysClient) BackendHealthOnDemandSender

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

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

func (ApplicationGatewaysClient) BackendHealthPreparer

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

BackendHealthPreparer prepares the BackendHealth request.

func (ApplicationGatewaysClient) BackendHealthResponder

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

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

func (ApplicationGatewaysClient) BackendHealthSender

func (client ApplicationGatewaysClient) BackendHealthSender(req *http.Request) (future ApplicationGatewaysBackendHealthFuture, err error)

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

func (ApplicationGatewaysClient) CreateOrUpdate

func (client ApplicationGatewaysClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, applicationGatewayName string, parameters ApplicationGateway) (result ApplicationGatewaysCreateOrUpdateFuture, err error)

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

func (ApplicationGatewaysClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationGatewaysClient) CreateOrUpdateResponder

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

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

func (ApplicationGatewaysClient) CreateOrUpdateSender

func (client ApplicationGatewaysClient) CreateOrUpdateSender(req *http.Request) (future ApplicationGatewaysCreateOrUpdateFuture, err error)

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

func (ApplicationGatewaysClient) Delete

func (client ApplicationGatewaysClient) Delete(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysDeleteFuture, err error)

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

func (ApplicationGatewaysClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ApplicationGatewaysClient) DeleteResponder

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

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

func (ApplicationGatewaysClient) DeleteSender

func (client ApplicationGatewaysClient) DeleteSender(req *http.Request) (future ApplicationGatewaysDeleteFuture, err error)

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

func (ApplicationGatewaysClient) Get

func (client ApplicationGatewaysClient) Get(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGateway, err error)

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

func (ApplicationGatewaysClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationGatewaysClient) GetResponder

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

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

func (ApplicationGatewaysClient) GetSender

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

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

func (ApplicationGatewaysClient) GetSslPredefinedPolicy

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

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

func (ApplicationGatewaysClient) GetSslPredefinedPolicyPreparer

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

GetSslPredefinedPolicyPreparer prepares the GetSslPredefinedPolicy request.

func (ApplicationGatewaysClient) GetSslPredefinedPolicyResponder

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

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

func (ApplicationGatewaysClient) GetSslPredefinedPolicySender

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

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

func (ApplicationGatewaysClient) List

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

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

func (ApplicationGatewaysClient) ListAll

ListAll gets all the application gateways in a subscription.

func (ApplicationGatewaysClient) ListAllComplete

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

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

func (ApplicationGatewaysClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (ApplicationGatewaysClient) ListAllResponder

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

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

func (ApplicationGatewaysClient) ListAllSender

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

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

func (ApplicationGatewaysClient) ListAvailableRequestHeaders

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

ListAvailableRequestHeaders lists all available request headers.

func (ApplicationGatewaysClient) ListAvailableRequestHeadersPreparer

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

ListAvailableRequestHeadersPreparer prepares the ListAvailableRequestHeaders request.

func (ApplicationGatewaysClient) ListAvailableRequestHeadersResponder

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

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

func (ApplicationGatewaysClient) ListAvailableRequestHeadersSender

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

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

func (ApplicationGatewaysClient) ListAvailableResponseHeaders

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

ListAvailableResponseHeaders lists all available response headers.

func (ApplicationGatewaysClient) ListAvailableResponseHeadersPreparer

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

ListAvailableResponseHeadersPreparer prepares the ListAvailableResponseHeaders request.

func (ApplicationGatewaysClient) ListAvailableResponseHeadersResponder

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

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

func (ApplicationGatewaysClient) ListAvailableResponseHeadersSender

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

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

func (ApplicationGatewaysClient) ListAvailableServerVariables

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

ListAvailableServerVariables lists all available server variables.

func (ApplicationGatewaysClient) ListAvailableServerVariablesPreparer

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

ListAvailableServerVariablesPreparer prepares the ListAvailableServerVariables request.

func (ApplicationGatewaysClient) ListAvailableServerVariablesResponder

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

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

func (ApplicationGatewaysClient) ListAvailableServerVariablesSender

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

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

func (ApplicationGatewaysClient) ListAvailableSslOptions

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

ListAvailableSslOptions lists available Ssl options for configuring Ssl policy.

func (ApplicationGatewaysClient) ListAvailableSslOptionsPreparer

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

ListAvailableSslOptionsPreparer prepares the ListAvailableSslOptions request.

func (ApplicationGatewaysClient) ListAvailableSslOptionsResponder

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

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

func (ApplicationGatewaysClient) ListAvailableSslOptionsSender

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

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

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPolicies

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

ListAvailableSslPredefinedPolicies lists all SSL predefined policies for configuring Ssl policy.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesComplete

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

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

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesPreparer

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

ListAvailableSslPredefinedPoliciesPreparer prepares the ListAvailableSslPredefinedPolicies request.

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesResponder

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

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

func (ApplicationGatewaysClient) ListAvailableSslPredefinedPoliciesSender

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

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

func (ApplicationGatewaysClient) ListAvailableWafRuleSets

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

ListAvailableWafRuleSets lists all available web application firewall rule sets.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsPreparer

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

ListAvailableWafRuleSetsPreparer prepares the ListAvailableWafRuleSets request.

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsResponder

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

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

func (ApplicationGatewaysClient) ListAvailableWafRuleSetsSender

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

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

func (ApplicationGatewaysClient) ListComplete

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

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

func (ApplicationGatewaysClient) ListPreparer

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

ListPreparer prepares the List request.

func (ApplicationGatewaysClient) ListResponder

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

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

func (ApplicationGatewaysClient) ListSender

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

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

func (ApplicationGatewaysClient) Start

func (client ApplicationGatewaysClient) Start(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStartFuture, err error)

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

func (ApplicationGatewaysClient) StartPreparer

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

StartPreparer prepares the Start request.

func (ApplicationGatewaysClient) StartResponder

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

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

func (ApplicationGatewaysClient) StartSender

func (client ApplicationGatewaysClient) StartSender(req *http.Request) (future ApplicationGatewaysStartFuture, err error)

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

func (ApplicationGatewaysClient) Stop

func (client ApplicationGatewaysClient) Stop(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result ApplicationGatewaysStopFuture, err error)

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

func (ApplicationGatewaysClient) StopPreparer

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

StopPreparer prepares the Stop request.

func (ApplicationGatewaysClient) StopResponder

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

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

func (ApplicationGatewaysClient) StopSender

func (client ApplicationGatewaysClient) StopSender(req *http.Request) (future ApplicationGatewaysStopFuture, err error)

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

func (ApplicationGatewaysClient) UpdateTags

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

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

func (ApplicationGatewaysClient) UpdateTagsPreparer

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

UpdateTagsPreparer prepares the UpdateTags request.

func (ApplicationGatewaysClient) UpdateTagsResponder

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

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

func (ApplicationGatewaysClient) UpdateTagsSender

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

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

type ApplicationGatewaysCreateOrUpdateFuture

type ApplicationGatewaysCreateOrUpdateFuture struct {
	azure.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 ApplicationRule

type ApplicationRule struct {
	// SourceAddresses - List of source IP addresses for this rule.
	SourceAddresses *[]string `json:"sourceAddresses,omitempty"`
	// DestinationAddresses - List of destination IP addresses or Service Tags.
	DestinationAddresses *[]string `json:"destinationAddresses,omitempty"`
	// Protocols - Array of Application Protocols.
	Protocols *[]FirewallPolicyRuleApplicationProtocol `json:"protocols,omitempty"`
	// TargetFqdns - List of FQDNs for this rule.
	TargetFqdns *[]string `json:"targetFqdns,omitempty"`
	// FqdnTags - List of FQDN Tags for this rule.
	FqdnTags *[]string `json:"fqdnTags,omitempty"`
	// SourceIPGroups - List of source IpGroups for this rule.
	SourceIPGroups *[]string `json:"sourceIpGroups,omitempty"`
	// Name - Name of the rule.
	Name *string `json:"name,omitempty"`
	// Description - Description of the rule.
	Description *string `json:"description,omitempty"`
	// RuleType - Possible values include: 'RuleTypeFirewallPolicyRule', 'RuleTypeApplicationRule', 'RuleTypeNatRule', 'RuleTypeNetworkRule'
	RuleType RuleType `json:"ruleType,omitempty"`
}

ApplicationRule rule of type application.

func (ApplicationRule) AsApplicationRule

func (ar ApplicationRule) AsApplicationRule() (*ApplicationRule, bool)

AsApplicationRule is the BasicFirewallPolicyRule implementation for ApplicationRule.

func (ApplicationRule) AsBasicFirewallPolicyRule

func (ar ApplicationRule) AsBasicFirewallPolicyRule() (BasicFirewallPolicyRule, bool)

AsBasicFirewallPolicyRule is the BasicFirewallPolicyRule implementation for ApplicationRule.

func (ApplicationRule) AsFirewallPolicyRule

func (ar ApplicationRule) AsFirewallPolicyRule() (*FirewallPolicyRule, bool)

AsFirewallPolicyRule is the BasicFirewallPolicyRule implementation for ApplicationRule.

func (ApplicationRule) AsNatRule

func (ar ApplicationRule) AsNatRule() (*NatRule, bool)

AsNatRule is the BasicFirewallPolicyRule implementation for ApplicationRule.

func (ApplicationRule) AsRule

func (ar ApplicationRule) AsRule() (*Rule, bool)

AsRule is the BasicFirewallPolicyRule implementation for ApplicationRule.

func (ApplicationRule) MarshalJSON

func (ar ApplicationRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationRule.

type ApplicationSecurityGroup

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

ApplicationSecurityGroup an application security group in a resource group.

func (ApplicationSecurityGroup) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationSecurityGroup.

func (*ApplicationSecurityGroup) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationSecurityGroup struct.

type ApplicationSecurityGroupListResult

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

ApplicationSecurityGroupListResult a list of application security groups.

func (ApplicationSecurityGroupListResult) IsEmpty

func (asglr ApplicationSecurityGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ApplicationSecurityGroupListResult) MarshalJSON

func (asglr ApplicationSecurityGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationSecurityGroupListResult.

type ApplicationSecurityGroupListResultIterator

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

ApplicationSecurityGroupListResultIterator provides access to a complete listing of ApplicationSecurityGroup values.

func NewApplicationSecurityGroupListResultIterator

func NewApplicationSecurityGroupListResultIterator(page ApplicationSecurityGroupListResultPage) ApplicationSecurityGroupListResultIterator

Creates a new instance of the ApplicationSecurityGroupListResultIterator type.

func (*ApplicationSecurityGroupListResultIterator) Next

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

func (*ApplicationSecurityGroupListResultIterator) NextWithContext

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

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

func (ApplicationSecurityGroupListResultIterator) NotDone

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

func (ApplicationSecurityGroupListResultIterator) Response

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

func (ApplicationSecurityGroupListResultIterator) Value

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

type ApplicationSecurityGroupListResultPage

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

ApplicationSecurityGroupListResultPage contains a page of ApplicationSecurityGroup values.

func NewApplicationSecurityGroupListResultPage

Creates a new instance of the ApplicationSecurityGroupListResultPage type.

func (*ApplicationSecurityGroupListResultPage) Next

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

func (*ApplicationSecurityGroupListResultPage) NextWithContext

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

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

func (ApplicationSecurityGroupListResultPage) NotDone

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

func (ApplicationSecurityGroupListResultPage) Response

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

func (ApplicationSecurityGroupListResultPage) Values

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

type ApplicationSecurityGroupPropertiesFormat

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

ApplicationSecurityGroupPropertiesFormat application security group properties.

func (ApplicationSecurityGroupPropertiesFormat) MarshalJSON

func (asgpf ApplicationSecurityGroupPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationSecurityGroupPropertiesFormat.

type ApplicationSecurityGroupsClient

type ApplicationSecurityGroupsClient struct {
	BaseClient
}

ApplicationSecurityGroupsClient is the network Client

func NewApplicationSecurityGroupsClient

func NewApplicationSecurityGroupsClient(subscriptionID string) ApplicationSecurityGroupsClient

NewApplicationSecurityGroupsClient creates an instance of the ApplicationSecurityGroupsClient client.

func NewApplicationSecurityGroupsClientWithBaseURI

func NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationSecurityGroupsClient

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

func (ApplicationSecurityGroupsClient) CreateOrUpdate

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

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

func (ApplicationSecurityGroupsClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ApplicationSecurityGroupsClient) CreateOrUpdateResponder

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

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

func (ApplicationSecurityGroupsClient) CreateOrUpdateSender

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

func (ApplicationSecurityGroupsClient) Delete

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

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

func (ApplicationSecurityGroupsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ApplicationSecurityGroupsClient) DeleteResponder

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

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

func (ApplicationSecurityGroupsClient) DeleteSender

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

func (ApplicationSecurityGroupsClient) Get

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

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

func (ApplicationSecurityGroupsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationSecurityGroupsClient) GetResponder

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

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

func (ApplicationSecurityGroupsClient) GetSender

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

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

func (ApplicationSecurityGroupsClient) List

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

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

func (ApplicationSecurityGroupsClient) ListAll

ListAll gets all application security groups in a subscription.

func (ApplicationSecurityGroupsClient) ListAllComplete

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

func (ApplicationSecurityGroupsClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (ApplicationSecurityGroupsClient) ListAllResponder

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

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

func (ApplicationSecurityGroupsClient) ListAllSender

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

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

func (ApplicationSecurityGroupsClient) ListComplete

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

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

func (ApplicationSecurityGroupsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ApplicationSecurityGroupsClient) ListResponder

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

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

func (ApplicationSecurityGroupsClient) ListSender

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

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

func (ApplicationSecurityGroupsClient) UpdateTags

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

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

func (ApplicationSecurityGroupsClient) UpdateTagsPreparer

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

UpdateTagsPreparer prepares the UpdateTags request.

func (ApplicationSecurityGroupsClient) UpdateTagsResponder

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

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

func (ApplicationSecurityGroupsClient) UpdateTagsSender

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

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

type ApplicationSecurityGroupsCreateOrUpdateFuture

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

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

func (*ApplicationSecurityGroupsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ApplicationSecurityGroupsDeleteFuture

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

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

func (*ApplicationSecurityGroupsDeleteFuture) UnmarshalJSON

func (future *ApplicationSecurityGroupsDeleteFuture) 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 - The authorization use status. Possible values include: 'Available', 'InUse'
	AuthorizationUseStatus AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the authorization resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AuthorizationPropertiesFormat properties of ExpressRouteCircuitAuthorization.

func (AuthorizationPropertiesFormat) MarshalJSON

func (apf AuthorizationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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 AutoApprovedPrivateLinkService

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

AutoApprovedPrivateLinkService the information of an AutoApprovedPrivateLinkService.

type AutoApprovedPrivateLinkServicesResult

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

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

func (AutoApprovedPrivateLinkServicesResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (AutoApprovedPrivateLinkServicesResult) MarshalJSON

func (aaplsr AutoApprovedPrivateLinkServicesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoApprovedPrivateLinkServicesResult.

type AutoApprovedPrivateLinkServicesResultIterator

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

AutoApprovedPrivateLinkServicesResultIterator provides access to a complete listing of AutoApprovedPrivateLinkService values.

func NewAutoApprovedPrivateLinkServicesResultIterator

func NewAutoApprovedPrivateLinkServicesResultIterator(page AutoApprovedPrivateLinkServicesResultPage) AutoApprovedPrivateLinkServicesResultIterator

Creates a new instance of the AutoApprovedPrivateLinkServicesResultIterator type.

func (*AutoApprovedPrivateLinkServicesResultIterator) Next

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

func (*AutoApprovedPrivateLinkServicesResultIterator) NextWithContext

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

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

func (AutoApprovedPrivateLinkServicesResultIterator) NotDone

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

func (AutoApprovedPrivateLinkServicesResultIterator) Response

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

func (AutoApprovedPrivateLinkServicesResultIterator) Value

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

type AutoApprovedPrivateLinkServicesResultPage

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

AutoApprovedPrivateLinkServicesResultPage contains a page of AutoApprovedPrivateLinkService values.

func NewAutoApprovedPrivateLinkServicesResultPage

Creates a new instance of the AutoApprovedPrivateLinkServicesResultPage type.

func (*AutoApprovedPrivateLinkServicesResultPage) Next

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

func (*AutoApprovedPrivateLinkServicesResultPage) NextWithContext

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

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

func (AutoApprovedPrivateLinkServicesResultPage) NotDone

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

func (AutoApprovedPrivateLinkServicesResultPage) Response

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

func (AutoApprovedPrivateLinkServicesResultPage) Values

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

type Availability

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

Availability availability of the metric.

type AvailableDelegation

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

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

type AvailableDelegationsClient

type AvailableDelegationsClient struct {
	BaseClient
}

AvailableDelegationsClient is the network Client

func NewAvailableDelegationsClient

func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsClient

NewAvailableDelegationsClient creates an instance of the AvailableDelegationsClient client.

func NewAvailableDelegationsClientWithBaseURI

func NewAvailableDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableDelegationsClient

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

func (AvailableDelegationsClient) List

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

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

func (AvailableDelegationsClient) ListComplete

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

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

func (AvailableDelegationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailableDelegationsClient) ListResponder

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

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

func (AvailableDelegationsClient) ListSender

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

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

type AvailableDelegationsResult

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

AvailableDelegationsResult an array of available delegations.

func (AvailableDelegationsResult) IsEmpty

func (adr AvailableDelegationsResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AvailableDelegationsResult) MarshalJSON

func (adr AvailableDelegationsResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailableDelegationsResult.

type AvailableDelegationsResultIterator

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

AvailableDelegationsResultIterator provides access to a complete listing of AvailableDelegation values.

func NewAvailableDelegationsResultIterator

func NewAvailableDelegationsResultIterator(page AvailableDelegationsResultPage) AvailableDelegationsResultIterator

Creates a new instance of the AvailableDelegationsResultIterator type.

func (*AvailableDelegationsResultIterator) Next

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

func (*AvailableDelegationsResultIterator) NextWithContext

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

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

func (AvailableDelegationsResultIterator) NotDone

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

func (AvailableDelegationsResultIterator) Response

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

func (AvailableDelegationsResultIterator) Value

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

type AvailableDelegationsResultPage

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

AvailableDelegationsResultPage contains a page of AvailableDelegation values.

func NewAvailableDelegationsResultPage

Creates a new instance of the AvailableDelegationsResultPage type.

func (*AvailableDelegationsResultPage) Next

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

func (*AvailableDelegationsResultPage) NextWithContext

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

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

func (AvailableDelegationsResultPage) NotDone

func (page AvailableDelegationsResultPage) NotDone() bool

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

func (AvailableDelegationsResultPage) Response

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

func (AvailableDelegationsResultPage) Values

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

type AvailableEndpointServicesClient

type AvailableEndpointServicesClient struct {
	BaseClient
}

AvailableEndpointServicesClient is the network Client

func NewAvailableEndpointServicesClient

func NewAvailableEndpointServicesClient(subscriptionID string) AvailableEndpointServicesClient

NewAvailableEndpointServicesClient creates an instance of the AvailableEndpointServicesClient client.

func NewAvailableEndpointServicesClientWithBaseURI

func NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionID string) AvailableEndpointServicesClient

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

func (AvailableEndpointServicesClient) List

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

func (AvailableEndpointServicesClient) ListComplete

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

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

func (AvailableEndpointServicesClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailableEndpointServicesClient) ListResponder

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

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

func (AvailableEndpointServicesClient) ListSender

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

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

type AvailablePrivateEndpointType

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

AvailablePrivateEndpointType the information of an AvailablePrivateEndpointType.

type AvailablePrivateEndpointTypesClient

type AvailablePrivateEndpointTypesClient struct {
	BaseClient
}

AvailablePrivateEndpointTypesClient is the network Client

func NewAvailablePrivateEndpointTypesClient

func NewAvailablePrivateEndpointTypesClient(subscriptionID string) AvailablePrivateEndpointTypesClient

NewAvailablePrivateEndpointTypesClient creates an instance of the AvailablePrivateEndpointTypesClient client.

func NewAvailablePrivateEndpointTypesClientWithBaseURI

func NewAvailablePrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailablePrivateEndpointTypesClient

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

func (AvailablePrivateEndpointTypesClient) List

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

func (AvailablePrivateEndpointTypesClient) ListByResourceGroup

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

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

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupComplete

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

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

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupResponder

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

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

func (AvailablePrivateEndpointTypesClient) ListByResourceGroupSender

func (client AvailablePrivateEndpointTypesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (AvailablePrivateEndpointTypesClient) ListComplete

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

func (AvailablePrivateEndpointTypesClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailablePrivateEndpointTypesClient) ListResponder

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

func (AvailablePrivateEndpointTypesClient) ListSender

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

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

type AvailablePrivateEndpointTypesResult

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

AvailablePrivateEndpointTypesResult an array of available PrivateEndpoint types.

func (AvailablePrivateEndpointTypesResult) IsEmpty

func (apetr AvailablePrivateEndpointTypesResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AvailablePrivateEndpointTypesResult) MarshalJSON

func (apetr AvailablePrivateEndpointTypesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailablePrivateEndpointTypesResult.

type AvailablePrivateEndpointTypesResultIterator

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

AvailablePrivateEndpointTypesResultIterator provides access to a complete listing of AvailablePrivateEndpointType values.

func NewAvailablePrivateEndpointTypesResultIterator

func NewAvailablePrivateEndpointTypesResultIterator(page AvailablePrivateEndpointTypesResultPage) AvailablePrivateEndpointTypesResultIterator

Creates a new instance of the AvailablePrivateEndpointTypesResultIterator type.

func (*AvailablePrivateEndpointTypesResultIterator) Next

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

func (*AvailablePrivateEndpointTypesResultIterator) NextWithContext

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

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

func (AvailablePrivateEndpointTypesResultIterator) NotDone

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

func (AvailablePrivateEndpointTypesResultIterator) Response

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

func (AvailablePrivateEndpointTypesResultIterator) Value

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

type AvailablePrivateEndpointTypesResultPage

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

AvailablePrivateEndpointTypesResultPage contains a page of AvailablePrivateEndpointType values.

func NewAvailablePrivateEndpointTypesResultPage

Creates a new instance of the AvailablePrivateEndpointTypesResultPage type.

func (*AvailablePrivateEndpointTypesResultPage) Next

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

func (*AvailablePrivateEndpointTypesResultPage) NextWithContext

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

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

func (AvailablePrivateEndpointTypesResultPage) NotDone

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

func (AvailablePrivateEndpointTypesResultPage) Response

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

func (AvailablePrivateEndpointTypesResultPage) Values

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

type AvailableProvidersList

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

AvailableProvidersList list of available countries with details.

type AvailableProvidersListCity

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

AvailableProvidersListCity city or town details.

type AvailableProvidersListCountry

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

AvailableProvidersListCountry country details.

type AvailableProvidersListParameters

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

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

type AvailableProvidersListState

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

AvailableProvidersListState state details.

type AvailableResourceGroupDelegationsClient

type AvailableResourceGroupDelegationsClient struct {
	BaseClient
}

AvailableResourceGroupDelegationsClient is the network Client

func NewAvailableResourceGroupDelegationsClient

func NewAvailableResourceGroupDelegationsClient(subscriptionID string) AvailableResourceGroupDelegationsClient

NewAvailableResourceGroupDelegationsClient creates an instance of the AvailableResourceGroupDelegationsClient client.

func NewAvailableResourceGroupDelegationsClientWithBaseURI

func NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient

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

func (AvailableResourceGroupDelegationsClient) List

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

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

func (AvailableResourceGroupDelegationsClient) ListComplete

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

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

func (AvailableResourceGroupDelegationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailableResourceGroupDelegationsClient) ListResponder

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

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

func (AvailableResourceGroupDelegationsClient) ListSender

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

type AvailableServiceAlias

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

AvailableServiceAlias the available service alias.

type AvailableServiceAliasesClient

type AvailableServiceAliasesClient struct {
	BaseClient
}

AvailableServiceAliasesClient is the network Client

func NewAvailableServiceAliasesClient

func NewAvailableServiceAliasesClient(subscriptionID string) AvailableServiceAliasesClient

NewAvailableServiceAliasesClient creates an instance of the AvailableServiceAliasesClient client.

func NewAvailableServiceAliasesClientWithBaseURI

func NewAvailableServiceAliasesClientWithBaseURI(baseURI string, subscriptionID string) AvailableServiceAliasesClient

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

func (AvailableServiceAliasesClient) List

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

func (AvailableServiceAliasesClient) ListByResourceGroup

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

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

func (AvailableServiceAliasesClient) ListByResourceGroupComplete

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

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

func (AvailableServiceAliasesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AvailableServiceAliasesClient) ListByResourceGroupResponder

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

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

func (AvailableServiceAliasesClient) ListByResourceGroupSender

func (client AvailableServiceAliasesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (AvailableServiceAliasesClient) ListComplete

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

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

func (AvailableServiceAliasesClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailableServiceAliasesClient) ListResponder

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

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

func (AvailableServiceAliasesClient) ListSender

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

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

type AvailableServiceAliasesResult

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

AvailableServiceAliasesResult an array of available service aliases.

func (AvailableServiceAliasesResult) IsEmpty

func (asar AvailableServiceAliasesResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AvailableServiceAliasesResult) MarshalJSON

func (asar AvailableServiceAliasesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailableServiceAliasesResult.

type AvailableServiceAliasesResultIterator

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

AvailableServiceAliasesResultIterator provides access to a complete listing of AvailableServiceAlias values.

func NewAvailableServiceAliasesResultIterator

func NewAvailableServiceAliasesResultIterator(page AvailableServiceAliasesResultPage) AvailableServiceAliasesResultIterator

Creates a new instance of the AvailableServiceAliasesResultIterator type.

func (*AvailableServiceAliasesResultIterator) Next

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

func (*AvailableServiceAliasesResultIterator) NextWithContext

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

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

func (AvailableServiceAliasesResultIterator) NotDone

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

func (AvailableServiceAliasesResultIterator) Response

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

func (AvailableServiceAliasesResultIterator) Value

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

type AvailableServiceAliasesResultPage

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

AvailableServiceAliasesResultPage contains a page of AvailableServiceAlias values.

func NewAvailableServiceAliasesResultPage

Creates a new instance of the AvailableServiceAliasesResultPage type.

func (*AvailableServiceAliasesResultPage) Next

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

func (*AvailableServiceAliasesResultPage) NextWithContext

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

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

func (AvailableServiceAliasesResultPage) NotDone

func (page AvailableServiceAliasesResultPage) NotDone() bool

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

func (AvailableServiceAliasesResultPage) Response

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

func (AvailableServiceAliasesResultPage) Values

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

type AzureAsyncOperationResult

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

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

type AzureFirewall

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

AzureFirewall azure Firewall resource.

func (AzureFirewall) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureFirewall.

func (*AzureFirewall) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AzureFirewall struct.

type AzureFirewallApplicationRule

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

AzureFirewallApplicationRule properties of an application rule.

type AzureFirewallApplicationRuleCollection

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

AzureFirewallApplicationRuleCollection application rule collection resource.

func (AzureFirewallApplicationRuleCollection) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureFirewallApplicationRuleCollection.

func (*AzureFirewallApplicationRuleCollection) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AzureFirewallApplicationRuleCollection struct.

type AzureFirewallApplicationRuleCollectionPropertiesFormat

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

AzureFirewallApplicationRuleCollectionPropertiesFormat properties of the application rule collection.

func (AzureFirewallApplicationRuleCollectionPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for AzureFirewallApplicationRuleCollectionPropertiesFormat.

type AzureFirewallApplicationRuleProtocol

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

AzureFirewallApplicationRuleProtocol properties of the application rule protocol.

type AzureFirewallApplicationRuleProtocolType

type AzureFirewallApplicationRuleProtocolType string

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

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

func PossibleAzureFirewallApplicationRuleProtocolTypeValues

func PossibleAzureFirewallApplicationRuleProtocolTypeValues() []AzureFirewallApplicationRuleProtocolType

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

type AzureFirewallFqdnTag

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

AzureFirewallFqdnTag azure Firewall FQDN Tag Resource.

func (AzureFirewallFqdnTag) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureFirewallFqdnTag.

func (*AzureFirewallFqdnTag) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AzureFirewallFqdnTag struct.

type AzureFirewallFqdnTagListResult

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

AzureFirewallFqdnTagListResult response for ListAzureFirewallFqdnTags API service call.

func (AzureFirewallFqdnTagListResult) IsEmpty

func (afftlr AzureFirewallFqdnTagListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureFirewallFqdnTagListResultIterator

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

AzureFirewallFqdnTagListResultIterator provides access to a complete listing of AzureFirewallFqdnTag values.

func NewAzureFirewallFqdnTagListResultIterator

func NewAzureFirewallFqdnTagListResultIterator(page AzureFirewallFqdnTagListResultPage) AzureFirewallFqdnTagListResultIterator

Creates a new instance of the AzureFirewallFqdnTagListResultIterator type.

func (*AzureFirewallFqdnTagListResultIterator) Next

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

func (*AzureFirewallFqdnTagListResultIterator) NextWithContext

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

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

func (AzureFirewallFqdnTagListResultIterator) NotDone

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

func (AzureFirewallFqdnTagListResultIterator) Response

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

func (AzureFirewallFqdnTagListResultIterator) Value

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

type AzureFirewallFqdnTagListResultPage

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

AzureFirewallFqdnTagListResultPage contains a page of AzureFirewallFqdnTag values.

func NewAzureFirewallFqdnTagListResultPage

Creates a new instance of the AzureFirewallFqdnTagListResultPage type.

func (*AzureFirewallFqdnTagListResultPage) Next

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

func (*AzureFirewallFqdnTagListResultPage) NextWithContext

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

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

func (AzureFirewallFqdnTagListResultPage) NotDone

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

func (AzureFirewallFqdnTagListResultPage) Response

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

func (AzureFirewallFqdnTagListResultPage) Values

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

type AzureFirewallFqdnTagPropertiesFormat

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

AzureFirewallFqdnTagPropertiesFormat azure Firewall FQDN Tag Properties.

func (AzureFirewallFqdnTagPropertiesFormat) MarshalJSON

func (afftpf AzureFirewallFqdnTagPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallFqdnTagPropertiesFormat.

type AzureFirewallFqdnTagsClient

type AzureFirewallFqdnTagsClient struct {
	BaseClient
}

AzureFirewallFqdnTagsClient is the network Client

func NewAzureFirewallFqdnTagsClient

func NewAzureFirewallFqdnTagsClient(subscriptionID string) AzureFirewallFqdnTagsClient

NewAzureFirewallFqdnTagsClient creates an instance of the AzureFirewallFqdnTagsClient client.

func NewAzureFirewallFqdnTagsClientWithBaseURI

func NewAzureFirewallFqdnTagsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallFqdnTagsClient

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

func (AzureFirewallFqdnTagsClient) ListAll

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

func (AzureFirewallFqdnTagsClient) ListAllComplete

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

func (AzureFirewallFqdnTagsClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (AzureFirewallFqdnTagsClient) ListAllResponder

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

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

func (AzureFirewallFqdnTagsClient) ListAllSender

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

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

type AzureFirewallIPConfiguration

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

AzureFirewallIPConfiguration IP configuration of an Azure Firewall.

func (AzureFirewallIPConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureFirewallIPConfiguration.

func (*AzureFirewallIPConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AzureFirewallIPConfiguration struct.

type AzureFirewallIPConfigurationPropertiesFormat

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

AzureFirewallIPConfigurationPropertiesFormat properties of IP configuration of an Azure Firewall.

func (AzureFirewallIPConfigurationPropertiesFormat) MarshalJSON

func (aficpf AzureFirewallIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallIPConfigurationPropertiesFormat.

type AzureFirewallIPGroups

type AzureFirewallIPGroups struct {
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// ChangeNumber - READ-ONLY; The iteration number.
	ChangeNumber *string `json:"changeNumber,omitempty"`
}

AzureFirewallIPGroups ipGroups associated with azure firewall.

func (AzureFirewallIPGroups) MarshalJSON

func (afig AzureFirewallIPGroups) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallIPGroups.

type AzureFirewallListResult

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

AzureFirewallListResult response for ListAzureFirewalls API service call.

func (AzureFirewallListResult) IsEmpty

func (aflr AzureFirewallListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AzureFirewallListResultIterator

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

AzureFirewallListResultIterator provides access to a complete listing of AzureFirewall values.

func NewAzureFirewallListResultIterator

func NewAzureFirewallListResultIterator(page AzureFirewallListResultPage) AzureFirewallListResultIterator

Creates a new instance of the AzureFirewallListResultIterator type.

func (*AzureFirewallListResultIterator) Next

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

func (*AzureFirewallListResultIterator) NextWithContext

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

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

func (AzureFirewallListResultIterator) NotDone

func (iter AzureFirewallListResultIterator) NotDone() bool

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

func (AzureFirewallListResultIterator) Response

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

func (AzureFirewallListResultIterator) Value

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

type AzureFirewallListResultPage

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

AzureFirewallListResultPage contains a page of AzureFirewall values.

func NewAzureFirewallListResultPage

Creates a new instance of the AzureFirewallListResultPage type.

func (*AzureFirewallListResultPage) Next

func (page *AzureFirewallListResultPage) Next() error

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

func (*AzureFirewallListResultPage) NextWithContext

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

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

func (AzureFirewallListResultPage) NotDone

func (page AzureFirewallListResultPage) NotDone() bool

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

func (AzureFirewallListResultPage) Response

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

func (AzureFirewallListResultPage) Values

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

type AzureFirewallNatRCAction

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

AzureFirewallNatRCAction azureFirewall NAT Rule Collection Action.

type AzureFirewallNatRCActionType

type AzureFirewallNatRCActionType string

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

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

func PossibleAzureFirewallNatRCActionTypeValues

func PossibleAzureFirewallNatRCActionTypeValues() []AzureFirewallNatRCActionType

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

type AzureFirewallNatRule

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

AzureFirewallNatRule properties of a NAT rule.

type AzureFirewallNatRuleCollection

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

AzureFirewallNatRuleCollection NAT rule collection resource.

func (AzureFirewallNatRuleCollection) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureFirewallNatRuleCollection.

func (*AzureFirewallNatRuleCollection) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AzureFirewallNatRuleCollection struct.

type AzureFirewallNatRuleCollectionProperties

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

AzureFirewallNatRuleCollectionProperties properties of the NAT rule collection.

func (AzureFirewallNatRuleCollectionProperties) MarshalJSON

func (afnrcp AzureFirewallNatRuleCollectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallNatRuleCollectionProperties.

type AzureFirewallNetworkRule

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

AzureFirewallNetworkRule properties of the network rule.

type AzureFirewallNetworkRuleCollection

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

AzureFirewallNetworkRuleCollection network rule collection resource.

func (AzureFirewallNetworkRuleCollection) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureFirewallNetworkRuleCollection.

func (*AzureFirewallNetworkRuleCollection) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for AzureFirewallNetworkRuleCollection struct.

type AzureFirewallNetworkRuleCollectionPropertiesFormat

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

AzureFirewallNetworkRuleCollectionPropertiesFormat properties of the network rule collection.

func (AzureFirewallNetworkRuleCollectionPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for AzureFirewallNetworkRuleCollectionPropertiesFormat.

type AzureFirewallNetworkRuleProtocol

type AzureFirewallNetworkRuleProtocol string

AzureFirewallNetworkRuleProtocol enumerates the values for azure firewall network rule protocol.

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

func PossibleAzureFirewallNetworkRuleProtocolValues

func PossibleAzureFirewallNetworkRuleProtocolValues() []AzureFirewallNetworkRuleProtocol

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

type AzureFirewallPropertiesFormat

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

AzureFirewallPropertiesFormat properties of the Azure Firewall.

func (AzureFirewallPropertiesFormat) MarshalJSON

func (afpf AzureFirewallPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFirewallPropertiesFormat.

type AzureFirewallPublicIPAddress

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

AzureFirewallPublicIPAddress public IP Address associated with azure firewall.

type AzureFirewallRCAction

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

AzureFirewallRCAction properties of the AzureFirewallRCAction.

type AzureFirewallRCActionType

type AzureFirewallRCActionType string

AzureFirewallRCActionType enumerates the values for azure firewall rc action type.

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

func PossibleAzureFirewallRCActionTypeValues

func PossibleAzureFirewallRCActionTypeValues() []AzureFirewallRCActionType

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

type AzureFirewallSku

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

AzureFirewallSku SKU of an Azure Firewall.

type AzureFirewallSkuName

type AzureFirewallSkuName string

AzureFirewallSkuName enumerates the values for azure firewall sku name.

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

func PossibleAzureFirewallSkuNameValues

func PossibleAzureFirewallSkuNameValues() []AzureFirewallSkuName

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

type AzureFirewallSkuTier

type AzureFirewallSkuTier string

AzureFirewallSkuTier enumerates the values for azure firewall sku tier.

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

func PossibleAzureFirewallSkuTierValues

func PossibleAzureFirewallSkuTierValues() []AzureFirewallSkuTier

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

type AzureFirewallThreatIntelMode

type AzureFirewallThreatIntelMode string

AzureFirewallThreatIntelMode enumerates the values for azure firewall threat intel mode.

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

func PossibleAzureFirewallThreatIntelModeValues

func PossibleAzureFirewallThreatIntelModeValues() []AzureFirewallThreatIntelMode

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

type AzureFirewallsClient

type AzureFirewallsClient struct {
	BaseClient
}

AzureFirewallsClient is the network Client

func NewAzureFirewallsClient

func NewAzureFirewallsClient(subscriptionID string) AzureFirewallsClient

NewAzureFirewallsClient creates an instance of the AzureFirewallsClient client.

func NewAzureFirewallsClientWithBaseURI

func NewAzureFirewallsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallsClient

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

func (AzureFirewallsClient) CreateOrUpdate

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

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

func (AzureFirewallsClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AzureFirewallsClient) CreateOrUpdateResponder

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

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

func (AzureFirewallsClient) CreateOrUpdateSender

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

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

func (AzureFirewallsClient) Delete

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

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

func (AzureFirewallsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AzureFirewallsClient) DeleteResponder

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

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

func (AzureFirewallsClient) DeleteSender

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

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

func (AzureFirewallsClient) Get

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

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

func (AzureFirewallsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AzureFirewallsClient) GetResponder

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

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

func (AzureFirewallsClient) GetSender

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

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

func (AzureFirewallsClient) List

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

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

func (AzureFirewallsClient) ListAll

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

ListAll gets all the Azure Firewalls in a subscription.

func (AzureFirewallsClient) ListAllComplete

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

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

func (AzureFirewallsClient) ListAllPreparer

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

ListAllPreparer prepares the ListAll request.

func (AzureFirewallsClient) ListAllResponder

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

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

func (AzureFirewallsClient) ListAllSender

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

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

func (AzureFirewallsClient) ListComplete

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

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

func (AzureFirewallsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AzureFirewallsClient) ListResponder

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

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

func (AzureFirewallsClient) ListSender

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

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

func (AzureFirewallsClient) UpdateTags

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

UpdateTags updates tags of an Azure Firewall resource. Parameters: resourceGroupName - the name of the resource group. azureFirewallName - the name of the Azure Firewall. parameters - parameters supplied to update azure firewall tags.

func (AzureFirewallsClient) UpdateTagsPreparer

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

UpdateTagsPreparer prepares the UpdateTags request.

func (AzureFirewallsClient) UpdateTagsResponder

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

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

func (AzureFirewallsClient) UpdateTagsSender

func (client AzureFirewallsClient) UpdateTagsSender(req *http.Request) (future AzureFirewallsUpdateTagsFuture, err error)

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

type AzureFirewallsCreateOrUpdateFuture

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

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

func (*AzureFirewallsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AzureFirewallsDeleteFuture

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

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

func (*AzureFirewallsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AzureFirewallsUpdateTagsFuture

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

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

func (*AzureFirewallsUpdateTagsFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AzureReachabilityReport

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

AzureReachabilityReport azure reachability report details.

type AzureReachabilityReportItem

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

AzureReachabilityReportItem azure reachability report details for a given provider location.

type AzureReachabilityReportLatencyInfo

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

AzureReachabilityReportLatencyInfo details on latency for a time series.

type AzureReachabilityReportLocation

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

AzureReachabilityReportLocation parameters that define a geographic location.

type AzureReachabilityReportParameters

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

AzureReachabilityReportParameters geographic and time constraints for Azure reachability report.

type BGPCommunity

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

BGPCommunity contains bgp community information offered in Service Community resources.

type BackendAddressPool

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

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

BackendAddressPoolPropertiesFormat properties of the backend address pool.

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.

func (client BaseClient) DeleteBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result DeleteBastionShareableLinkFuture, err error)

DeleteBastionShareableLink deletes the Bastion Shareable Links for all the VMs specified in the request. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. bslRequest - post request for all the Bastion Shareable Link endpoints.

func (BaseClient) DeleteBastionShareableLinkPreparer

func (client BaseClient) DeleteBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error)

DeleteBastionShareableLinkPreparer prepares the DeleteBastionShareableLink request.

func (BaseClient) DeleteBastionShareableLinkResponder

func (client BaseClient) DeleteBastionShareableLinkResponder(resp *http.Response) (result autorest.Response, err error)

DeleteBastionShareableLinkResponder handles the response to the DeleteBastionShareableLink request. The method always closes the http.Response Body.

func (BaseClient) DeleteBastionShareableLinkSender

func (client BaseClient) DeleteBastionShareableLinkSender(req *http.Request) (future DeleteBastionShareableLinkFuture, err error)

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

func (BaseClient) DisconnectActiveSessions

func (client BaseClient) DisconnectActiveSessions(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (result BastionSessionDeleteResultPage, err error)

DisconnectActiveSessions returns the list of currently active sessions on the Bastion. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. sessionIds - the list of sessionids to disconnect.

func (BaseClient) DisconnectActiveSessionsComplete

func (client BaseClient) DisconnectActiveSessionsComplete(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (result BastionSessionDeleteResultIterator, err error)

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

func (BaseClient) DisconnectActiveSessionsPreparer

func (client BaseClient) DisconnectActiveSessionsPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, sessionIds SessionIds) (*http.Request, error)

DisconnectActiveSessionsPreparer prepares the DisconnectActiveSessions request.

func (BaseClient) DisconnectActiveSessionsResponder

func (client BaseClient) DisconnectActiveSessionsResponder(resp *http.Response) (result BastionSessionDeleteResult, err error)

DisconnectActiveSessionsResponder handles the response to the DisconnectActiveSessions request. The method always closes the http.Response Body.

func (BaseClient) DisconnectActiveSessionsSender

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

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

func (BaseClient) Generatevirtualwanvpnserverconfigurationvpnprofile

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

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

func (BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer

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

GeneratevirtualwanvpnserverconfigurationvpnprofilePreparer prepares the Generatevirtualwanvpnserverconfigurationvpnprofile request.

func (BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileResponder

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

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

func (BaseClient) GeneratevirtualwanvpnserverconfigurationvpnprofileSender

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

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

func (BaseClient) GetActiveSessions

func (client BaseClient) GetActiveSessions(ctx context.Context, resourceGroupName string, bastionHostName string) (result GetActiveSessionsFuture, err error)

GetActiveSessions returns the list of currently active sessions on the Bastion. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host.

func (BaseClient) GetActiveSessionsComplete

func (client BaseClient) GetActiveSessionsComplete(ctx context.Context, resourceGroupName string, bastionHostName string) (result GetActiveSessionsAllFuture, err error)

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

func (BaseClient) GetActiveSessionsPreparer

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

GetActiveSessionsPreparer prepares the GetActiveSessions request.

func (BaseClient) GetActiveSessionsResponder

func (client BaseClient) GetActiveSessionsResponder(resp *http.Response) (result BastionActiveSessionListResultPage, err error)

GetActiveSessionsResponder handles the response to the GetActiveSessions request. The method always closes the http.Response Body.

func (BaseClient) GetActiveSessionsSender

func (client BaseClient) GetActiveSessionsSender(req *http.Request) (future GetActiveSessionsFuture, err error)

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

func (client BaseClient) GetBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result BastionShareableLinkListResultPage, err error)

GetBastionShareableLink return the Bastion Shareable Links for all the VMs specified in the request. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. bslRequest - post request for all the Bastion Shareable Link endpoints.

func (BaseClient) GetBastionShareableLinkComplete

func (client BaseClient) GetBastionShareableLinkComplete(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result BastionShareableLinkListResultIterator, err error)

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

func (BaseClient) GetBastionShareableLinkPreparer

func (client BaseClient) GetBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error)

GetBastionShareableLinkPreparer prepares the GetBastionShareableLink request.

func (BaseClient) GetBastionShareableLinkResponder

func (client BaseClient) GetBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResult, err error)

GetBastionShareableLinkResponder handles the response to the GetBastionShareableLink request. The method always closes the http.Response Body.

func (BaseClient) GetBastionShareableLinkSender

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

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

func (client BaseClient) PutBastionShareableLink(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result PutBastionShareableLinkFuture, err error)

PutBastionShareableLink creates a Bastion Shareable Links for all the VMs specified in the request. Parameters: resourceGroupName - the name of the resource group. bastionHostName - the name of the Bastion Host. bslRequest - post request for all the Bastion Shareable Link endpoints.

func (BaseClient) PutBastionShareableLinkComplete

func (client BaseClient) PutBastionShareableLinkComplete(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (result PutBastionShareableLinkAllFuture, err error)

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

func (BaseClient) PutBastionShareableLinkPreparer

func (client BaseClient) PutBastionShareableLinkPreparer(ctx context.Context, resourceGroupName string, bastionHostName string, bslRequest BastionShareableLinkListRequest) (*http.Request, error)

PutBastionShareableLinkPreparer prepares the PutBastionShareableLink request.

func (BaseClient) PutBastionShareableLinkResponder

func (client BaseClient) PutBastionShareableLinkResponder(resp *http.Response) (result BastionShareableLinkListResultPage, err error)

PutBastionShareableLinkResponder handles the response to the PutBastionShareableLink request. The method always closes the http.Response Body.

func (BaseClient) PutBastionShareableLinkSender

func (client BaseClient) PutBastionShareableLinkSender(req *http.Request) (future PutBastionShareableLinkFuture, err error)

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

func (BaseClient) SupportedSecurityProviders

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

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

func (BaseClient) SupportedSecurityProvidersPreparer

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

SupportedSecurityProvidersPreparer prepares the SupportedSecurityProviders request.

func (BaseClient) SupportedSecurityProvidersResponder

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

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

func (BaseClient) SupportedSecurityProvidersSender

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

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

type BasicFirewallPolicyRule

type BasicFirewallPolicyRule interface {
	AsApplicationRule() (*ApplicationRule, bool)
	AsNatRule() (*NatRule, bool)
	AsRule() (*Rule, bool)
	AsFirewallPolicyRule() (*FirewallPolicyRule, bool)
}

BasicFirewallPolicyRule properties of a rule.

type BasicFirewallPolicyRuleCollection

type BasicFirewallPolicyRuleCollection interface {
	AsFirewallPolicyNatRuleCollection() (*FirewallPolicyNatRuleCollection, bool)
	AsFirewallPolicyFilterRuleCollection() (*FirewallPolicyFilterRuleCollection, bool)
	AsFirewallPolicyRuleCollection() (*FirewallPolicyRuleCollection, bool)
}

BasicFirewallPolicyRuleCollection properties of the rule collection.

type BastionActiveSession

type BastionActiveSession struct {
	// SessionID - READ-ONLY; A unique id for the session.
	SessionID *string `json:"sessionId,omitempty"`
	// StartTime - READ-ONLY; The time when the session started.
	StartTime interface{} `json:"startTime,omitempty"`
	// TargetSubscriptionID - READ-ONLY; The subscription id for the target virtual machine.
	TargetSubscriptionID *string `json:"targetSubscriptionId,omitempty"`
	// ResourceType - READ-ONLY; The type of the resource.
	ResourceType *string `json:"resourceType,omitempty"`
	// TargetHostName - READ-ONLY; The host name of the target.
	TargetHostName *string `json:"targetHostName,omitempty"`
	// TargetResourceGroup - READ-ONLY; The resource group of the target.
	TargetResourceGroup *string `json:"targetResourceGroup,omitempty"`
	// UserName - READ-ONLY; The user name who is active on this session.
	UserName *string `json:"userName,omitempty"`
	// TargetIPAddress - READ-ONLY; The IP Address of the target.
	TargetIPAddress *string `json:"targetIpAddress,omitempty"`
	// Protocol - READ-ONLY; The protocol used to connect to the target. Possible values include: 'SSH', 'RDP'
	Protocol BastionConnectProtocol `json:"protocol,omitempty"`
	// TargetResourceID - READ-ONLY; The resource id of the target.
	TargetResourceID *string `json:"targetResourceId,omitempty"`
	// SessionDurationInMins - READ-ONLY; Duration in mins the session has been active.
	SessionDurationInMins *float64 `json:"sessionDurationInMins,omitempty"`
}

BastionActiveSession the session detail for a target.

func (BastionActiveSession) MarshalJSON

func (bas BastionActiveSession) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionActiveSession.

type BastionActiveSessionListResult

type BastionActiveSessionListResult struct {
	autorest.Response `json:"-"`
	// Value - List of active sessions on the bastion.
	Value *[]BastionActiveSession `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

BastionActiveSessionListResult response for GetActiveSessions.

func (BastionActiveSessionListResult) IsEmpty

func (baslr BastionActiveSessionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BastionActiveSessionListResultIterator

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

BastionActiveSessionListResultIterator provides access to a complete listing of BastionActiveSession values.

func NewBastionActiveSessionListResultIterator

func NewBastionActiveSessionListResultIterator(page BastionActiveSessionListResultPage) BastionActiveSessionListResultIterator

Creates a new instance of the BastionActiveSessionListResultIterator type.

func (*BastionActiveSessionListResultIterator) 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 (*BastionActiveSessionListResultIterator) NextWithContext

func (iter *BastionActiveSessionListResultIterator) 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 (BastionActiveSessionListResultIterator) NotDone

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

func (BastionActiveSessionListResultIterator) Response

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

func (BastionActiveSessionListResultIterator) Value

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

type BastionActiveSessionListResultPage

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

BastionActiveSessionListResultPage contains a page of BastionActiveSession values.

func NewBastionActiveSessionListResultPage

Creates a new instance of the BastionActiveSessionListResultPage type.

func (*BastionActiveSessionListResultPage) 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 (*BastionActiveSessionListResultPage) NextWithContext

func (page *BastionActiveSessionListResultPage) 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 (BastionActiveSessionListResultPage) NotDone

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

func (BastionActiveSessionListResultPage) Response

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

func (BastionActiveSessionListResultPage) Values

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

type BastionConnectProtocol

type BastionConnectProtocol string

BastionConnectProtocol enumerates the values for bastion connect protocol.

const (
	// RDP ...
	RDP BastionConnectProtocol = "RDP"
	// SSH ...
	SSH BastionConnectProtocol = "SSH"
)

func PossibleBastionConnectProtocolValues

func PossibleBastionConnectProtocolValues() []BastionConnectProtocol

PossibleBastionConnectProtocolValues returns an array of possible values for the BastionConnectProtocol const type.

type BastionHost

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

BastionHost bastion Host resource.

func (BastionHost) MarshalJSON

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

MarshalJSON is the custom marshaler for BastionHost.

func (*BastionHost) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BastionHost struct.

type BastionHostIPConfiguration

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

BastionHostIPConfiguration IP configuration of an Bastion Host.

func (BastionHostIPConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for BastionHostIPConfiguration.

func (*BastionHostIPConfiguration) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BastionHostIPConfiguration struct.

type BastionHostIPConfigurationPropertiesFormat

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

BastionHostIPConfigurationPropertiesFormat properties of IP configuration of an Bastion Host.

func (BastionHostIPConfigurationPropertiesFormat) MarshalJSON

func (bhicpf BastionHostIPConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionHostIPConfigurationPropertiesFormat.

type BastionHostListResult

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

BastionHostListResult response for ListBastionHosts API service call.

func (BastionHostListResult) IsEmpty

func (bhlr BastionHostListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BastionHostListResultIterator

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

BastionHostListResultIterator provides access to a complete listing of BastionHost values.

func NewBastionHostListResultIterator

func NewBastionHostListResultIterator(page BastionHostListResultPage) BastionHostListResultIterator

Creates a new instance of the BastionHostListResultIterator type.

func (*BastionHostListResultIterator) Next

func (iter *BastionHostListResultIterator) Next() error

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

func (*BastionHostListResultIterator) NextWithContext

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

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

func (BastionHostListResultIterator) NotDone

func (iter BastionHostListResultIterator) NotDone() bool

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

func (BastionHostListResultIterator) Response

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

func (BastionHostListResultIterator) Value

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

type BastionHostListResultPage

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

BastionHostListResultPage contains a page of BastionHost values.

func NewBastionHostListResultPage

Creates a new instance of the BastionHostListResultPage type.

func (*BastionHostListResultPage) Next

func (page *BastionHostListResultPage) Next() error

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

func (*BastionHostListResultPage) NextWithContext

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

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

func (BastionHostListResultPage) NotDone

func (page BastionHostListResultPage) NotDone() bool

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

func (BastionHostListResultPage) Response

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

func (BastionHostListResultPage) Values

func (page BastionHostListResultPage) Values() []BastionHost

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

type BastionHostPropertiesFormat

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

BastionHostPropertiesFormat properties of the Bastion Host.

func (BastionHostPropertiesFormat) MarshalJSON

func (bhpf BastionHostPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionHostPropertiesFormat.

type BastionHostsClient

type BastionHostsClient struct {
	BaseClient
}

BastionHostsClient is the network Client

func NewBastionHostsClient

func NewBastionHostsClient(subscriptionID string) BastionHostsClient

NewBastionHostsClient creates an instance of the BastionHostsClient client.

func NewBastionHostsClientWithBaseURI

func NewBastionHostsClientWithBaseURI(baseURI string, subscriptionID string) BastionHostsClient

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

func (BastionHostsClient) CreateOrUpdate

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

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

func (BastionHostsClient) CreateOrUpdatePreparer

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BastionHostsClient) CreateOrUpdateResponder

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

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

func (BastionHostsClient) CreateOrUpdateSender

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

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

func (BastionHostsClient) Delete

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

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

func (BastionHostsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (BastionHostsClient) DeleteResponder

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

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

func (BastionHostsClient) DeleteSender

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

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

func (BastionHostsClient) Get

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

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

func (BastionHostsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (BastionHostsClient) GetResponder

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

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

func (BastionHostsClient) GetSender

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

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

func (BastionHostsClient) List

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

List lists all Bastion Hosts in a subscription.

func (BastionHostsClient) ListByResourceGroup

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

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

func (BastionHostsClient) ListByResourceGroupComplete

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

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

func (BastionHostsClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (BastionHostsClient) ListByResourceGroupResponder

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

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

func (BastionHostsClient) ListByResourceGroupSender

func (client BastionHostsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (BastionHostsClient) ListComplete

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

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

func (BastionHostsClient) ListPreparer

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

ListPreparer prepares the List request.

func (BastionHostsClient) ListResponder

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

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

func (BastionHostsClient) ListSender

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

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

type BastionHostsCreateOrUpdateFuture

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

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

func (*BastionHostsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BastionHostsDeleteFuture

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

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

func (*BastionHostsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BastionSessionDeleteResult

type BastionSessionDeleteResult struct {
	autorest.Response `json:"-"`
	// Value - List of sessions with their corresponding state.
	Value *[]BastionSessionState `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

BastionSessionDeleteResult response for DisconnectActiveSessions.

func (BastionSessionDeleteResult) IsEmpty

func (bsdr BastionSessionDeleteResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BastionSessionDeleteResultIterator

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

BastionSessionDeleteResultIterator provides access to a complete listing of BastionSessionState values.

func NewBastionSessionDeleteResultIterator

func NewBastionSessionDeleteResultIterator(page BastionSessionDeleteResultPage) BastionSessionDeleteResultIterator

Creates a new instance of the BastionSessionDeleteResultIterator type.

func (*BastionSessionDeleteResultIterator) 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 (*BastionSessionDeleteResultIterator) NextWithContext

func (iter *BastionSessionDeleteResultIterator) 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 (BastionSessionDeleteResultIterator) NotDone

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

func (BastionSessionDeleteResultIterator) Response

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

func (BastionSessionDeleteResultIterator) Value

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

type BastionSessionDeleteResultPage

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

BastionSessionDeleteResultPage contains a page of BastionSessionState values.

func NewBastionSessionDeleteResultPage

Creates a new instance of the BastionSessionDeleteResultPage type.

func (*BastionSessionDeleteResultPage) 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 (*BastionSessionDeleteResultPage) NextWithContext

func (page *BastionSessionDeleteResultPage) 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 (BastionSessionDeleteResultPage) NotDone

func (page BastionSessionDeleteResultPage) NotDone() bool

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

func (BastionSessionDeleteResultPage) Response

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

func (BastionSessionDeleteResultPage) Values

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

type BastionSessionState

type BastionSessionState struct {
	// SessionID - READ-ONLY; A unique id for the session.
	SessionID *string `json:"sessionId,omitempty"`
	// Message - READ-ONLY; Used for extra information.
	Message *string `json:"message,omitempty"`
	// State - READ-ONLY; The state of the session. Disconnected/Failed/NotFound.
	State *string `json:"state,omitempty"`
}

BastionSessionState the session state detail for a target.

func (BastionSessionState) MarshalJSON

func (bss BastionSessionState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionSessionState.

type BastionShareableLink struct {
	// VM - Reference of the virtual machine resource.
	VM *VM `json:"vm,omitempty"`
	// Bsl - READ-ONLY; The unique Bastion Shareable Link to the virtual machine.
	Bsl *string `json:"bsl,omitempty"`
	// CreatedAt - READ-ONLY; The time when the link was created.
	CreatedAt *string `json:"createdAt,omitempty"`
	// Message - READ-ONLY; Optional field indicating the warning or error message related to the vm in case of partial failure.
	Message *string `json:"message,omitempty"`
}

BastionShareableLink bastion Shareable Link.

func (BastionShareableLink) MarshalJSON

func (bsl BastionShareableLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BastionShareableLink.

type BastionShareableLinkListRequest

type BastionShareableLinkListRequest struct {
	// Vms - List of VM references.
	Vms *[]BastionShareableLink `json:"vms,omitempty"`
}

BastionShareableLinkListRequest post request for all the Bastion Shareable Link endpoints.

type BastionShareableLinkListResult

type BastionShareableLinkListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Bastion Shareable Links for the request.
	Value *[]BastionShareableLink `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

BastionShareableLinkListResult response for all the Bastion Shareable Link endpoints.

func (BastionShareableLinkListResult) IsEmpty

func (bsllr BastionShareableLinkListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BastionShareableLinkListResultIterator

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

BastionShareableLinkListResultIterator provides access to a complete listing of BastionShareableLink values.

func NewBastionShareableLinkListResultIterator

func NewBastionShareableLinkListResultIterator(page BastionShareableLinkListResultPage) BastionShareableLinkListResultIterator

Creates a new instance of the BastionShareableLinkListResultIterator type.

func (*BastionShareableLinkListResultIterator) 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 (*BastionShareableLinkListResultIterator) NextWithContext

func (iter *BastionShareableLinkListResultIterator) 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 (BastionShareableLinkListResultIterator) NotDone

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

func (BastionShareableLinkListResultIterator) Response

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

func (BastionShareableLinkListResultIterator) Value

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

type BastionShareableLinkListResultPage

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

BastionShareableLinkListResultPage contains a page of BastionShareableLink values.

func NewBastionShareableLinkListResultPage

Creates a new instance of the BastionShareableLinkListResultPage type.

func (*BastionShareableLinkListResultPage) 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 (*BastionShareableLinkListResultPage) NextWithContext

func (page *BastionShareableLinkListResultPage) 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 (BastionShareableLinkListResultPage) NotDone

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

func (BastionShareableLinkListResultPage) Response

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

func (BastionShareableLinkListResultPage) Values

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

type BgpConnection

type BgpConnection struct {
	autorest.Response `json:"-"`
	// BgpConnectionProperties - The properties of the Bgp connections.
	*BgpConnectionProperties `json:"properties,omitempty"`
	// Name - Name of the connection.
	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; Connection type.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

BgpConnection virtual Appliance Site resource.

func (BgpConnection) MarshalJSON

func (bc BgpConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BgpConnection.

func (*BgpConnection) UnmarshalJSON

func (bc *BgpConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BgpConnection struct.

type BgpConnectionProperties

type BgpConnectionProperties struct {
	// PeerAsn - Peer ASN.
	PeerAsn *int64 `json:"peerAsn,omitempty"`
	// PeerIP - Peer IP.
	PeerIP *string `json:"peerIp,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ConnectionState - READ-ONLY; The current state of the VirtualHub to Peer. Possible values include: 'HubBgpConnectionStatusUnknown', 'HubBgpConnectionStatusConnecting', 'HubBgpConnectionStatusConnected', 'HubBgpConnectionStatusNotConnected'
	ConnectionState HubBgpConnectionStatus `json:"connectionState,omitempty"`
}

BgpConnectionProperties properties of the bgp connection.

func (BgpConnectionProperties) MarshalJSON

func (bcp BgpConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BgpConnectionProperties.

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

BgpServiceCommunity service Community Properties.

func (BgpServiceCommunity) MarshalJSON

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

MarshalJSON is the custom marshaler for BgpServiceCommunity.

func (*BgpServiceCommunity) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for BgpServiceCommunity struct.

type BgpServiceCommunityListResult

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

BgpServiceCommunityListResult response for the ListServiceCommunity API service call.

func (BgpServiceCommunityListResult) IsEmpty

func (bsclr BgpServiceCommunityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BgpServiceCommunityListResultIterator

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

BgpServiceCommunityListResultIterator provides access to a complete listing of BgpServiceCommunity values.

func NewBgpServiceCommunityListResultIterator

func NewBgpServiceCommunityListResultIterator(page BgpServiceCommunityListResultPage) BgpServiceCommunityListResultIterator

Creates a new instance of the BgpServiceCommunityListResultIterator type.

func (*BgpServiceCommunityListResultIterator) Next

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

func (*BgpServiceCommunityListResultIterator) NextWithContext

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

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

func (BgpServiceCommunityListResultIterator) NotDone

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

func (BgpServiceCommunityListResultIterator) Response

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

func (BgpServiceCommunityListResultIterator) Value

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

type BgpServiceCommunityListResultPage

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

BgpServiceCommunityListResultPage contains a page of BgpServiceCommunity values.

func NewBgpServiceCommunityListResultPage

Creates a new instance of the BgpServiceCommunityListResultPage type.

func (*BgpServiceCommunityListResultPage) Next

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

func (*BgpServiceCommunityListResultPage) NextWithContext

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

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

func (BgpServiceCommunityListResultPage) NotDone

func (page BgpServiceCommunityListResultPage) NotDone() bool

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

func (BgpServiceCommunityListResultPage) Response

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

func (BgpServiceCommunityListResultPage) Values

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

type BgpServiceCommunityPropertiesFormat

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

BgpServiceCommunityPropertiesFormat properties of Service Community.

type BgpSettings

type BgpSettings struct {
	// Asn - The BGP speaker's ASN.
	Asn *int64 `json:"asn,omitempty"`
	// BgpPeeringAddress - The BGP peering address and BGP identifier of this BGP speaker.
	BgpPeeringAddress *string `json:"bgpPeeringAddress,omitempty"`
	// PeerWeight - The weight added to routes learned from this BGP speaker.
	PeerWeight *int32 `json:"peerWeight,omitempty"`
	// BgpPeeringAddresses - BGP peering address with IP configuration ID for virtual network gateway.
	BgpPeeringAddresses *[]IPConfigurationBgpPeeringAddress `json:"bgpPeeringAddresses,omitempty"`
}

BgpSettings BGP settings details.

type BreakOutCategoryPolicies

type BreakOutCategoryPolicies struct {
	// Allow - Flag to control breakout of o365 allow category.
	Allow *bool `json:"allow,omitempty"`
	// Optimize - Flag to control breakout of o365 optimize category.
	Optimize *bool `json:"optimize,omitempty"`
	// Default - Flag to control breakout of o365 default category.
	Default *bool `json:"default,omitempty"`
}

BreakOutCategoryPolicies network Virtual Appliance Sku Properties.

type CheckPrivateLinkServiceVisibilityRequest

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

CheckPrivateLinkServiceVisibilityRequest request body of the CheckPrivateLinkServiceVisibility API service call.

type CircuitConnectionStatus

type CircuitConnectionStatus string

CircuitConnectionStatus enumerates the values for circuit connection status.

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

func PossibleCircuitConnectionStatusValues

func PossibleCircuitConnectionStatusValues() []CircuitConnectionStatus

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

type CloudError

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

CloudError an error response from the service.

type CloudErrorBody

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

CloudErrorBody an error response from the service.

type CommissionedState

type CommissionedState string

CommissionedState enumerates the values for commissioned state.

const (
	// Commissioned ...
	Commissioned CommissionedState = "Commissioned"
	// Commissioning ...
	Commissioning CommissionedState = "Commissioning"
	// Decommissioning ...
	Decommissioning CommissionedState = "Decommissioning"
	// Deprovisioning ...
	Deprovisioning CommissionedState = "Deprovisioning"
	// Provisioned ...
	Provisioned CommissionedState = "Provisioned"
	// Provisioning ...
	Provisioning CommissionedState = "Provisioning"
)

func PossibleCommissionedStateValues

func PossibleCommissionedStateValues() []CommissionedState

PossibleCommissionedStateValues returns an array of possible values for the CommissionedState const type.

type ConfigurationDiagnosticParameters

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

ConfigurationDiagnosticParameters parameters to get network configuration diagnostic.

type ConfigurationDiagnosticProfile

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

ConfigurationDiagnosticProfile parameters to compare with network configuration.

type ConfigurationDiagnosticResponse

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

ConfigurationDiagnosticResponse results of network configuration diagnostic on the target resource.

func (ConfigurationDiagnosticResponse) MarshalJSON

func (cdr ConfigurationDiagnosticResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationDiagnosticResponse.

type ConfigurationDiagnosticResult

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

ConfigurationDiagnosticResult network configuration diagnostic result corresponded to provided traffic query.

type ConnectionMonitor

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

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

func (ConnectionMonitor) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionMonitor.

func (*ConnectionMonitor) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConnectionMonitor struct.

type ConnectionMonitorDestination

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

ConnectionMonitorDestination describes the destination of connection monitor.

type ConnectionMonitorEndpoint

type ConnectionMonitorEndpoint struct {
	// Name - The name of the connection monitor endpoint.
	Name *string `json:"name,omitempty"`
	// Type - The endpoint type. Possible values include: 'AzureVM', 'AzureVNet', 'AzureSubnet', 'ExternalAddress', 'MMAWorkspaceMachine', 'MMAWorkspaceNetwork'
	Type EndpointType `json:"type,omitempty"`
	// ResourceID - Resource ID of the connection monitor endpoint.
	ResourceID *string `json:"resourceId,omitempty"`
	// Address - Address of the connection monitor endpoint (IP or domain name).
	Address *string `json:"address,omitempty"`
	// Filter - Filter for sub-items within the endpoint.
	Filter *ConnectionMonitorEndpointFilter `json:"filter,omitempty"`
	// Scope - Endpoint scope.
	Scope *ConnectionMonitorEndpointScope `json:"scope,omitempty"`
	// CoverageLevel - Test coverage for the endpoint. Possible values include: 'Default', 'Low', 'BelowAverage', 'Average', 'AboveAverage', 'Full'
	CoverageLevel CoverageLevel `json:"coverageLevel,omitempty"`
}

ConnectionMonitorEndpoint describes the connection monitor endpoint.

type ConnectionMonitorEndpointFilter

type ConnectionMonitorEndpointFilter struct {
	// Type - The behavior of the endpoint filter. Currently only 'Include' is supported. Possible values include: 'Include'
	Type ConnectionMonitorEndpointFilterType `json:"type,omitempty"`
	// Items - List of items in the filter.
	Items *[]ConnectionMonitorEndpointFilterItem `json:"items,omitempty"`
}

ConnectionMonitorEndpointFilter describes the connection monitor endpoint filter.

type ConnectionMonitorEndpointFilterItem

type ConnectionMonitorEndpointFilterItem struct {
	// Type - The type of item included in the filter. Currently only 'AgentAddress' is supported. Possible values include: 'AgentAddress'
	Type ConnectionMonitorEndpointFilterItemType `json:"type,omitempty"`
	// Address - The address of the filter item.
	Address *string `json:"address,omitempty"`
}

ConnectionMonitorEndpointFilterItem describes the connection monitor endpoint filter item.

type ConnectionMonitorEndpointFilterItemType

type ConnectionMonitorEndpointFilterItemType string

ConnectionMonitorEndpointFilterItemType enumerates the values for connection monitor endpoint filter item type.

const (
	// AgentAddress ...
	AgentAddress ConnectionMonitorEndpointFilterItemType = "AgentAddress"
)

func PossibleConnectionMonitorEndpointFilterItemTypeValues

func PossibleConnectionMonitorEndpointFilterItemTypeValues() []ConnectionMonitorEndpointFilterItemType

PossibleConnectionMonitorEndpointFilterItemTypeValues returns an array of possible values for the ConnectionMonitorEndpointFilterItemType const type.

type ConnectionMonitorEndpointFilterType

type ConnectionMonitorEndpointFilterType string

ConnectionMonitorEndpointFilterType enumerates the values for connection monitor endpoint filter type.

const (
	// Include ...
	Include ConnectionMonitorEndpointFilterType = "Include"
)

func PossibleConnectionMonitorEndpointFilterTypeValues

func PossibleConnectionMonitorEndpointFilterTypeValues() []ConnectionMonitorEndpointFilterType

PossibleConnectionMonitorEndpointFilterTypeValues returns an array of possible values for the ConnectionMonitorEndpointFilterType const type.

type ConnectionMonitorEndpointScope

type ConnectionMonitorEndpointScope struct {
	// Include - List of items which needs to be included to the endpoint scope.
	Include *[]ConnectionMonitorEndpointScopeItem `json:"include,omitempty"`
	// Exclude - List of items which needs to be excluded from the endpoint scope.
	Exclude *[]ConnectionMonitorEndpointScopeItem `json:"exclude,omitempty"`
}

ConnectionMonitorEndpointScope describes the connection monitor endpoint scope.

type ConnectionMonitorEndpointScopeItem

type ConnectionMonitorEndpointScopeItem struct {
	// Address - The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.
	Address *string `json:"address,omitempty"`
}

ConnectionMonitorEndpointScopeItem describes the connection monitor endpoint scope item.

type ConnectionMonitorHTTPConfiguration

type ConnectionMonitorHTTPConfiguration struct {
	// Port - The port to connect to.
	Port *int32 `json:"port,omitempty"`
	// Method - The HTTP method to use. Possible values include: 'Get', 'Post'
	Method HTTPConfigurationMethod `json:"method,omitempty"`
	// Path - The path component of the URI. For instance, "/dir1/dir2".
	Path *string `json:"path,omitempty"`
	// RequestHeaders - The HTTP headers to transmit with the request.
	RequestHeaders *[]HTTPHeader `json:"requestHeaders,omitempty"`
	// ValidStatusCodeRanges - HTTP status codes to consider successful. For instance, "2xx,301-304,418".
	ValidStatusCodeRanges *[]string `json:"validStatusCodeRanges,omitempty"`
	// PreferHTTPS - Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
	PreferHTTPS *bool `json:"preferHTTPS,omitempty"`
}

ConnectionMonitorHTTPConfiguration describes the HTTP configuration.

type ConnectionMonitorIcmpConfiguration

type ConnectionMonitorIcmpConfiguration struct {
	// DisableTraceRoute - Value indicating whether path evaluation with trace route should be disabled.
	DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"`
}

ConnectionMonitorIcmpConfiguration describes the ICMP configuration.

type ConnectionMonitorListResult

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

ConnectionMonitorListResult list of connection monitors.

type ConnectionMonitorOutput

type ConnectionMonitorOutput struct {
	// Type - Connection monitor output destination type. Currently, only "Workspace" is supported. Possible values include: 'Workspace'
	Type OutputType `json:"type,omitempty"`
	// WorkspaceSettings - Describes the settings for producing output into a log analytics workspace.
	WorkspaceSettings *ConnectionMonitorWorkspaceSettings `json:"workspaceSettings,omitempty"`
}

ConnectionMonitorOutput describes a connection monitor output destination.

type ConnectionMonitorParameters

type ConnectionMonitorParameters struct {
	// Source - Describes the source of connection monitor.
	Source *ConnectionMonitorSource `json:"source,omitempty"`
	// Destination - Describes the destination of connection monitor.
	Destination *ConnectionMonitorDestination `json:"destination,omitempty"`
	// AutoStart - Determines if the connection monitor will start automatically once created.
	AutoStart *bool `json:"autoStart,omitempty"`
	// MonitoringIntervalInSeconds - Monitoring interval in seconds.
	MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"`
	// Endpoints - List of connection monitor endpoints.
	Endpoints *[]ConnectionMonitorEndpoint `json:"endpoints,omitempty"`
	// TestConfigurations - List of connection monitor test configurations.
	TestConfigurations *[]ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"`
	// TestGroups - List of connection monitor test groups.
	TestGroups *[]ConnectionMonitorTestGroup `json:"testGroups,omitempty"`
	// Outputs - List of connection monitor outputs.
	Outputs *[]ConnectionMonitorOutput `json:"outputs,omitempty"`
	// Notes - Optional notes to be associated with the connection monitor.
	Notes *string `json:"notes,omitempty"`
}

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

type ConnectionMonitorQueryResult

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

ConnectionMonitorQueryResult list of connection states snapshots.

type ConnectionMonitorResult

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

ConnectionMonitorResult information about the connection monitor.

func (ConnectionMonitorResult) MarshalJSON

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

MarshalJSON is the custom marshaler for ConnectionMonitorResult.

func (*ConnectionMonitorResult) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ConnectionMonitorResult struct.

type ConnectionMonitorResultProperties

type ConnectionMonitorResultProperties struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the connection monitor. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// StartTime - READ-ONLY; The date and time when the connection monitor was started.
	StartTime *date.Time `json:"startTime,omitempty"`
	// MonitoringStatus - READ-ONLY; The monitoring status of the connection monitor.
	MonitoringStatus *string `json:"monitoringStatus,omitempty"`
	// ConnectionMonitorType - READ-ONLY; Type of connection monitor. Possible values include: 'MultiEndpoint', 'SingleSourceDestination'
	ConnectionMonitorType ConnectionMonitorType `json:"connectionMonitorType,omitempty"`
	// Source - Describes the source of connection monitor.
	Source *ConnectionMonitorSource `json:"source,omitempty"`
	// Destination - Describes the destination of connection monitor.
	Destination *ConnectionMonitorDestination `json:"destination,omitempty"`
	// AutoStart - Determines if the connection monitor will start automatically once created.
	AutoStart *bool `json:"autoStart,omitempty"`
	// MonitoringIntervalInSeconds - Monitoring interval in seconds.
	MonitoringIntervalInSeconds *int32 `json:"monitoringIntervalInSeconds,omitempty"`
	// Endpoints - List of connection monitor endpoints.
	Endpoints *[]ConnectionMonitorEndpoint `json:"endpoints,omitempty"`
	// TestConfigurations - List of connection monitor test configurations.
	TestConfigurations *[]ConnectionMonitorTestConfiguration `json:"testConfigurations,omitempty"`
	// TestGroups - List of connection monitor test groups.
	TestGroups *[]ConnectionMonitorTestGroup `json:"testGroups,omitempty"`
	// Outputs - List of connection monitor outputs.
	Outputs *[]ConnectionMonitorOutput `json:"outputs,omitempty"`
	// Notes - Optional notes to be associated with the connection monitor.
	Notes *string `json:"notes,omitempty"`
}

ConnectionMonitorResultProperties describes the properties of a connection monitor.

func (ConnectionMonitorResultProperties) MarshalJSON

func (cmrp ConnectionMonitorResultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionMonitorResultProperties.

type ConnectionMonitorSource

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

ConnectionMonitorSource describes the source of connection monitor.

type ConnectionMonitorSourceStatus

type ConnectionMonitorSourceStatus string

ConnectionMonitorSourceStatus enumerates the values for connection monitor source status.

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

func PossibleConnectionMonitorSourceStatusValues

func PossibleConnectionMonitorSourceStatusValues() []ConnectionMonitorSourceStatus

PossibleConnectionMonitorSourceStatusValues returns an array of possible values for the ConnectionMonitorSourceStatus const type.

type ConnectionMonitorSuccessThreshold

type ConnectionMonitorSuccessThreshold struct {
	// ChecksFailedPercent - The maximum percentage of failed checks permitted for a test to evaluate as successful.
	ChecksFailedPercent *int32 `json:"checksFailedPercent,omitempty"`
	// RoundTripTimeMs - The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
	RoundTripTimeMs *float64 `json:"roundTripTimeMs,omitempty"`
}

ConnectionMonitorSuccessThreshold describes the threshold for declaring a test successful.

type ConnectionMonitorTCPConfiguration

type ConnectionMonitorTCPConfiguration struct {
	// Port - The port to connect to.
	Port *int32 `json:"port,omitempty"`
	// DisableTraceRoute - Value indicating whether path evaluation with trace route should be disabled.
	DisableTraceRoute *bool `json:"disableTraceRoute,omitempty"`
	// DestinationPortBehavior - Destination port behavior. Possible values include: 'None', 'ListenIfAvailable'
	DestinationPortBehavior DestinationPortBehavior `json:"destinationPortBehavior,omitempty"`
}

ConnectionMonitorTCPConfiguration describes the TCP configuration.

type ConnectionMonitorTestConfiguration

type ConnectionMonitorTestConfiguration struct {
	// Name - The name of the connection monitor test configuration.
	Name *string `json:"name,omitempty"`
	// TestFrequencySec - The frequency of test evaluation, in seconds.
	TestFrequencySec *int32 `json:"testFrequencySec,omitempty"`
	// Protocol - The protocol to use in test evaluation. Possible values include: 'ConnectionMonitorTestConfigurationProtocolTCP', 'ConnectionMonitorTestConfigurationProtocolHTTP', 'ConnectionMonitorTestConfigurationProtocolIcmp'
	Protocol ConnectionMonitorTestConfigurationProtocol `json:"protocol,omitempty"`
	// PreferredIPVersion - The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters. Possible values include: 'PreferredIPVersionIPv4', 'PreferredIPVersionIPv6'
	PreferredIPVersion PreferredIPVersion `json:"preferredIPVersion,omitempty"`
	// HTTPConfiguration - The parameters used to perform test evaluation over HTTP.
	HTTPConfiguration *ConnectionMonitorHTTPConfiguration `json:"httpConfiguration,omitempty"`
	// TCPConfiguration - The parameters used to perform test evaluation over TCP.
	TCPConfiguration *ConnectionMonitorTCPConfiguration `json:"tcpConfiguration,omitempty"`
	// IcmpConfiguration - The parameters used to perform test evaluation over ICMP.
	IcmpConfiguration *ConnectionMonitorIcmpConfiguration `json:"icmpConfiguration,omitempty"`
	// SuccessThreshold - The threshold for declaring a test successful.
	SuccessThreshold *ConnectionMonitorSuccessThreshold `json:"successThreshold,omitempty"`
}

ConnectionMonitorTestConfiguration describes a connection monitor test configuration.

type ConnectionMonitorTestConfigurationProtocol

type ConnectionMonitorTestConfigurationProtocol string

ConnectionMonitorTestConfigurationProtocol enumerates the values for connection monitor test configuration protocol.

const (
	// ConnectionMonitorTestConfigurationProtocolHTTP ...
	ConnectionMonitorTestConfigurationProtocolHTTP ConnectionMonitorTestConfigurationProtocol = "Http"
	// ConnectionMonitorTestConfigurationProtocolIcmp ...
	ConnectionMonitorTestConfigurationProtocolIcmp ConnectionMonitorTestConfigurationProtocol = "Icmp"
	// ConnectionMonitorTestConfigurationProtocolTCP ...
	ConnectionMonitorTestConfigurationProtocolTCP ConnectionMonitorTestConfigurationProtocol = "Tcp"
)

func PossibleConnectionMonitorTestConfigurationProtocolValues

func PossibleConnectionMonitorTestConfigurationProtocolValues() []ConnectionMonitorTestConfigurationProtocol

PossibleConnectionMonitorTestConfigurationProtocolValues returns an array of possible values for the ConnectionMonitorTestConfigurationProtocol const type.

type ConnectionMonitorTestGroup

type ConnectionMonitorTestGroup struct {
	// Name - The name of the connection monitor test group.
	Name *string `json:"name,omitempty"`
	// Disable - Value indicating whether test group is disabled.
	Disable *bool `json:"disable,omitempty"`
	// TestConfigurations - List of test configuration names.
	TestConfigurations *[]string `json:"testConfigurations,omitempty"`
	// Sources - List of source endpoint names.
	Sources *[]string `json:"sources,omitempty"`
	// Destinations - List of destination endpoint names.
	Destinations *[]string `json:"destinations,omitempty"`
}

ConnectionMonitorTestGroup describes the connection monitor test group.

type ConnectionMonitorType

type ConnectionMonitorType string

ConnectionMonitorType enumerates the values for connection monitor type.

const (
	// MultiEndpoint ...
	MultiEndpoint ConnectionMonitorType = "MultiEndpoint"
	// SingleSourceDestination ...
	SingleSourceDestination ConnectionMonitorType = "SingleSourceDestination"
)

func PossibleConnectionMonitorTypeValues

func PossibleConnectionMonitorTypeValues() []ConnectionMonitorType

PossibleConnectionMonitorTypeValues returns an array of possible values for the ConnectionMonitorType const type.

type ConnectionMonitorWorkspaceSettings

type ConnectionMonitorWorkspaceSettings struct {
	// WorkspaceResourceID - Log analytics workspace resource ID.
	WorkspaceResourceID *string `json:"workspaceResourceId,omitempty"`
}

ConnectionMonitorWorkspaceSettings describes the settings for producing output into a log analytics workspace.

type ConnectionMonitorsClient

type ConnectionMonitorsClient struct {
	BaseClient
}

ConnectionMonitorsClient is the network Client

func NewConnectionMonitorsClient

func NewConnectionMonitorsClient(subscriptionID string) ConnectionMonitorsClient

NewConnectionMonitorsClient creates an instance of the ConnectionMonitorsClient client.

func NewConnectionMonitorsClientWithBaseURI

func NewConnectionMonitorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectionMonitorsClient

NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ConnectionMonitorsClient) CreateOrUpdate

func (client ConnectionMonitorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor) (result ConnectionMonitorsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor. parameters - parameters that define the operation to create a connection monitor.

func (ConnectionMonitorsClient) CreateOrUpdatePreparer

func (client ConnectionMonitorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters ConnectionMonitor) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConnectionMonitorsClient) CreateOrUpdateResponder

func (client ConnectionMonitorsClient) CreateOrUpdateResponder(resp *http.Response) (result ConnectionMonitorResult, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) CreateOrUpdateSender

func (client ConnectionMonitorsClient) CreateOrUpdateSender(req *http.Request) (future ConnectionMonitorsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) Delete

func (client ConnectionMonitorsClient) Delete(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsDeleteFuture, err error)

Delete deletes the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) DeletePreparer

func (client ConnectionMonitorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConnectionMonitorsClient) DeleteResponder

func (client ConnectionMonitorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) DeleteSender

func (client ConnectionMonitorsClient) DeleteSender(req *http.Request) (future ConnectionMonitorsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) Get

func (client ConnectionMonitorsClient) Get(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorResult, err error)

Get gets a connection monitor by name. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) GetPreparer

func (client ConnectionMonitorsClient) GetPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConnectionMonitorsClient) GetResponder

func (client ConnectionMonitorsClient) GetResponder(resp *http.Response) (result ConnectionMonitorResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) GetSender

func (client ConnectionMonitorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) List

func (client ConnectionMonitorsClient) List(ctx context.Context, resourceGroupName string, networkWatcherName string) (result ConnectionMonitorListResult, err error)

List lists all connection monitors for the specified Network Watcher. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource.

func (ConnectionMonitorsClient) ListPreparer

func (client ConnectionMonitorsClient) ListPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConnectionMonitorsClient) ListResponder

func (client ConnectionMonitorsClient) ListResponder(resp *http.Response) (result ConnectionMonitorListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) ListSender

func (client ConnectionMonitorsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) Query

func (client ConnectionMonitorsClient) Query(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsQueryFuture, err error)

Query query a snapshot of the most recent connection states. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name given to the connection monitor.

func (ConnectionMonitorsClient) QueryPreparer

func (client ConnectionMonitorsClient) QueryPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

QueryPreparer prepares the Query request.

func (ConnectionMonitorsClient) QueryResponder

func (client ConnectionMonitorsClient) QueryResponder(resp *http.Response) (result ConnectionMonitorQueryResult, err error)

QueryResponder handles the response to the Query request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) QuerySender

func (client ConnectionMonitorsClient) QuerySender(req *http.Request) (future ConnectionMonitorsQueryFuture, err error)

QuerySender sends the Query request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) Start

func (client ConnectionMonitorsClient) Start(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsStartFuture, err error)

Start starts the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) StartPreparer

func (client ConnectionMonitorsClient) StartPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (ConnectionMonitorsClient) StartResponder

func (client ConnectionMonitorsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) StartSender

func (client ConnectionMonitorsClient) StartSender(req *http.Request) (future ConnectionMonitorsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) Stop

func (client ConnectionMonitorsClient) Stop(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (result ConnectionMonitorsStopFuture, err error)

Stop stops the specified connection monitor. Parameters: resourceGroupName - the name of the resource group containing Network Watcher. networkWatcherName - the name of the Network Watcher resource. connectionMonitorName - the name of the connection monitor.

func (ConnectionMonitorsClient) StopPreparer

func (client ConnectionMonitorsClient) StopPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (ConnectionMonitorsClient) StopResponder

func (client ConnectionMonitorsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) StopSender

func (client ConnectionMonitorsClient) StopSender(req *http.Request) (future ConnectionMonitorsStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (ConnectionMonitorsClient) UpdateTags

func (client ConnectionMonitorsClient) UpdateTags(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject) (result ConnectionMonitorResult, err error)

UpdateTags update tags of the specified connection monitor. Parameters: resourceGroupName - the name of the resource group. networkWatcherName - the name of the network watcher. connectionMonitorName - the name of the connection monitor. parameters - parameters supplied to update connection monitor tags.

func (ConnectionMonitorsClient) UpdateTagsPreparer

func (client ConnectionMonitorsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, networkWatcherName string, connectionMonitorName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ConnectionMonitorsClient) UpdateTagsResponder

func (client ConnectionMonitorsClient) UpdateTagsResponder(resp *http.Response) (result ConnectionMonitorResult, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ConnectionMonitorsClient) UpdateTagsSender

func (client ConnectionMonitorsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type ConnectionMonitorsCreateOrUpdateFuture

type ConnectionMonitorsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConnectionMonitorsClient) (ConnectionMonitorResult, error)
}

ConnectionMonitorsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsCreateOrUpdateFuture) UnmarshalJSON

func (future *ConnectionMonitorsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectionMonitorsDeleteFuture

type ConnectionMonitorsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConnectionMonitorsClient) (autorest.Response, error)
}

ConnectionMonitorsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsDeleteFuture) UnmarshalJSON

func (future *ConnectionMonitorsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectionMonitorsQueryFuture

type ConnectionMonitorsQueryFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConnectionMonitorsClient) (ConnectionMonitorQueryResult, error)
}

ConnectionMonitorsQueryFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsQueryFuture) UnmarshalJSON

func (future *ConnectionMonitorsQueryFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectionMonitorsStartFuture

type ConnectionMonitorsStartFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConnectionMonitorsClient) (autorest.Response, error)
}

ConnectionMonitorsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsStartFuture) UnmarshalJSON

func (future *ConnectionMonitorsStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectionMonitorsStopFuture

type ConnectionMonitorsStopFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ConnectionMonitorsClient) (autorest.Response, error)
}

ConnectionMonitorsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ConnectionMonitorsStopFuture) UnmarshalJSON

func (future *ConnectionMonitorsStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ConnectionResetSharedKey

type ConnectionResetSharedKey struct {
	autorest.Response `json:"-"`
	// KeyLength - The virtual network connection reset shared key length, should between 1 and 128.
	KeyLength *int32 `json:"keyLength,omitempty"`
}

ConnectionResetSharedKey the virtual network connection reset shared key.

type ConnectionSharedKey

type ConnectionSharedKey struct {
	autorest.Response `json:"-"`
	// Value - The virtual network connection shared key value.
	Value *string `json:"value,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ConnectionSharedKey response for GetConnectionSharedKey API service call.

type ConnectionState

type ConnectionState string

ConnectionState enumerates the values for connection state.

const (
	// ConnectionStateReachable ...
	ConnectionStateReachable ConnectionState = "Reachable"
	// ConnectionStateUnknown ...
	ConnectionStateUnknown ConnectionState = "Unknown"
	// ConnectionStateUnreachable ...
	ConnectionStateUnreachable ConnectionState = "Unreachable"
)

func PossibleConnectionStateValues

func PossibleConnectionStateValues() []ConnectionState

PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.

type ConnectionStateSnapshot

type ConnectionStateSnapshot struct {
	// ConnectionState - The connection state. Possible values include: 'ConnectionStateReachable', 'ConnectionStateUnreachable', 'ConnectionStateUnknown'
	ConnectionState ConnectionState `json:"connectionState,omitempty"`
	// StartTime - The start time of the connection snapshot.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The end time of the connection snapshot.
	EndTime *date.Time `json:"endTime,omitempty"`
	// EvaluationState - Connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'
	EvaluationState EvaluationState `json:"evaluationState,omitempty"`
	// AvgLatencyInMs - Average latency in ms.
	AvgLatencyInMs *int32 `json:"avgLatencyInMs,omitempty"`
	// MinLatencyInMs - Minimum latency in ms.
	MinLatencyInMs *int32 `json:"minLatencyInMs,omitempty"`
	// MaxLatencyInMs - Maximum latency in ms.
	MaxLatencyInMs *int32 `json:"maxLatencyInMs,omitempty"`
	// ProbesSent - The number of sent probes.
	ProbesSent *int32 `json:"probesSent,omitempty"`
	// ProbesFailed - The number of failed probes.
	ProbesFailed *int32 `json:"probesFailed,omitempty"`
	// Hops - READ-ONLY; List of hops between the source and the destination.
	Hops *[]ConnectivityHop `json:"hops,omitempty"`
}

ConnectionStateSnapshot connection state snapshot.

func (ConnectionStateSnapshot) MarshalJSON

func (CSS ConnectionStateSnapshot) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionStateSnapshot.

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"`
	// PreviousHopIds - READ-ONLY; List of previous hop identifiers.
	PreviousHopIds *[]string `json:"previousHopIds,omitempty"`
	// Links - READ-ONLY; List of hop links.
	Links *[]HopLink `json:"links,omitempty"`
	// PreviousLinks - READ-ONLY; List of previous hop links.
	PreviousLinks *[]HopLink `json:"previousLinks,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 - The source of the connection.
	Source *ConnectivitySource `json:"source,omitempty"`
	// Destination - The destination of connection.
	Destination *ConnectivityDestination `json:"destination,omitempty"`
	// Protocol - Network protocol. Possible values include: 'ProtocolTCP', 'ProtocolHTTP', 'ProtocolHTTPS', 'ProtocolIcmp'
	Protocol Protocol `json:"protocol,omitempty"`
	// ProtocolConfiguration - Configuration of the protocol.
	ProtocolConfiguration *ProtocolConfiguration `json:"protocolConfiguration,omitempty"`
	// PreferredIPVersion - Preferred IP version of the connection. Possible values include: 'IPv4', 'IPv6'
	PreferredIPVersion IPVersion `json:"preferredIPVersion,omitempty"`
}

ConnectivityParameters parameters that determine how the connectivity check will be performed.

type ConnectivitySource

type ConnectivitySource struct {
	// ResourceID - The ID of the resource from which a connectivity check will be initiated.
	ResourceID *string `json:"resourceId,omitempty"`
	// Port - The source port from which a connectivity check will be performed.
	Port *int32 `json:"port,omitempty"`
}

ConnectivitySource parameters that define the source of the connection.

type Container

type Container struct {
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

Container reference to container resource in remote resource provider.

type ContainerNetworkInterface

type ContainerNetworkInterface struct {
	// ContainerNetworkInterfacePropertiesFormat - Container network interface properties.
	*ContainerNetworkInterfacePropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - 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"`
}

ContainerNetworkInterface container network interface child resource.

func (ContainerNetworkInterface) MarshalJSON

func (cni ContainerNetworkInterface) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterface.

func (*ContainerNetworkInterface) UnmarshalJSON

func (cni *ContainerNetworkInterface) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterface struct.

type ContainerNetworkInterfaceConfiguration

type ContainerNetworkInterfaceConfiguration struct {
	// ContainerNetworkInterfaceConfigurationPropertiesFormat - Container network interface configuration properties.
	*ContainerNetworkInterfaceConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - 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"`
}

ContainerNetworkInterfaceConfiguration container network interface configuration child resource.

func (ContainerNetworkInterfaceConfiguration) MarshalJSON

func (cnic ContainerNetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterfaceConfiguration.

func (*ContainerNetworkInterfaceConfiguration) UnmarshalJSON

func (cnic *ContainerNetworkInterfaceConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterfaceConfiguration struct.

type ContainerNetworkInterfaceConfigurationPropertiesFormat

type ContainerNetworkInterfaceConfigurationPropertiesFormat struct {
	// IPConfigurations - A list of ip configurations of the container network interface configuration.
	IPConfigurations *[]IPConfigurationProfile `json:"ipConfigurations,omitempty"`
	// ContainerNetworkInterfaces - A list of container network interfaces created from this container network interface configuration.
	ContainerNetworkInterfaces *[]SubResource `json:"containerNetworkInterfaces,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the container network interface configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ContainerNetworkInterfaceConfigurationPropertiesFormat container network interface configuration properties.

func (ContainerNetworkInterfaceConfigurationPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ContainerNetworkInterfaceConfigurationPropertiesFormat.

type ContainerNetworkInterfaceIPConfiguration

type ContainerNetworkInterfaceIPConfiguration struct {
	// ContainerNetworkInterfaceIPConfigurationPropertiesFormat - Properties of the container network interface IP configuration.
	*ContainerNetworkInterfaceIPConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Sub Resource type.
	Type *string `json:"type,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

ContainerNetworkInterfaceIPConfiguration the ip configuration for a container network interface.

func (ContainerNetworkInterfaceIPConfiguration) MarshalJSON

func (cniic ContainerNetworkInterfaceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterfaceIPConfiguration.

func (*ContainerNetworkInterfaceIPConfiguration) UnmarshalJSON

func (cniic *ContainerNetworkInterfaceIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ContainerNetworkInterfaceIPConfiguration struct.

type ContainerNetworkInterfaceIPConfigurationPropertiesFormat

type ContainerNetworkInterfaceIPConfigurationPropertiesFormat struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the container network interface IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ContainerNetworkInterfaceIPConfigurationPropertiesFormat properties of the container network interface IP configuration.

func (ContainerNetworkInterfaceIPConfigurationPropertiesFormat) MarshalJSON

MarshalJSON is the custom marshaler for ContainerNetworkInterfaceIPConfigurationPropertiesFormat.

type ContainerNetworkInterfacePropertiesFormat

type ContainerNetworkInterfacePropertiesFormat struct {
	// ContainerNetworkInterfaceConfiguration - READ-ONLY; Container network interface configuration from which this container network interface is created.
	ContainerNetworkInterfaceConfiguration *ContainerNetworkInterfaceConfiguration `json:"containerNetworkInterfaceConfiguration,omitempty"`
	// Container - Reference to the container to which this container network interface is attached.
	Container *Container `json:"container,omitempty"`
	// IPConfigurations - READ-ONLY; Reference to the ip configuration on this container nic.
	IPConfigurations *[]ContainerNetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the container network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ContainerNetworkInterfacePropertiesFormat properties of container network interface.

func (ContainerNetworkInterfacePropertiesFormat) MarshalJSON

func (cnipf ContainerNetworkInterfacePropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ContainerNetworkInterfacePropertiesFormat.

type CoverageLevel

type CoverageLevel string

CoverageLevel enumerates the values for coverage level.

const (
	// AboveAverage ...
	AboveAverage CoverageLevel = "AboveAverage"
	// Average ...
	Average CoverageLevel = "Average"
	// BelowAverage ...
	BelowAverage CoverageLevel = "BelowAverage"
	// Default ...
	Default CoverageLevel = "Default"
	// Full ...
	Full CoverageLevel = "Full"
	// Low ...
	Low CoverageLevel = "Low"
)

func PossibleCoverageLevelValues

func PossibleCoverageLevelValues() []CoverageLevel

PossibleCoverageLevelValues returns an array of possible values for the CoverageLevel const type.

type CustomDNSConfigPropertiesFormat

type CustomDNSConfigPropertiesFormat struct {
	// Fqdn - Fqdn that resolves to private endpoint ip address.
	Fqdn *string `json:"fqdn,omitempty"`
	// IPAddresses - A list of private ip addresses of the private endpoint.
	IPAddresses *[]string `json:"ipAddresses,omitempty"`
}

CustomDNSConfigPropertiesFormat contains custom Dns resolution configuration from customer.

type CustomIPPrefix

type CustomIPPrefix struct {
	autorest.Response `json:"-"`
	// CustomIPPrefixPropertiesFormat - Custom IP prefix properties.
	*CustomIPPrefixPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Zones - A list of availability zones denoting 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"`
}

CustomIPPrefix custom IP prefix resource.

func (CustomIPPrefix) MarshalJSON

func (cip CustomIPPrefix) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomIPPrefix.

func (*CustomIPPrefix) UnmarshalJSON

func (cip *CustomIPPrefix) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomIPPrefix struct.

type CustomIPPrefixListResult

type CustomIPPrefixListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of Custom IP prefixes that exists in a resource group.
	Value *[]CustomIPPrefix `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

CustomIPPrefixListResult response for ListCustomIpPrefixes API service call.

func (CustomIPPrefixListResult) IsEmpty

func (ciplr CustomIPPrefixListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CustomIPPrefixListResultIterator

type CustomIPPrefixListResultIterator struct {
	// contains filtered or unexported fields
}

CustomIPPrefixListResultIterator provides access to a complete listing of CustomIPPrefix values.

func NewCustomIPPrefixListResultIterator

func NewCustomIPPrefixListResultIterator(page CustomIPPrefixListResultPage) CustomIPPrefixListResultIterator

Creates a new instance of the CustomIPPrefixListResultIterator type.

func (*CustomIPPrefixListResultIterator) 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 (*CustomIPPrefixListResultIterator) NextWithContext

func (iter *CustomIPPrefixListResultIterator) 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 (CustomIPPrefixListResultIterator) NotDone

func (iter CustomIPPrefixListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CustomIPPrefixListResultIterator) Response

Response returns the raw server response from the last page request.

func (CustomIPPrefixListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CustomIPPrefixListResultPage

type CustomIPPrefixListResultPage struct {
	// contains filtered or unexported fields
}

CustomIPPrefixListResultPage contains a page of CustomIPPrefix values.

func NewCustomIPPrefixListResultPage

Creates a new instance of the CustomIPPrefixListResultPage type.

func (*CustomIPPrefixListResultPage) Next

func (page *CustomIPPrefixListResultPage) 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 (*CustomIPPrefixListResultPage) NextWithContext

func (page *CustomIPPrefixListResultPage) 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 (CustomIPPrefixListResultPage) NotDone

func (page CustomIPPrefixListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CustomIPPrefixListResultPage) Response

Response returns the raw server response from the last page request.

func (CustomIPPrefixListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type CustomIPPrefixPropertiesFormat

type CustomIPPrefixPropertiesFormat struct {
	// Cidr - The prefix range in CIDR notation. Should include the start address and the prefix length.
	Cidr *string `json:"cidr,omitempty"`
	// CommissionedState - The commissioned state of the Custom IP Prefix. Possible values include: 'Provisioning', 'Provisioned', 'Commissioning', 'Commissioned', 'Decommissioning', 'Deprovisioning'
	CommissionedState CommissionedState `json:"commissionedState,omitempty"`
	// PublicIPPrefixes - READ-ONLY; The list of all referenced PublicIpPrefixes.
	PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"`
	// ResourceGUID - READ-ONLY; The resource GUID property of the custom IP prefix resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the custom IP prefix resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

CustomIPPrefixPropertiesFormat custom IP prefix properties.

func (CustomIPPrefixPropertiesFormat) MarshalJSON

func (cippf CustomIPPrefixPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomIPPrefixPropertiesFormat.

type CustomIPPrefixesClient

type CustomIPPrefixesClient struct {
	BaseClient
}

CustomIPPrefixesClient is the network Client

func NewCustomIPPrefixesClient

func NewCustomIPPrefixesClient(subscriptionID string) CustomIPPrefixesClient

NewCustomIPPrefixesClient creates an instance of the CustomIPPrefixesClient client.

func NewCustomIPPrefixesClientWithBaseURI

func NewCustomIPPrefixesClientWithBaseURI(baseURI string, subscriptionID string) CustomIPPrefixesClient

NewCustomIPPrefixesClientWithBaseURI creates an instance of the CustomIPPrefixesClient 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 (CustomIPPrefixesClient) CreateOrUpdate

func (client CustomIPPrefixesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters CustomIPPrefix) (result CustomIPPrefixesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a custom IP prefix. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the custom IP prefix. parameters - parameters supplied to the create or update custom IP prefix operation.

func (CustomIPPrefixesClient) CreateOrUpdatePreparer

func (client CustomIPPrefixesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters CustomIPPrefix) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CustomIPPrefixesClient) CreateOrUpdateResponder

func (client CustomIPPrefixesClient) CreateOrUpdateResponder(resp *http.Response) (result CustomIPPrefix, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (CustomIPPrefixesClient) CreateOrUpdateSender

func (client CustomIPPrefixesClient) CreateOrUpdateSender(req *http.Request) (future CustomIPPrefixesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (CustomIPPrefixesClient) Delete

func (client CustomIPPrefixesClient) Delete(ctx context.Context, resourceGroupName string, customIPPrefixName string) (result CustomIPPrefixesDeleteFuture, err error)

Delete deletes the specified custom IP prefix. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the CustomIpPrefix.

func (CustomIPPrefixesClient) DeletePreparer

func (client CustomIPPrefixesClient) DeletePreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CustomIPPrefixesClient) DeleteResponder

func (client CustomIPPrefixesClient) 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 (CustomIPPrefixesClient) DeleteSender

func (client CustomIPPrefixesClient) DeleteSender(req *http.Request) (future CustomIPPrefixesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CustomIPPrefixesClient) Get

func (client CustomIPPrefixesClient) Get(ctx context.Context, resourceGroupName string, customIPPrefixName string, expand string) (result CustomIPPrefix, err error)

Get gets the specified custom IP prefix in a specified resource group. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the custom IP prefix. expand - expands referenced resources.

func (CustomIPPrefixesClient) GetPreparer

func (client CustomIPPrefixesClient) GetPreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CustomIPPrefixesClient) GetResponder

func (client CustomIPPrefixesClient) GetResponder(resp *http.Response) (result CustomIPPrefix, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CustomIPPrefixesClient) GetSender

func (client CustomIPPrefixesClient) 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 (CustomIPPrefixesClient) List

func (client CustomIPPrefixesClient) List(ctx context.Context, resourceGroupName string) (result CustomIPPrefixListResultPage, err error)

List gets all custom IP prefixes in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (CustomIPPrefixesClient) ListAll

func (client CustomIPPrefixesClient) ListAll(ctx context.Context) (result CustomIPPrefixListResultPage, err error)

ListAll gets all the custom IP prefixes in a subscription.

func (CustomIPPrefixesClient) ListAllComplete

func (client CustomIPPrefixesClient) ListAllComplete(ctx context.Context) (result CustomIPPrefixListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomIPPrefixesClient) ListAllPreparer

func (client CustomIPPrefixesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (CustomIPPrefixesClient) ListAllResponder

func (client CustomIPPrefixesClient) ListAllResponder(resp *http.Response) (result CustomIPPrefixListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (CustomIPPrefixesClient) ListAllSender

func (client CustomIPPrefixesClient) 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 (CustomIPPrefixesClient) ListComplete

func (client CustomIPPrefixesClient) ListComplete(ctx context.Context, resourceGroupName string) (result CustomIPPrefixListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CustomIPPrefixesClient) ListPreparer

func (client CustomIPPrefixesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (CustomIPPrefixesClient) ListResponder

func (client CustomIPPrefixesClient) ListResponder(resp *http.Response) (result CustomIPPrefixListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CustomIPPrefixesClient) ListSender

func (client CustomIPPrefixesClient) 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 (CustomIPPrefixesClient) UpdateTags

func (client CustomIPPrefixesClient) UpdateTags(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters TagsObject) (result CustomIPPrefix, err error)

UpdateTags updates custom IP prefix tags. Parameters: resourceGroupName - the name of the resource group. customIPPrefixName - the name of the custom IP prefix. parameters - parameters supplied to update custom IP prefix tags.

func (CustomIPPrefixesClient) UpdateTagsPreparer

func (client CustomIPPrefixesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, customIPPrefixName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (CustomIPPrefixesClient) UpdateTagsResponder

func (client CustomIPPrefixesClient) UpdateTagsResponder(resp *http.Response) (result CustomIPPrefix, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (CustomIPPrefixesClient) UpdateTagsSender

func (client CustomIPPrefixesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type CustomIPPrefixesCreateOrUpdateFuture

type CustomIPPrefixesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CustomIPPrefixesClient) (CustomIPPrefix, error)
}

CustomIPPrefixesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CustomIPPrefixesCreateOrUpdateFuture) UnmarshalJSON

func (future *CustomIPPrefixesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomIPPrefixesDeleteFuture

type CustomIPPrefixesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(CustomIPPrefixesClient) (autorest.Response, error)
}

CustomIPPrefixesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*CustomIPPrefixesDeleteFuture) UnmarshalJSON

func (future *CustomIPPrefixesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

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 DNSSettings

type DNSSettings struct {
	// Servers - List of Custom DNS Servers.
	Servers *[]string `json:"servers,omitempty"`
	// EnableProxy - Enable DNS Proxy on Firewalls attached to the Firewall Policy.
	EnableProxy *bool `json:"enableProxy,omitempty"`
	// RequireProxyForNetworkRules - FQDNs in Network Rules are supported when set to true.
	RequireProxyForNetworkRules *bool `json:"requireProxyForNetworkRules,omitempty"`
}

DNSSettings DNS Proxy Settings in Firewall Policy.

type DdosCustomPoliciesClient

type DdosCustomPoliciesClient struct {
	BaseClient
}

DdosCustomPoliciesClient is the network Client

func NewDdosCustomPoliciesClient

func NewDdosCustomPoliciesClient(subscriptionID string) DdosCustomPoliciesClient

NewDdosCustomPoliciesClient creates an instance of the DdosCustomPoliciesClient client.

func NewDdosCustomPoliciesClientWithBaseURI

func NewDdosCustomPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DdosCustomPoliciesClient

NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DdosCustomPoliciesClient) CreateOrUpdate

func (client DdosCustomPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy) (result DdosCustomPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy. parameters - parameters supplied to the create or update operation.

func (DdosCustomPoliciesClient) CreateOrUpdatePreparer

func (client DdosCustomPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters DdosCustomPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DdosCustomPoliciesClient) CreateOrUpdateResponder

func (client DdosCustomPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result DdosCustomPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DdosCustomPoliciesClient) CreateOrUpdateSender

func (client DdosCustomPoliciesClient) CreateOrUpdateSender(req *http.Request) (future DdosCustomPoliciesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DdosCustomPoliciesClient) Delete

func (client DdosCustomPoliciesClient) Delete(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (result DdosCustomPoliciesDeleteFuture, err error)

Delete deletes the specified DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy.

func (DdosCustomPoliciesClient) DeletePreparer

func (client DdosCustomPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DdosCustomPoliciesClient) DeleteResponder

func (client DdosCustomPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DdosCustomPoliciesClient) DeleteSender

func (client DdosCustomPoliciesClient) DeleteSender(req *http.Request) (future DdosCustomPoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DdosCustomPoliciesClient) Get

func (client DdosCustomPoliciesClient) Get(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (result DdosCustomPolicy, err error)

Get gets information about the specified DDoS custom policy. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy.

func (DdosCustomPoliciesClient) GetPreparer

func (client DdosCustomPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DdosCustomPoliciesClient) GetResponder

func (client DdosCustomPoliciesClient) GetResponder(resp *http.Response) (result DdosCustomPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DdosCustomPoliciesClient) GetSender

func (client DdosCustomPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DdosCustomPoliciesClient) UpdateTags

func (client DdosCustomPoliciesClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject) (result DdosCustomPolicy, err error)

UpdateTags update a DDoS custom policy tags. Parameters: resourceGroupName - the name of the resource group. ddosCustomPolicyName - the name of the DDoS custom policy. parameters - parameters supplied to update DDoS custom policy resource tags.

func (DdosCustomPoliciesClient) UpdateTagsPreparer

func (client DdosCustomPoliciesClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, ddosCustomPolicyName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (DdosCustomPoliciesClient) UpdateTagsResponder

func (client DdosCustomPoliciesClient) UpdateTagsResponder(resp *http.Response) (result DdosCustomPolicy, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (DdosCustomPoliciesClient) UpdateTagsSender

func (client DdosCustomPoliciesClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type DdosCustomPoliciesCreateOrUpdateFuture

type DdosCustomPoliciesCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DdosCustomPoliciesClient) (DdosCustomPolicy, error)
}

DdosCustomPoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosCustomPoliciesCreateOrUpdateFuture) UnmarshalJSON

func (future *DdosCustomPoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DdosCustomPoliciesDeleteFuture

type DdosCustomPoliciesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DdosCustomPoliciesClient) (autorest.Response, error)
}

DdosCustomPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosCustomPoliciesDeleteFuture) UnmarshalJSON

func (future *DdosCustomPoliciesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DdosCustomPolicy

type DdosCustomPolicy struct {
	autorest.Response `json:"-"`
	// DdosCustomPolicyPropertiesFormat - Properties of the DDoS custom policy.
	*DdosCustomPolicyPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

DdosCustomPolicy a DDoS custom policy in a resource group.

func (DdosCustomPolicy) MarshalJSON

func (dcp DdosCustomPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosCustomPolicy.

func (*DdosCustomPolicy) UnmarshalJSON

func (dcp *DdosCustomPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DdosCustomPolicy struct.

type DdosCustomPolicyPropertiesFormat

type DdosCustomPolicyPropertiesFormat struct {
	// ResourceGUID - READ-ONLY; The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the DDoS custom policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PublicIPAddresses - READ-ONLY; The list of public IPs associated with the DDoS custom policy resource. This list is read-only.
	PublicIPAddresses *[]SubResource `json:"publicIPAddresses,omitempty"`
	// ProtocolCustomSettings - The protocol-specific DDoS policy customization parameters.
	ProtocolCustomSettings *[]ProtocolCustomSettingsFormat `json:"protocolCustomSettings,omitempty"`
}

DdosCustomPolicyPropertiesFormat dDoS custom policy properties.

func (DdosCustomPolicyPropertiesFormat) MarshalJSON

func (dcppf DdosCustomPolicyPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosCustomPolicyPropertiesFormat.

type DdosCustomPolicyProtocol

type DdosCustomPolicyProtocol string

DdosCustomPolicyProtocol enumerates the values for ddos custom policy protocol.

const (
	// DdosCustomPolicyProtocolSyn ...
	DdosCustomPolicyProtocolSyn DdosCustomPolicyProtocol = "Syn"
	// DdosCustomPolicyProtocolTCP ...
	DdosCustomPolicyProtocolTCP DdosCustomPolicyProtocol = "Tcp"
	// DdosCustomPolicyProtocolUDP ...
	DdosCustomPolicyProtocolUDP DdosCustomPolicyProtocol = "Udp"
)

func PossibleDdosCustomPolicyProtocolValues

func PossibleDdosCustomPolicyProtocolValues() []DdosCustomPolicyProtocol

PossibleDdosCustomPolicyProtocolValues returns an array of possible values for the DdosCustomPolicyProtocol const type.

type DdosCustomPolicyTriggerSensitivityOverride

type DdosCustomPolicyTriggerSensitivityOverride string

DdosCustomPolicyTriggerSensitivityOverride enumerates the values for ddos custom policy trigger sensitivity override.

const (
	// DdosCustomPolicyTriggerSensitivityOverrideDefault ...
	DdosCustomPolicyTriggerSensitivityOverrideDefault DdosCustomPolicyTriggerSensitivityOverride = "Default"
	// DdosCustomPolicyTriggerSensitivityOverrideHigh ...
	DdosCustomPolicyTriggerSensitivityOverrideHigh DdosCustomPolicyTriggerSensitivityOverride = "High"
	// DdosCustomPolicyTriggerSensitivityOverrideLow ...
	DdosCustomPolicyTriggerSensitivityOverrideLow DdosCustomPolicyTriggerSensitivityOverride = "Low"
	// DdosCustomPolicyTriggerSensitivityOverrideRelaxed ...
	DdosCustomPolicyTriggerSensitivityOverrideRelaxed DdosCustomPolicyTriggerSensitivityOverride = "Relaxed"
)

func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues

func PossibleDdosCustomPolicyTriggerSensitivityOverrideValues() []DdosCustomPolicyTriggerSensitivityOverride

PossibleDdosCustomPolicyTriggerSensitivityOverrideValues returns an array of possible values for the DdosCustomPolicyTriggerSensitivityOverride const type.

type DdosProtectionPlan

type DdosProtectionPlan struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// DdosProtectionPlanPropertiesFormat - Properties of the DDoS protection plan.
	*DdosProtectionPlanPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
}

DdosProtectionPlan a DDoS protection plan in a resource group.

func (DdosProtectionPlan) MarshalJSON

func (dpp DdosProtectionPlan) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosProtectionPlan.

func (*DdosProtectionPlan) UnmarshalJSON

func (dpp *DdosProtectionPlan) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DdosProtectionPlan struct.

type DdosProtectionPlanListResult

type DdosProtectionPlanListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of DDoS protection plans.
	Value *[]DdosProtectionPlan `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DdosProtectionPlanListResult a list of DDoS protection plans.

func (DdosProtectionPlanListResult) IsEmpty

func (dpplr DdosProtectionPlanListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DdosProtectionPlanListResult) MarshalJSON

func (dpplr DdosProtectionPlanListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosProtectionPlanListResult.

type DdosProtectionPlanListResultIterator

type DdosProtectionPlanListResultIterator struct {
	// contains filtered or unexported fields
}

DdosProtectionPlanListResultIterator provides access to a complete listing of DdosProtectionPlan values.

func NewDdosProtectionPlanListResultIterator

func NewDdosProtectionPlanListResultIterator(page DdosProtectionPlanListResultPage) DdosProtectionPlanListResultIterator

Creates a new instance of the DdosProtectionPlanListResultIterator type.

func (*DdosProtectionPlanListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DdosProtectionPlanListResultIterator) NextWithContext

func (iter *DdosProtectionPlanListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DdosProtectionPlanListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DdosProtectionPlanListResultIterator) Response

Response returns the raw server response from the last page request.

func (DdosProtectionPlanListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DdosProtectionPlanListResultPage

type DdosProtectionPlanListResultPage struct {
	// contains filtered or unexported fields
}

DdosProtectionPlanListResultPage contains a page of DdosProtectionPlan values.

func NewDdosProtectionPlanListResultPage

Creates a new instance of the DdosProtectionPlanListResultPage type.

func (*DdosProtectionPlanListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DdosProtectionPlanListResultPage) NextWithContext

func (page *DdosProtectionPlanListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DdosProtectionPlanListResultPage) NotDone

func (page DdosProtectionPlanListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DdosProtectionPlanListResultPage) Response

Response returns the raw server response from the last page request.

func (DdosProtectionPlanListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DdosProtectionPlanPropertiesFormat

type DdosProtectionPlanPropertiesFormat struct {
	// ResourceGUID - READ-ONLY; The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the DDoS protection plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// VirtualNetworks - READ-ONLY; The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.
	VirtualNetworks *[]SubResource `json:"virtualNetworks,omitempty"`
}

DdosProtectionPlanPropertiesFormat dDoS protection plan properties.

func (DdosProtectionPlanPropertiesFormat) MarshalJSON

func (dpppf DdosProtectionPlanPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DdosProtectionPlanPropertiesFormat.

type DdosProtectionPlansClient

type DdosProtectionPlansClient struct {
	BaseClient
}

DdosProtectionPlansClient is the network Client

func NewDdosProtectionPlansClient

func NewDdosProtectionPlansClient(subscriptionID string) DdosProtectionPlansClient

NewDdosProtectionPlansClient creates an instance of the DdosProtectionPlansClient client.

func NewDdosProtectionPlansClientWithBaseURI

func NewDdosProtectionPlansClientWithBaseURI(baseURI string, subscriptionID string) DdosProtectionPlansClient

NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DdosProtectionPlansClient) CreateOrUpdate

func (client DdosProtectionPlansClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan) (result DdosProtectionPlansCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan. parameters - parameters supplied to the create or update operation.

func (DdosProtectionPlansClient) CreateOrUpdatePreparer

func (client DdosProtectionPlansClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters DdosProtectionPlan) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DdosProtectionPlansClient) CreateOrUpdateResponder

func (client DdosProtectionPlansClient) CreateOrUpdateResponder(resp *http.Response) (result DdosProtectionPlan, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) CreateOrUpdateSender

func (client DdosProtectionPlansClient) CreateOrUpdateSender(req *http.Request) (future DdosProtectionPlansCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DdosProtectionPlansClient) Delete

func (client DdosProtectionPlansClient) Delete(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result DdosProtectionPlansDeleteFuture, err error)

Delete deletes the specified DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan.

func (DdosProtectionPlansClient) DeletePreparer

func (client DdosProtectionPlansClient) DeletePreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DdosProtectionPlansClient) DeleteResponder

func (client DdosProtectionPlansClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) DeleteSender

func (client DdosProtectionPlansClient) DeleteSender(req *http.Request) (future DdosProtectionPlansDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DdosProtectionPlansClient) Get

func (client DdosProtectionPlansClient) Get(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result DdosProtectionPlan, err error)

Get gets information about the specified DDoS protection plan. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan.

func (DdosProtectionPlansClient) GetPreparer

func (client DdosProtectionPlansClient) GetPreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DdosProtectionPlansClient) GetResponder

func (client DdosProtectionPlansClient) GetResponder(resp *http.Response) (result DdosProtectionPlan, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) GetSender

func (client DdosProtectionPlansClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DdosProtectionPlansClient) List

List gets all DDoS protection plans in a subscription.

func (DdosProtectionPlansClient) ListByResourceGroup

func (client DdosProtectionPlansClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DdosProtectionPlanListResultPage, err error)

ListByResourceGroup gets all the DDoS protection plans in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (DdosProtectionPlansClient) ListByResourceGroupComplete

func (client DdosProtectionPlansClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DdosProtectionPlanListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DdosProtectionPlansClient) ListByResourceGroupPreparer

func (client DdosProtectionPlansClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DdosProtectionPlansClient) ListByResourceGroupResponder

func (client DdosProtectionPlansClient) ListByResourceGroupResponder(resp *http.Response) (result DdosProtectionPlanListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) ListByResourceGroupSender

func (client DdosProtectionPlansClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DdosProtectionPlansClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DdosProtectionPlansClient) ListPreparer

func (client DdosProtectionPlansClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DdosProtectionPlansClient) ListResponder

func (client DdosProtectionPlansClient) ListResponder(resp *http.Response) (result DdosProtectionPlanListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) ListSender

func (client DdosProtectionPlansClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DdosProtectionPlansClient) UpdateTags

func (client DdosProtectionPlansClient) UpdateTags(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject) (result DdosProtectionPlan, err error)

UpdateTags update a DDoS protection plan tags. Parameters: resourceGroupName - the name of the resource group. ddosProtectionPlanName - the name of the DDoS protection plan. parameters - parameters supplied to the update DDoS protection plan resource tags.

func (DdosProtectionPlansClient) UpdateTagsPreparer

func (client DdosProtectionPlansClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (DdosProtectionPlansClient) UpdateTagsResponder

func (client DdosProtectionPlansClient) UpdateTagsResponder(resp *http.Response) (result DdosProtectionPlan, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (DdosProtectionPlansClient) UpdateTagsSender

func (client DdosProtectionPlansClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type DdosProtectionPlansCreateOrUpdateFuture

type DdosProtectionPlansCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DdosProtectionPlansClient) (DdosProtectionPlan, error)
}

DdosProtectionPlansCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosProtectionPlansCreateOrUpdateFuture) UnmarshalJSON

func (future *DdosProtectionPlansCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DdosProtectionPlansDeleteFuture

type DdosProtectionPlansDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DdosProtectionPlansClient) (autorest.Response, error)
}

DdosProtectionPlansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DdosProtectionPlansDeleteFuture) UnmarshalJSON

func (future *DdosProtectionPlansDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DdosSettings

type DdosSettings struct {
	// DdosCustomPolicy - The DDoS custom policy associated with the public IP.
	DdosCustomPolicy *SubResource `json:"ddosCustomPolicy,omitempty"`
	// ProtectionCoverage - The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'DdosSettingsProtectionCoverageBasic', 'DdosSettingsProtectionCoverageStandard'
	ProtectionCoverage DdosSettingsProtectionCoverage `json:"protectionCoverage,omitempty"`
	// ProtectedIP - Enables DDoS protection on the public IP.
	ProtectedIP *bool `json:"protectedIP,omitempty"`
}

DdosSettings contains the DDoS protection settings of the public IP.

type DdosSettingsProtectionCoverage

type DdosSettingsProtectionCoverage string

DdosSettingsProtectionCoverage enumerates the values for ddos settings protection coverage.

const (
	// DdosSettingsProtectionCoverageBasic ...
	DdosSettingsProtectionCoverageBasic DdosSettingsProtectionCoverage = "Basic"
	// DdosSettingsProtectionCoverageStandard ...
	DdosSettingsProtectionCoverageStandard DdosSettingsProtectionCoverage = "Standard"
)

func PossibleDdosSettingsProtectionCoverageValues

func PossibleDdosSettingsProtectionCoverageValues() []DdosSettingsProtectionCoverage

PossibleDdosSettingsProtectionCoverageValues returns an array of possible values for the DdosSettingsProtectionCoverage const type.

type DefaultSecurityRulesClient

type DefaultSecurityRulesClient struct {
	BaseClient
}

DefaultSecurityRulesClient is the network Client

func NewDefaultSecurityRulesClient

func NewDefaultSecurityRulesClient(subscriptionID string) DefaultSecurityRulesClient

NewDefaultSecurityRulesClient creates an instance of the DefaultSecurityRulesClient client.

func NewDefaultSecurityRulesClientWithBaseURI

func NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) DefaultSecurityRulesClient

NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DefaultSecurityRulesClient) Get

func (client DefaultSecurityRulesClient) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (result SecurityRule, err error)

Get get the specified default network security rule. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group. defaultSecurityRuleName - the name of the default security rule.

func (DefaultSecurityRulesClient) GetPreparer

func (client DefaultSecurityRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DefaultSecurityRulesClient) GetResponder

func (client DefaultSecurityRulesClient) GetResponder(resp *http.Response) (result SecurityRule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DefaultSecurityRulesClient) GetSender

func (client DefaultSecurityRulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DefaultSecurityRulesClient) List

func (client DefaultSecurityRulesClient) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultPage, err error)

List gets all default security rules in a network security group. Parameters: resourceGroupName - the name of the resource group. networkSecurityGroupName - the name of the network security group.

func (DefaultSecurityRulesClient) ListComplete

func (client DefaultSecurityRulesClient) ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result SecurityRuleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DefaultSecurityRulesClient) ListPreparer

func (client DefaultSecurityRulesClient) ListPreparer(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DefaultSecurityRulesClient) ListResponder

func (client DefaultSecurityRulesClient) ListResponder(resp *http.Response) (result SecurityRuleListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DefaultSecurityRulesClient) ListSender

func (client DefaultSecurityRulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Delegation

type Delegation struct {
	// ServiceDelegationPropertiesFormat - Properties of the subnet.
	*ServiceDelegationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a subnet. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - 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"`
}

Delegation details the service to which the subnet is delegated.

func (Delegation) MarshalJSON

func (d Delegation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Delegation.

func (*Delegation) UnmarshalJSON

func (d *Delegation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Delegation struct.

type DeleteBastionShareableLinkFuture

type DeleteBastionShareableLinkFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(BaseClient) (autorest.Response, error)
}

DeleteBastionShareableLinkFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DeleteBastionShareableLinkFuture) UnmarshalJSON

func (future *DeleteBastionShareableLinkFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DestinationPortBehavior

type DestinationPortBehavior string

DestinationPortBehavior enumerates the values for destination port behavior.

const (
	// ListenIfAvailable ...
	ListenIfAvailable DestinationPortBehavior = "ListenIfAvailable"
	// None ...
	None DestinationPortBehavior = "None"
)

func PossibleDestinationPortBehaviorValues

func PossibleDestinationPortBehaviorValues() []DestinationPortBehavior

PossibleDestinationPortBehaviorValues returns an array of possible values for the DestinationPortBehavior const type.

type DeviceProperties

type DeviceProperties struct {
	// DeviceVendor - Name of the device Vendor.
	DeviceVendor *string `json:"deviceVendor,omitempty"`
	// DeviceModel - Model of the device.
	DeviceModel *string `json:"deviceModel,omitempty"`
	// LinkSpeedInMbps - Link speed.
	LinkSpeedInMbps *int32 `json:"linkSpeedInMbps,omitempty"`
}

DeviceProperties list of properties of the device.

type DhGroup

type DhGroup string

DhGroup enumerates the values for dh group.

const (
	// DhGroupDHGroup1 ...
	DhGroupDHGroup1 DhGroup = "DHGroup1"
	// DhGroupDHGroup14 ...
	DhGroupDHGroup14 DhGroup = "DHGroup14"
	// DhGroupDHGroup2 ...
	DhGroupDHGroup2 DhGroup = "DHGroup2"
	// DhGroupDHGroup2048 ...
	DhGroupDHGroup2048 DhGroup = "DHGroup2048"
	// DhGroupDHGroup24 ...
	DhGroupDHGroup24 DhGroup = "DHGroup24"
	// DhGroupECP256 ...
	DhGroupECP256 DhGroup = "ECP256"
	// DhGroupECP384 ...
	DhGroupECP384 DhGroup = "ECP384"
	// DhGroupNone ...
	DhGroupNone DhGroup = "None"
)

func PossibleDhGroupValues

func PossibleDhGroupValues() []DhGroup

PossibleDhGroupValues returns an array of possible values for the DhGroup const type.

type DhcpOptions

type DhcpOptions struct {
	// DNSServers - The list of DNS servers IP addresses.
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

DhcpOptions dhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.

type Dimension

type Dimension struct {
	// Name - The name of the dimension.
	Name *string `json:"name,omitempty"`
	// DisplayName - The display name of the dimension.
	DisplayName *string `json:"displayName,omitempty"`
	// InternalName - The internal name of the dimension.
	InternalName *string `json:"internalName,omitempty"`
}

Dimension dimension of the metric.

type Direction

type Direction string

Direction enumerates the values for direction.

const (
	// Inbound ...
	Inbound Direction = "Inbound"
	// Outbound ...
	Outbound Direction = "Outbound"
)

func PossibleDirectionValues

func PossibleDirectionValues() []Direction

PossibleDirectionValues returns an array of possible values for the Direction const type.

type DscpConfiguration

type DscpConfiguration struct {
	autorest.Response `json:"-"`
	// DscpConfigurationPropertiesFormat - Properties of the network interface.
	*DscpConfigurationPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

DscpConfiguration DSCP Configuration in a resource group.

func (DscpConfiguration) MarshalJSON

func (dc DscpConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscpConfiguration.

func (*DscpConfiguration) UnmarshalJSON

func (dc *DscpConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DscpConfiguration struct.

type DscpConfigurationClient

type DscpConfigurationClient struct {
	BaseClient
}

DscpConfigurationClient is the network Client

func NewDscpConfigurationClient

func NewDscpConfigurationClient(subscriptionID string) DscpConfigurationClient

NewDscpConfigurationClient creates an instance of the DscpConfigurationClient client.

func NewDscpConfigurationClientWithBaseURI

func NewDscpConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscpConfigurationClient

NewDscpConfigurationClientWithBaseURI creates an instance of the DscpConfigurationClient 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 (DscpConfigurationClient) CreateOrUpdate

func (client DscpConfigurationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, dscpConfigurationName string, parameters DscpConfiguration) (result DscpConfigurationCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group. dscpConfigurationName - the name of the resource. parameters - parameters supplied to the create or update dscp configuration operation.

func (DscpConfigurationClient) CreateOrUpdatePreparer

func (client DscpConfigurationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, dscpConfigurationName string, parameters DscpConfiguration) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DscpConfigurationClient) CreateOrUpdateResponder

func (client DscpConfigurationClient) CreateOrUpdateResponder(resp *http.Response) (result DscpConfiguration, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DscpConfigurationClient) CreateOrUpdateSender

func (client DscpConfigurationClient) CreateOrUpdateSender(req *http.Request) (future DscpConfigurationCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DscpConfigurationClient) Delete

func (client DscpConfigurationClient) Delete(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (result DscpConfigurationDeleteFuture, err error)

Delete deletes a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group. dscpConfigurationName - the name of the resource.

func (DscpConfigurationClient) DeletePreparer

func (client DscpConfigurationClient) DeletePreparer(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DscpConfigurationClient) DeleteResponder

func (client DscpConfigurationClient) 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 (DscpConfigurationClient) DeleteSender

func (client DscpConfigurationClient) DeleteSender(req *http.Request) (future DscpConfigurationDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DscpConfigurationClient) Get

func (client DscpConfigurationClient) Get(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (result DscpConfiguration, err error)

Get gets a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group. dscpConfigurationName - the name of the resource.

func (DscpConfigurationClient) GetPreparer

func (client DscpConfigurationClient) GetPreparer(ctx context.Context, resourceGroupName string, dscpConfigurationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DscpConfigurationClient) GetResponder

func (client DscpConfigurationClient) GetResponder(resp *http.Response) (result DscpConfiguration, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DscpConfigurationClient) GetSender

func (client DscpConfigurationClient) 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 (DscpConfigurationClient) List

func (client DscpConfigurationClient) List(ctx context.Context, resourceGroupName string) (result DscpConfigurationListResultPage, err error)

List gets a DSCP Configuration. Parameters: resourceGroupName - the name of the resource group.

func (DscpConfigurationClient) ListAll

ListAll gets all dscp configurations in a subscription.

func (DscpConfigurationClient) ListAllComplete

func (client DscpConfigurationClient) ListAllComplete(ctx context.Context) (result DscpConfigurationListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (DscpConfigurationClient) ListAllPreparer

func (client DscpConfigurationClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (DscpConfigurationClient) ListAllResponder

func (client DscpConfigurationClient) ListAllResponder(resp *http.Response) (result DscpConfigurationListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (DscpConfigurationClient) ListAllSender

func (client DscpConfigurationClient) 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 (DscpConfigurationClient) ListComplete

func (client DscpConfigurationClient) ListComplete(ctx context.Context, resourceGroupName string) (result DscpConfigurationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DscpConfigurationClient) ListPreparer

func (client DscpConfigurationClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DscpConfigurationClient) ListResponder

func (client DscpConfigurationClient) ListResponder(resp *http.Response) (result DscpConfigurationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DscpConfigurationClient) ListSender

func (client DscpConfigurationClient) 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 DscpConfigurationCreateOrUpdateFuture

type DscpConfigurationCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DscpConfigurationClient) (DscpConfiguration, error)
}

DscpConfigurationCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DscpConfigurationCreateOrUpdateFuture) UnmarshalJSON

func (future *DscpConfigurationCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DscpConfigurationDeleteFuture

type DscpConfigurationDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(DscpConfigurationClient) (autorest.Response, error)
}

DscpConfigurationDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DscpConfigurationDeleteFuture) UnmarshalJSON

func (future *DscpConfigurationDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DscpConfigurationListResult

type DscpConfigurationListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of dscp configurations in a resource group.
	Value *[]DscpConfiguration `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

DscpConfigurationListResult response for the DscpConfigurationList API service call.

func (DscpConfigurationListResult) IsEmpty

func (dclr DscpConfigurationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DscpConfigurationListResult) MarshalJSON

func (dclr DscpConfigurationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscpConfigurationListResult.

type DscpConfigurationListResultIterator

type DscpConfigurationListResultIterator struct {
	// contains filtered or unexported fields
}

DscpConfigurationListResultIterator provides access to a complete listing of DscpConfiguration values.

func NewDscpConfigurationListResultIterator

func NewDscpConfigurationListResultIterator(page DscpConfigurationListResultPage) DscpConfigurationListResultIterator

Creates a new instance of the DscpConfigurationListResultIterator type.

func (*DscpConfigurationListResultIterator) 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 (*DscpConfigurationListResultIterator) NextWithContext

func (iter *DscpConfigurationListResultIterator) 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 (DscpConfigurationListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (DscpConfigurationListResultIterator) Response

Response returns the raw server response from the last page request.

func (DscpConfigurationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DscpConfigurationListResultPage

type DscpConfigurationListResultPage struct {
	// contains filtered or unexported fields
}

DscpConfigurationListResultPage contains a page of DscpConfiguration values.

func NewDscpConfigurationListResultPage

Creates a new instance of the DscpConfigurationListResultPage type.

func (*DscpConfigurationListResultPage) 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 (*DscpConfigurationListResultPage) NextWithContext

func (page *DscpConfigurationListResultPage) 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 (DscpConfigurationListResultPage) NotDone

func (page DscpConfigurationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DscpConfigurationListResultPage) Response

Response returns the raw server response from the last page request.

func (DscpConfigurationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type DscpConfigurationPropertiesFormat

type DscpConfigurationPropertiesFormat struct {
	// Markings - List of markings to be used in the configuration.
	Markings *[]int32 `json:"markings,omitempty"`
	// SourceIPRanges - Source IP ranges.
	SourceIPRanges *[]QosIPRange `json:"sourceIpRanges,omitempty"`
	// DestinationIPRanges - Destination IP ranges.
	DestinationIPRanges *[]QosIPRange `json:"destinationIpRanges,omitempty"`
	// SourcePortRanges - Sources port ranges.
	SourcePortRanges *[]QosPortRange `json:"sourcePortRanges,omitempty"`
	// DestinationPortRanges - Destination port ranges.
	DestinationPortRanges *[]QosPortRange `json:"destinationPortRanges,omitempty"`
	// Protocol - RNM supported protocol types. Possible values include: 'ProtocolTypeDoNotUse', 'ProtocolTypeIcmp', 'ProtocolTypeTCP', 'ProtocolTypeUDP', 'ProtocolTypeGre', 'ProtocolTypeEsp', 'ProtocolTypeAh', 'ProtocolTypeVxlan', 'ProtocolTypeAll'
	Protocol ProtocolType `json:"protocol,omitempty"`
	// QosCollectionID - READ-ONLY; Qos Collection ID generated by RNM.
	QosCollectionID *string `json:"qosCollectionId,omitempty"`
	// AssociatedNetworkInterfaces - READ-ONLY; Associated Network Interfaces to the DSCP Configuration.
	AssociatedNetworkInterfaces *[]Interface `json:"associatedNetworkInterfaces,omitempty"`
	// ResourceGUID - READ-ONLY; The resource GUID property of the DSCP Configuration resource.
	ResourceGUID *string `json:"resourceGuid,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the DSCP Configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

DscpConfigurationPropertiesFormat DSCP Configuration properties.

func (DscpConfigurationPropertiesFormat) MarshalJSON

func (dcpf DscpConfigurationPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DscpConfigurationPropertiesFormat.

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 include: 'EffectiveSecurityRuleProtocolTCP', 'EffectiveSecurityRuleProtocolUDP', 'EffectiveSecurityRuleProtocolAll'
	Protocol EffectiveSecurityRuleProtocol `json:"protocol,omitempty"`
	// SourcePortRange - The source port or range.
	SourcePortRange *string `json:"sourcePortRange,omitempty"`
	// DestinationPortRange - The destination port or range.
	DestinationPortRange *string `json:"destinationPortRange,omitempty"`
	// SourcePortRanges - The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
	SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"`
	// DestinationPortRanges - The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).
	DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"`
	// SourceAddressPrefix - The source address prefix.
	SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"`
	// DestinationAddressPrefix - The destination address prefix.
	DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"`
	// SourceAddressPrefixes - The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
	SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"`
	// DestinationAddressPrefixes - The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).
	DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"`
	// ExpandedSourceAddressPrefix - The expanded source address prefix.
	ExpandedSourceAddressPrefix *[]string `json:"expandedSourceAddressPrefix,omitempty"`
	// ExpandedDestinationAddressPrefix - Expanded destination address prefix.
	ExpandedDestinationAddressPrefix *[]string `json:"expandedDestinationAddressPrefix,omitempty"`
	// Access - Whether network traffic is allowed or denied. Possible values include: 'SecurityRuleAccessAllow', 'SecurityRuleAccessDeny'
	Access SecurityRuleAccess `json:"access,omitempty"`
	// Priority - The priority of the rule.
	Priority *int32 `json:"priority,omitempty"`
	// Direction - The direction of the rule. Possible values include: 'SecurityRuleDirectionInbound', 'SecurityRuleDirectionOutbound'
	Direction SecurityRuleDirection `json:"direction,omitempty"`
}

EffectiveNetworkSecurityRule effective network security rules.

type EffectiveRoute

type EffectiveRoute struct {
	// Name - The name of the user defined route. This is optional.
	Name *string `json:"name,omitempty"`
	// DisableBgpRoutePropagation - If true, on-premises routes are not propagated to the network interfaces in the subnet.
	DisableBgpRoutePropagation *bool `json:"disableBgpRoutePropagation,omitempty"`
	// Source - Who created the route. Possible values include: 'EffectiveRouteSourceUnknown', 'EffectiveRouteSourceUser', 'EffectiveRouteSourceVirtualNetworkGateway', 'EffectiveRouteSourceDefault'
	Source EffectiveRouteSource `json:"source,omitempty"`
	// State - The value of effective route. Possible values include: 'Active', 'Invalid'
	State EffectiveRouteState `json:"state,omitempty"`
	// AddressPrefix - The address prefixes of the effective routes in CIDR notation.
	AddressPrefix *[]string `json:"addressPrefix,omitempty"`
	// NextHopIPAddress - The IP address of the next hop of the effective route.
	NextHopIPAddress *[]string `json:"nextHopIpAddress,omitempty"`
	// NextHopType - The type of Azure hop the packet should be sent to. Possible values include: 'RouteNextHopTypeVirtualNetworkGateway', 'RouteNextHopTypeVnetLocal', 'RouteNextHopTypeInternet', 'RouteNextHopTypeVirtualAppliance', 'RouteNextHopTypeNone'
	NextHopType RouteNextHopType `json:"nextHopType,omitempty"`
}

EffectiveRoute effective Route.

type EffectiveRouteListResult

type EffectiveRouteListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of effective routes.
	Value *[]EffectiveRoute `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

EffectiveRouteListResult response for list effective route API service call.

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 EffectiveRoutesParameters

type EffectiveRoutesParameters struct {
	// ResourceID - The resource whose effective routes are being requested.
	ResourceID *string `json:"resourceId,omitempty"`
	// VirtualWanResourceType - The type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection.
	VirtualWanResourceType *string `json:"virtualWanResourceType,omitempty"`
}

EffectiveRoutesParameters the parameters specifying the resource whose effective routes are being requested.

type EffectiveSecurityRuleProtocol

type EffectiveSecurityRuleProtocol string

EffectiveSecurityRuleProtocol enumerates the values for effective security rule protocol.

const (
	// EffectiveSecurityRuleProtocolAll ...
	EffectiveSecurityRuleProtocolAll EffectiveSecurityRuleProtocol = "All"
	// EffectiveSecurityRuleProtocolTCP ...
	EffectiveSecurityRuleProtocolTCP EffectiveSecurityRuleProtocol = "Tcp"
	// EffectiveSecurityRuleProtocolUDP ...
	EffectiveSecurityRuleProtocolUDP EffectiveSecurityRuleProtocol = "Udp"
)

func PossibleEffectiveSecurityRuleProtocolValues

func PossibleEffectiveSecurityRuleProtocolValues() []EffectiveSecurityRuleProtocol

PossibleEffectiveSecurityRuleProtocolValues returns an array of possible values for the EffectiveSecurityRuleProtocol const type.

type EndpointServiceResult

type EndpointServiceResult struct {
	// Name - READ-ONLY; Name of the endpoint service.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of the endpoint service.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

EndpointServiceResult endpoint service.

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 EndpointType

type EndpointType string

EndpointType enumerates the values for endpoint type.

const (
	// AzureSubnet ...
	AzureSubnet EndpointType = "AzureSubnet"
	// AzureVM ...
	AzureVM EndpointType = "AzureVM"
	// AzureVNet ...
	AzureVNet EndpointType = "AzureVNet"
	// ExternalAddress ...
	ExternalAddress EndpointType = "ExternalAddress"
	// MMAWorkspaceMachine ...
	MMAWorkspaceMachine EndpointType = "MMAWorkspaceMachine"
	// MMAWorkspaceNetwork ...
	MMAWorkspaceNetwork EndpointType = "MMAWorkspaceNetwork"
)

func PossibleEndpointTypeValues

func PossibleEndpointTypeValues() []EndpointType

PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.

type Error

type Error struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Message - Error message.
	Message *string `json:"message,omitempty"`
	// Target - Error target.
	Target *string `json:"target,omitempty"`
	// Details - Error details.
	Details *[]ErrorDetails `json:"details,omitempty"`
	// InnerError - Inner error message.
	InnerError *string `json:"innerError,omitempty"`
}

Error common error representation.

type ErrorDetails

type ErrorDetails struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Target - Error target.
	Target *string `json:"target,omitempty"`
	// Message - Error message.
	Message *string `json:"message,omitempty"`
}

ErrorDetails common error details representation.

type ErrorResponse

type ErrorResponse struct {
	// Error - The error details object.
	Error *ErrorDetails `json:"error,omitempty"`
}

ErrorResponse the error object.

type EvaluatedNetworkSecurityGroup

type EvaluatedNetworkSecurityGroup struct {
	// NetworkSecurityGroupID - Network security group ID.
	NetworkSecurityGroupID *string `json:"networkSecurityGroupId,omitempty"`
	// AppliedTo - Resource ID of nic or subnet to which network security group is applied.
	AppliedTo *string `json:"appliedTo,omitempty"`
	// MatchedRule - Matched network security rule.
	MatchedRule *MatchedRule `json:"matchedRule,omitempty"`
	// RulesEvaluationResult - READ-ONLY; List of network security rules evaluation results.
	RulesEvaluationResult *[]SecurityRulesEvaluationResult `json:"rulesEvaluationResult,omitempty"`
}

EvaluatedNetworkSecurityGroup results of network security group evaluation.

func (EvaluatedNetworkSecurityGroup) MarshalJSON

func (ensg EvaluatedNetworkSecurityGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EvaluatedNetworkSecurityGroup.

type EvaluationState

type EvaluationState string

EvaluationState enumerates the values for evaluation state.

const (
	// Completed ...
	Completed EvaluationState = "Completed"
	// InProgress ...
	InProgress EvaluationState = "InProgress"
	// NotStarted ...
	NotStarted EvaluationState = "NotStarted"
)

func PossibleEvaluationStateValues

func PossibleEvaluationStateValues() []EvaluationState

PossibleEvaluationStateValues returns an array of possible values for the EvaluationState const type.

type ExpressRouteCircuit

type ExpressRouteCircuit struct {
	autorest.Response `json:"-"`
	// Sku - The SKU.
	Sku *ExpressRouteCircuitSku `json:"sku,omitempty"`
	// ExpressRouteCircuitPropertiesFormat - Properties of the express route circuit.
	*ExpressRouteCircuitPropertiesFormat `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRouteCircuit expressRouteCircuit resource.

func (ExpressRouteCircuit) MarshalJSON

func (erc ExpressRouteCircuit) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuit.

func (*ExpressRouteCircuit) UnmarshalJSON

func (erc *ExpressRouteCircuit) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuit struct.

type ExpressRouteCircuitArpTable

type ExpressRouteCircuitArpTable struct {
	// Age - Entry age in minutes.
	Age *int32 `json:"age,omitempty"`
	// Interface - Interface address.
	Interface *string `json:"interface,omitempty"`
	// IPAddress - The IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// MacAddress - The MAC address.
	MacAddress *string `json:"macAddress,omitempty"`
}

ExpressRouteCircuitArpTable the ARP table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitAuthorization

type ExpressRouteCircuitAuthorization struct {
	autorest.Response `json:"-"`
	// AuthorizationPropertiesFormat - Properties of the express route circuit authorization.
	*AuthorizationPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitAuthorization authorization in an ExpressRouteCircuit resource.

func (ExpressRouteCircuitAuthorization) MarshalJSON

func (erca ExpressRouteCircuitAuthorization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitAuthorization.

func (*ExpressRouteCircuitAuthorization) UnmarshalJSON

func (erca *ExpressRouteCircuitAuthorization) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitAuthorization struct.

type ExpressRouteCircuitAuthorizationsClient

type ExpressRouteCircuitAuthorizationsClient struct {
	BaseClient
}

ExpressRouteCircuitAuthorizationsClient is the network Client

func NewExpressRouteCircuitAuthorizationsClient

func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClient creates an instance of the ExpressRouteCircuitAuthorizationsClient client.

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI

func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient

NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the ExpressRouteCircuitAuthorizationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (result ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an authorization in the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization. authorizationParameters - parameters supplied to the create or update express route circuit authorization operation.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string, authorizationParameters ExpressRouteCircuitAuthorization) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitAuthorization, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitAuthorizationsClient) Delete

func (client ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorizationsDeleteFuture, err error)

Delete deletes the specified authorization from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) DeletePreparer

func (client ExpressRouteCircuitAuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitAuthorizationsClient) DeleteResponder

func (client ExpressRouteCircuitAuthorizationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitAuthorizationsClient) Get

func (client ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result ExpressRouteCircuitAuthorization, err error)

Get gets the specified authorization from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. authorizationName - the name of the authorization.

func (ExpressRouteCircuitAuthorizationsClient) GetPreparer

func (client ExpressRouteCircuitAuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitAuthorizationsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitAuthorizationsClient) List

func (client ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultPage, err error)

List gets all authorizations in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit.

func (ExpressRouteCircuitAuthorizationsClient) ListComplete

func (client ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result AuthorizationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitAuthorizationsClient) ListPreparer

func (client ExpressRouteCircuitAuthorizationsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitAuthorizationsClient) ListResponder

func (client ExpressRouteCircuitAuthorizationsClient) ListResponder(resp *http.Response) (result AuthorizationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitAuthorizationsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture

type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture struct {
	azure.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 ExpressRouteCircuitConnection

type ExpressRouteCircuitConnection struct {
	autorest.Response `json:"-"`
	// ExpressRouteCircuitConnectionPropertiesFormat - Properties of the express route circuit connection.
	*ExpressRouteCircuitConnectionPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitConnection express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

func (ExpressRouteCircuitConnection) MarshalJSON

func (ercc ExpressRouteCircuitConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitConnection.

func (*ExpressRouteCircuitConnection) UnmarshalJSON

func (ercc *ExpressRouteCircuitConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitConnection struct.

type ExpressRouteCircuitConnectionListResult

type ExpressRouteCircuitConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - The global reach connection associated with Private Peering in an ExpressRoute Circuit.
	Value *[]ExpressRouteCircuitConnection `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitConnectionListResult response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.

func (ExpressRouteCircuitConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitConnectionListResultIterator

type ExpressRouteCircuitConnectionListResultIterator struct {
	// contains filtered or unexported fields
}

ExpressRouteCircuitConnectionListResultIterator provides access to a complete listing of ExpressRouteCircuitConnection values.

func NewExpressRouteCircuitConnectionListResultIterator

func NewExpressRouteCircuitConnectionListResultIterator(page ExpressRouteCircuitConnectionListResultPage) ExpressRouteCircuitConnectionListResultIterator

Creates a new instance of the ExpressRouteCircuitConnectionListResultIterator type.

func (*ExpressRouteCircuitConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitConnectionListResultIterator) NextWithContext

func (iter *ExpressRouteCircuitConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCircuitConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCircuitConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCircuitConnectionListResultPage

type ExpressRouteCircuitConnectionListResultPage struct {
	// contains filtered or unexported fields
}

ExpressRouteCircuitConnectionListResultPage contains a page of ExpressRouteCircuitConnection values.

func NewExpressRouteCircuitConnectionListResultPage

Creates a new instance of the ExpressRouteCircuitConnectionListResultPage type.

func (*ExpressRouteCircuitConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitConnectionListResultPage) NextWithContext

func (page *ExpressRouteCircuitConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCircuitConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCircuitConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCircuitConnectionPropertiesFormat

type ExpressRouteCircuitConnectionPropertiesFormat struct {
	// ExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
	ExpressRouteCircuitPeering *SubResource `json:"expressRouteCircuitPeering,omitempty"`
	// PeerExpressRouteCircuitPeering - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
	PeerExpressRouteCircuitPeering *SubResource `json:"peerExpressRouteCircuitPeering,omitempty"`
	// AddressPrefix - /29 IP address space to carve out Customer addresses for tunnels.
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// AuthorizationKey - The authorization key.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// Ipv6CircuitConnectionConfig - IPv6 Address PrefixProperties of the express route circuit connection.
	Ipv6CircuitConnectionConfig *Ipv6CircuitConnectionConfig `json:"ipv6CircuitConnectionConfig,omitempty"`
	// CircuitConnectionStatus - Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected'
	CircuitConnectionStatus CircuitConnectionStatus `json:"circuitConnectionStatus,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route circuit connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ExpressRouteCircuitConnectionPropertiesFormat properties of the express route circuit connection.

func (ExpressRouteCircuitConnectionPropertiesFormat) MarshalJSON

func (erccpf ExpressRouteCircuitConnectionPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitConnectionPropertiesFormat.

type ExpressRouteCircuitConnectionsClient

type ExpressRouteCircuitConnectionsClient struct {
	BaseClient
}

ExpressRouteCircuitConnectionsClient is the network Client

func NewExpressRouteCircuitConnectionsClient

func NewExpressRouteCircuitConnectionsClient(subscriptionID string) ExpressRouteCircuitConnectionsClient

NewExpressRouteCircuitConnectionsClient creates an instance of the ExpressRouteCircuitConnectionsClient client.

func NewExpressRouteCircuitConnectionsClientWithBaseURI

func NewExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitConnectionsClient

NewExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the ExpressRouteCircuitConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdate

func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection) (result ExpressRouteCircuitConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a Express Route Circuit Connection in the specified express route circuits. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection. expressRouteCircuitConnectionParameters - parameters supplied to the create or update express route circuit connection operation.

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string, expressRouteCircuitConnectionParameters ExpressRouteCircuitConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitConnectionsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitConnectionsClient) Delete

func (client ExpressRouteCircuitConnectionsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result ExpressRouteCircuitConnectionsDeleteFuture, err error)

Delete deletes the specified Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection.

func (ExpressRouteCircuitConnectionsClient) DeletePreparer

func (client ExpressRouteCircuitConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitConnectionsClient) DeleteResponder

func (client ExpressRouteCircuitConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitConnectionsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitConnectionsClient) Get

func (client ExpressRouteCircuitConnectionsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result ExpressRouteCircuitConnection, err error)

Get gets the specified Express Route Circuit Connection from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. connectionName - the name of the express route circuit connection.

func (ExpressRouteCircuitConnectionsClient) GetPreparer

func (client ExpressRouteCircuitConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitConnectionsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitConnectionsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitConnectionsClient) List

func (client ExpressRouteCircuitConnectionsClient) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitConnectionListResultPage, err error)

List gets all global reach connections associated with a private peering in an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitConnectionsClient) ListComplete

func (client ExpressRouteCircuitConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitConnectionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitConnectionsClient) ListPreparer

func (client ExpressRouteCircuitConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitConnectionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitConnectionsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitConnectionsCreateOrUpdateFuture

type ExpressRouteCircuitConnectionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitConnectionsClient) (ExpressRouteCircuitConnection, error)
}

ExpressRouteCircuitConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitConnectionsCreateOrUpdateFuture) UnmarshalJSON

func (future *ExpressRouteCircuitConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCircuitConnectionsDeleteFuture

type ExpressRouteCircuitConnectionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCircuitConnectionsClient) (autorest.Response, error)
}

ExpressRouteCircuitConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCircuitConnectionsDeleteFuture) UnmarshalJSON

func (future *ExpressRouteCircuitConnectionsDeleteFuture) 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 - Properties of the express route circuit peering.
	*ExpressRouteCircuitPeeringPropertiesFormat `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Type - READ-ONLY; Type of the resource.
	Type *string `json:"type,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitPeering peering in an ExpressRouteCircuit resource.

func (ExpressRouteCircuitPeering) MarshalJSON

func (ercp ExpressRouteCircuitPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitPeering.

func (*ExpressRouteCircuitPeering) UnmarshalJSON

func (ercp *ExpressRouteCircuitPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCircuitPeering struct.

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState string

ExpressRouteCircuitPeeringAdvertisedPublicPrefixState enumerates the values for express route circuit peering advertised public prefix state.

const (
	// Configured ...
	Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configured"
	// Configuring ...
	Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "Configuring"
	// NotConfigured ...
	NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "NotConfigured"
	// ValidationNeeded ...
	ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = "ValidationNeeded"
)

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues

func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState

PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues returns an array of possible values for the ExpressRouteCircuitPeeringAdvertisedPublicPrefixState const type.

type ExpressRouteCircuitPeeringConfig

type ExpressRouteCircuitPeeringConfig struct {
	// AdvertisedPublicPrefixes - The reference to AdvertisedPublicPrefixes.
	AdvertisedPublicPrefixes *[]string `json:"advertisedPublicPrefixes,omitempty"`
	// AdvertisedCommunities - The communities of bgp peering. Specified for microsoft peering.
	AdvertisedCommunities *[]string `json:"advertisedCommunities,omitempty"`
	// AdvertisedPublicPrefixesState - READ-ONLY; The advertised public prefix state of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded'
	AdvertisedPublicPrefixesState ExpressRouteCircuitPeeringAdvertisedPublicPrefixState `json:"advertisedPublicPrefixesState,omitempty"`
	// LegacyMode - The legacy mode of the peering.
	LegacyMode *int32 `json:"legacyMode,omitempty"`
	// CustomerASN - The CustomerASN of the peering.
	CustomerASN *int32 `json:"customerASN,omitempty"`
	// RoutingRegistryName - The RoutingRegistryName of the configuration.
	RoutingRegistryName *string `json:"routingRegistryName,omitempty"`
}

ExpressRouteCircuitPeeringConfig specifies the peering configuration.

func (ExpressRouteCircuitPeeringConfig) MarshalJSON

func (ercpc ExpressRouteCircuitPeeringConfig) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitPeeringConfig.

type ExpressRouteCircuitPeeringID

type ExpressRouteCircuitPeeringID struct {
	// ID - The ID of the ExpressRoute circuit peering.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitPeeringID expressRoute circuit peering identifier.

type ExpressRouteCircuitPeeringListResult

type ExpressRouteCircuitPeeringListResult struct {
	autorest.Response `json:"-"`
	// Value - The peerings in an express route circuit.
	Value *[]ExpressRouteCircuitPeering `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitPeeringListResult response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit.

func (ExpressRouteCircuitPeeringListResult) IsEmpty

func (ercplr ExpressRouteCircuitPeeringListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExpressRouteCircuitPeeringListResultIterator

type ExpressRouteCircuitPeeringListResultIterator struct {
	// contains filtered or unexported fields
}

ExpressRouteCircuitPeeringListResultIterator provides access to a complete listing of ExpressRouteCircuitPeering values.

func NewExpressRouteCircuitPeeringListResultIterator

func NewExpressRouteCircuitPeeringListResultIterator(page ExpressRouteCircuitPeeringListResultPage) ExpressRouteCircuitPeeringListResultIterator

Creates a new instance of the ExpressRouteCircuitPeeringListResultIterator type.

func (*ExpressRouteCircuitPeeringListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitPeeringListResultIterator) NextWithContext

func (iter *ExpressRouteCircuitPeeringListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCircuitPeeringListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCircuitPeeringListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitPeeringListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCircuitPeeringListResultPage

type ExpressRouteCircuitPeeringListResultPage struct {
	// contains filtered or unexported fields
}

ExpressRouteCircuitPeeringListResultPage contains a page of ExpressRouteCircuitPeering values.

func NewExpressRouteCircuitPeeringListResultPage

Creates a new instance of the ExpressRouteCircuitPeeringListResultPage type.

func (*ExpressRouteCircuitPeeringListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCircuitPeeringListResultPage) NextWithContext

func (page *ExpressRouteCircuitPeeringListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCircuitPeeringListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCircuitPeeringListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCircuitPeeringListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCircuitPeeringPropertiesFormat

type ExpressRouteCircuitPeeringPropertiesFormat struct {
	// PeeringType - The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
	PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"`
	// State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled'
	State ExpressRoutePeeringState `json:"state,omitempty"`
	// AzureASN - The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty"`
	// PeerASN - The peer ASN.
	PeerASN *int64 `json:"peerASN,omitempty"`
	// PrimaryPeerAddressPrefix - The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
	// SecondaryPeerAddressPrefix - The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
	// PrimaryAzurePort - The primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
	// SecondaryAzurePort - The secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
	// SharedKey - The shared key.
	SharedKey *string `json:"sharedKey,omitempty"`
	// VlanID - The VLAN ID.
	VlanID *int32 `json:"vlanId,omitempty"`
	// MicrosoftPeeringConfig - The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	// Stats - The peering stats of express route circuit.
	Stats *ExpressRouteCircuitStats `json:"stats,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route circuit peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// LastModifiedBy - READ-ONLY; Who was the last to modify the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// RouteFilter - The reference to the RouteFilter resource.
	RouteFilter *SubResource `json:"routeFilter,omitempty"`
	// Ipv6PeeringConfig - The IPv6 peering configuration.
	Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
	// ExpressRouteConnection - The ExpressRoute connection.
	ExpressRouteConnection *ExpressRouteConnectionID `json:"expressRouteConnection,omitempty"`
	// Connections - The list of circuit connections associated with Azure Private Peering for this circuit.
	Connections *[]ExpressRouteCircuitConnection `json:"connections,omitempty"`
	// PeeredConnections - READ-ONLY; The list of peered circuit connections associated with Azure Private Peering for this circuit.
	PeeredConnections *[]PeerExpressRouteCircuitConnection `json:"peeredConnections,omitempty"`
}

ExpressRouteCircuitPeeringPropertiesFormat properties of the express route circuit peering.

func (ExpressRouteCircuitPeeringPropertiesFormat) MarshalJSON

func (ercppf ExpressRouteCircuitPeeringPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for 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 ExpressRouteCircuitPeeringsClient

type ExpressRouteCircuitPeeringsClient struct {
	BaseClient
}

ExpressRouteCircuitPeeringsClient is the network Client

func NewExpressRouteCircuitPeeringsClient

func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClient creates an instance of the ExpressRouteCircuitPeeringsClient client.

func NewExpressRouteCircuitPeeringsClientWithBaseURI

func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient

NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdate

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (result ExpressRouteCircuitPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a peering in the specified express route circuits. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. peeringParameters - parameters supplied to the create or update express route circuit peering operation.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, peeringParameters ExpressRouteCircuitPeering) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitPeeringsClient) Delete

func (client ExpressRouteCircuitPeeringsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeeringsDeleteFuture, err error)

Delete deletes the specified peering from the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitPeeringsClient) DeletePreparer

func (client ExpressRouteCircuitPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitPeeringsClient) DeleteResponder

func (client ExpressRouteCircuitPeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitPeeringsClient) Get

func (client ExpressRouteCircuitPeeringsClient) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitPeering, err error)

Get gets the specified peering for the express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitPeeringsClient) GetPreparer

func (client ExpressRouteCircuitPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitPeeringsClient) GetResponder

func (client ExpressRouteCircuitPeeringsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuitPeering, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) GetSender

func (client ExpressRouteCircuitPeeringsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitPeeringsClient) List

func (client ExpressRouteCircuitPeeringsClient) List(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultPage, err error)

List gets all peerings in a specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.

func (ExpressRouteCircuitPeeringsClient) ListComplete

func (client ExpressRouteCircuitPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitPeeringListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitPeeringsClient) ListPreparer

func (client ExpressRouteCircuitPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitPeeringsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitPeeringsClient) ListSender

func (client ExpressRouteCircuitPeeringsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitPeeringsCreateOrUpdateFuture

type ExpressRouteCircuitPeeringsCreateOrUpdateFuture struct {
	azure.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 include: 'ServiceProviderProvisioningStateNotProvisioned', 'ServiceProviderProvisioningStateProvisioning', 'ServiceProviderProvisioningStateProvisioned', 'ServiceProviderProvisioningStateDeprovisioning'
	ServiceProviderProvisioningState ServiceProviderProvisioningState `json:"serviceProviderProvisioningState,omitempty"`
	// Authorizations - The list of authorizations.
	Authorizations *[]ExpressRouteCircuitAuthorization `json:"authorizations,omitempty"`
	// Peerings - The list of peerings.
	Peerings *[]ExpressRouteCircuitPeering `json:"peerings,omitempty"`
	// ServiceKey - The ServiceKey.
	ServiceKey *string `json:"serviceKey,omitempty"`
	// ServiceProviderNotes - The ServiceProviderNotes.
	ServiceProviderNotes *string `json:"serviceProviderNotes,omitempty"`
	// ServiceProviderProperties - The ServiceProviderProperties.
	ServiceProviderProperties *ExpressRouteCircuitServiceProviderProperties `json:"serviceProviderProperties,omitempty"`
	// ExpressRoutePort - The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource.
	ExpressRoutePort *SubResource `json:"expressRoutePort,omitempty"`
	// BandwidthInGbps - The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource.
	BandwidthInGbps *float64 `json:"bandwidthInGbps,omitempty"`
	// Stag - READ-ONLY; The identifier of the circuit traffic. Outer tag for QinQ encapsulation.
	Stag *int32 `json:"stag,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route circuit resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// GlobalReachEnabled - Flag denoting global reach status.
	GlobalReachEnabled *bool `json:"globalReachEnabled,omitempty"`
}

ExpressRouteCircuitPropertiesFormat properties of ExpressRouteCircuit.

func (ExpressRouteCircuitPropertiesFormat) MarshalJSON

func (ercpf ExpressRouteCircuitPropertiesFormat) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCircuitPropertiesFormat.

type ExpressRouteCircuitReference

type ExpressRouteCircuitReference struct {
	// ID - Corresponding Express Route Circuit Id.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCircuitReference reference to an express route circuit.

type ExpressRouteCircuitRoutesTable

type ExpressRouteCircuitRoutesTable struct {
	// NetworkProperty - IP address of a network entity.
	NetworkProperty *string `json:"network,omitempty"`
	// NextHop - NextHop address.
	NextHop *string `json:"nextHop,omitempty"`
	// LocPrf - Local preference value as set with the set local-preference route-map configuration command.
	LocPrf *string `json:"locPrf,omitempty"`
	// Weight - Route Weight.
	Weight *int32 `json:"weight,omitempty"`
	// Path - Autonomous system paths to the destination network.
	Path *string `json:"path,omitempty"`
}

ExpressRouteCircuitRoutesTable the routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitRoutesTableSummary

type ExpressRouteCircuitRoutesTableSummary struct {
	// Neighbor - IP address of the neighbor.
	Neighbor *string `json:"neighbor,omitempty"`
	// V - BGP version number spoken to the neighbor.
	V *int32 `json:"v,omitempty"`
	// As - Autonomous system number.
	As *int32 `json:"as,omitempty"`
	// UpDown - The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.
	UpDown *string `json:"upDown,omitempty"`
	// StatePfxRcd - Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group.
	StatePfxRcd *string `json:"statePfxRcd,omitempty"`
}

ExpressRouteCircuitRoutesTableSummary the routes table associated with the ExpressRouteCircuit.

type ExpressRouteCircuitServiceProviderProperties

type ExpressRouteCircuitServiceProviderProperties struct {
	// ServiceProviderName - The serviceProviderName.
	ServiceProviderName *string `json:"serviceProviderName,omitempty"`
	// PeeringLocation - The peering location.
	PeeringLocation *string `json:"peeringLocation,omitempty"`
	// BandwidthInMbps - The BandwidthInMbps.
	BandwidthInMbps *int32 `json:"bandwidthInMbps,omitempty"`
}

ExpressRouteCircuitServiceProviderProperties contains ServiceProviderProperties in an ExpressRouteCircuit.

type ExpressRouteCircuitSku

type ExpressRouteCircuitSku struct {
	// Name - The name of the SKU.
	Name *string `json:"name,omitempty"`
	// Tier - The tier of the SKU. Possible values include: 'ExpressRouteCircuitSkuTierStandard', 'ExpressRouteCircuitSkuTierPremium', 'ExpressRouteCircuitSkuTierBasic', 'ExpressRouteCircuitSkuTierLocal'
	Tier ExpressRouteCircuitSkuTier `json:"tier,omitempty"`
	// Family - The family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData'
	Family ExpressRouteCircuitSkuFamily `json:"family,omitempty"`
}

ExpressRouteCircuitSku contains SKU in an ExpressRouteCircuit.

type ExpressRouteCircuitSkuFamily

type ExpressRouteCircuitSkuFamily string

ExpressRouteCircuitSkuFamily enumerates the values for express route circuit sku family.

const (
	// MeteredData ...
	MeteredData ExpressRouteCircuitSkuFamily = "MeteredData"
	// UnlimitedData ...
	UnlimitedData ExpressRouteCircuitSkuFamily = "UnlimitedData"
)

func PossibleExpressRouteCircuitSkuFamilyValues

func PossibleExpressRouteCircuitSkuFamilyValues() []ExpressRouteCircuitSkuFamily

PossibleExpressRouteCircuitSkuFamilyValues returns an array of possible values for the ExpressRouteCircuitSkuFamily const type.

type ExpressRouteCircuitSkuTier

type ExpressRouteCircuitSkuTier string

ExpressRouteCircuitSkuTier enumerates the values for express route circuit sku tier.

const (
	// ExpressRouteCircuitSkuTierBasic ...
	ExpressRouteCircuitSkuTierBasic ExpressRouteCircuitSkuTier = "Basic"
	// ExpressRouteCircuitSkuTierLocal ...
	ExpressRouteCircuitSkuTierLocal ExpressRouteCircuitSkuTier = "Local"
	// ExpressRouteCircuitSkuTierPremium ...
	ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = "Premium"
	// ExpressRouteCircuitSkuTierStandard ...
	ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = "Standard"
)

func PossibleExpressRouteCircuitSkuTierValues

func PossibleExpressRouteCircuitSkuTierValues() []ExpressRouteCircuitSkuTier

PossibleExpressRouteCircuitSkuTierValues returns an array of possible values for the ExpressRouteCircuitSkuTier const type.

type ExpressRouteCircuitStats

type ExpressRouteCircuitStats struct {
	autorest.Response `json:"-"`
	// PrimarybytesIn - The Primary BytesIn of the peering.
	PrimarybytesIn *int64 `json:"primarybytesIn,omitempty"`
	// PrimarybytesOut - The primary BytesOut of the peering.
	PrimarybytesOut *int64 `json:"primarybytesOut,omitempty"`
	// SecondarybytesIn - The secondary BytesIn of the peering.
	SecondarybytesIn *int64 `json:"secondarybytesIn,omitempty"`
	// SecondarybytesOut - The secondary BytesOut of the peering.
	SecondarybytesOut *int64 `json:"secondarybytesOut,omitempty"`
}

ExpressRouteCircuitStats contains stats associated with the peering.

type ExpressRouteCircuitsArpTableListResult

type ExpressRouteCircuitsArpTableListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of the ARP tables.
	Value *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
	// NextLink - The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCircuitsArpTableListResult response for ListArpTable associated with the Express Route Circuits API.

type ExpressRouteCircuitsClient

type ExpressRouteCircuitsClient struct {
	BaseClient
}

ExpressRouteCircuitsClient is the network Client

func NewExpressRouteCircuitsClient

func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClient creates an instance of the ExpressRouteCircuitsClient client.

func NewExpressRouteCircuitsClientWithBaseURI

func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient

NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCircuitsClient) CreateOrUpdate

func (client ExpressRouteCircuitsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (result ExpressRouteCircuitsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to the create or update express route circuit operation.

func (ExpressRouteCircuitsClient) CreateOrUpdatePreparer

func (client ExpressRouteCircuitsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters ExpressRouteCircuit) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCircuitsClient) CreateOrUpdateResponder

func (client ExpressRouteCircuitsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCircuit, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) CreateOrUpdateSender

func (client ExpressRouteCircuitsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteCircuitsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) Delete

func (client ExpressRouteCircuitsClient) Delete(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitsDeleteFuture, err error)

Delete deletes the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.

func (ExpressRouteCircuitsClient) DeletePreparer

func (client ExpressRouteCircuitsClient) DeletePreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCircuitsClient) DeleteResponder

func (client ExpressRouteCircuitsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) DeleteSender

func (client ExpressRouteCircuitsClient) DeleteSender(req *http.Request) (future ExpressRouteCircuitsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) Get

func (client ExpressRouteCircuitsClient) Get(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuit, err error)

Get gets information about the specified express route circuit. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of express route circuit.

func (ExpressRouteCircuitsClient) GetPeeringStats

func (client ExpressRouteCircuitsClient) GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result ExpressRouteCircuitStats, err error)

GetPeeringStats gets all stats from an express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering.

func (ExpressRouteCircuitsClient) GetPeeringStatsPreparer

func (client ExpressRouteCircuitsClient) GetPeeringStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (*http.Request, error)

GetPeeringStatsPreparer prepares the GetPeeringStats request.

func (ExpressRouteCircuitsClient) GetPeeringStatsResponder

func (client ExpressRouteCircuitsClient) GetPeeringStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)

GetPeeringStatsResponder handles the response to the GetPeeringStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetPeeringStatsSender

func (client ExpressRouteCircuitsClient) GetPeeringStatsSender(req *http.Request) (*http.Response, error)

GetPeeringStatsSender sends the GetPeeringStats request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) GetPreparer

func (client ExpressRouteCircuitsClient) GetPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCircuitsClient) GetResponder

func (client ExpressRouteCircuitsClient) GetResponder(resp *http.Response) (result ExpressRouteCircuit, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetSender

func (client ExpressRouteCircuitsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) GetStats

func (client ExpressRouteCircuitsClient) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result ExpressRouteCircuitStats, err error)

GetStats gets all the stats from an express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit.

func (ExpressRouteCircuitsClient) GetStatsPreparer

func (client ExpressRouteCircuitsClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, circuitName string) (*http.Request, error)

GetStatsPreparer prepares the GetStats request.

func (ExpressRouteCircuitsClient) GetStatsResponder

func (client ExpressRouteCircuitsClient) GetStatsResponder(resp *http.Response) (result ExpressRouteCircuitStats, err error)

GetStatsResponder handles the response to the GetStats request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) GetStatsSender

func (client ExpressRouteCircuitsClient) GetStatsSender(req *http.Request) (*http.Response, error)

GetStatsSender sends the GetStats request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) List

func (client ExpressRouteCircuitsClient) List(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultPage, err error)

List gets all the express route circuits in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ExpressRouteCircuitsClient) ListAll

ListAll gets all the express route circuits in a subscription.

func (ExpressRouteCircuitsClient) ListAllComplete

func (client ExpressRouteCircuitsClient) ListAllComplete(ctx context.Context) (result ExpressRouteCircuitListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitsClient) ListAllPreparer

func (client ExpressRouteCircuitsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (ExpressRouteCircuitsClient) ListAllResponder

func (client ExpressRouteCircuitsClient) ListAllResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListAllSender

func (client ExpressRouteCircuitsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListArpTable

func (client ExpressRouteCircuitsClient) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListArpTableFuture, err error)

ListArpTable gets the currently advertised ARP table associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListArpTablePreparer

func (client ExpressRouteCircuitsClient) ListArpTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)

ListArpTablePreparer prepares the ListArpTable request.

func (ExpressRouteCircuitsClient) ListArpTableResponder

func (client ExpressRouteCircuitsClient) ListArpTableResponder(resp *http.Response) (result ExpressRouteCircuitsArpTableListResult, err error)

ListArpTableResponder handles the response to the ListArpTable request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListArpTableSender

func (client ExpressRouteCircuitsClient) ListArpTableSender(req *http.Request) (future ExpressRouteCircuitsListArpTableFuture, err error)

ListArpTableSender sends the ListArpTable request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListComplete

func (client ExpressRouteCircuitsClient) ListComplete(ctx context.Context, resourceGroupName string) (result ExpressRouteCircuitListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCircuitsClient) ListPreparer

func (client ExpressRouteCircuitsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCircuitsClient) ListResponder

func (client ExpressRouteCircuitsClient) ListResponder(resp *http.Response) (result ExpressRouteCircuitListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTable

func (client ExpressRouteCircuitsClient) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableFuture, err error)

ListRoutesTable gets the currently advertised routes table associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTablePreparer

func (client ExpressRouteCircuitsClient) ListRoutesTablePreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)

ListRoutesTablePreparer prepares the ListRoutesTable request.

func (ExpressRouteCircuitsClient) ListRoutesTableResponder

func (client ExpressRouteCircuitsClient) ListRoutesTableResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableListResult, err error)

ListRoutesTableResponder handles the response to the ListRoutesTable request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTableSender

func (client ExpressRouteCircuitsClient) ListRoutesTableSender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableFuture, err error)

ListRoutesTableSender sends the ListRoutesTable request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListRoutesTableSummary

func (client ExpressRouteCircuitsClient) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)

ListRoutesTableSummary gets the currently advertised routes table summary associated with the express route circuit in a resource group. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the express route circuit. peeringName - the name of the peering. devicePath - the path of the device.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryPreparer(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (*http.Request, error)

ListRoutesTableSummaryPreparer prepares the ListRoutesTableSummary request.

func (ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder

func (client ExpressRouteCircuitsClient) ListRoutesTableSummaryResponder(resp *http.Response) (result ExpressRouteCircuitsRoutesTableSummaryListResult, err error)

ListRoutesTableSummaryResponder handles the response to the ListRoutesTableSummary request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) ListRoutesTableSummarySender

func (client ExpressRouteCircuitsClient) ListRoutesTableSummarySender(req *http.Request) (future ExpressRouteCircuitsListRoutesTableSummaryFuture, err error)

ListRoutesTableSummarySender sends the ListRoutesTableSummary request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) ListSender

func (client ExpressRouteCircuitsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCircuitsClient) UpdateTags

func (client ExpressRouteCircuitsClient) UpdateTags(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (result ExpressRouteCircuit, err error)

UpdateTags updates an express route circuit tags. Parameters: resourceGroupName - the name of the resource group. circuitName - the name of the circuit. parameters - parameters supplied to update express route circuit tags.

func (ExpressRouteCircuitsClient) UpdateTagsPreparer

func (client ExpressRouteCircuitsClient) UpdateTagsPreparer(ctx context.Context, resourceGroupName string, circuitName string, parameters TagsObject) (*http.Request, error)

UpdateTagsPreparer prepares the UpdateTags request.

func (ExpressRouteCircuitsClient) UpdateTagsResponder

func (client ExpressRouteCircuitsClient) UpdateTagsResponder(resp *http.Response) (result ExpressRouteCircuit, err error)

UpdateTagsResponder handles the response to the UpdateTags request. The method always closes the http.Response Body.

func (ExpressRouteCircuitsClient) UpdateTagsSender

func (client ExpressRouteCircuitsClient) UpdateTagsSender(req *http.Request) (*http.Response, error)

UpdateTagsSender sends the UpdateTags request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCircuitsCreateOrUpdateFuture

type ExpressRouteCircuitsCreateOrUpdateFuture struct {
	azure.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 ExpressRouteConnection

type ExpressRouteConnection struct {
	autorest.Response `json:"-"`
	// ExpressRouteConnectionProperties - Properties of the express route connection.
	*ExpressRouteConnectionProperties `json:"properties,omitempty"`
	// Name - The name of the resource.
	Name *string `json:"name,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteConnection expressRouteConnection resource.

func (ExpressRouteConnection) MarshalJSON

func (erc ExpressRouteConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteConnection.

func (*ExpressRouteConnection) UnmarshalJSON

func (erc *ExpressRouteConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteConnection struct.

type ExpressRouteConnectionID

type ExpressRouteConnectionID struct {
	// ID - READ-ONLY; The ID of the ExpressRouteConnection.
	ID *string `json:"id,omitempty"`
}

ExpressRouteConnectionID the ID of the ExpressRouteConnection.

func (ExpressRouteConnectionID) MarshalJSON

func (erci ExpressRouteConnectionID) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteConnectionID.

type ExpressRouteConnectionList

type ExpressRouteConnectionList struct {
	autorest.Response `json:"-"`
	// Value - The list of ExpressRoute connections.
	Value *[]ExpressRouteConnection `json:"value,omitempty"`
}

ExpressRouteConnectionList expressRouteConnection list.

type ExpressRouteConnectionProperties

type ExpressRouteConnectionProperties struct {
	// ProvisioningState - READ-ONLY; The provisioning state of the express route connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ExpressRouteCircuitPeering - The ExpressRoute circuit peering.
	ExpressRouteCircuitPeering *ExpressRouteCircuitPeeringID `json:"expressRouteCircuitPeering,omitempty"`
	// AuthorizationKey - Authorization key to establish the connection.
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// RoutingWeight - The routing weight associated to the connection.
	RoutingWeight *int32 `json:"routingWeight,omitempty"`
	// EnableInternetSecurity - Enable internet security.
	EnableInternetSecurity *bool `json:"enableInternetSecurity,omitempty"`
	// RoutingConfiguration - The Routing Configuration indicating the associated and propagated route tables on this connection.
	RoutingConfiguration *RoutingConfiguration `json:"routingConfiguration,omitempty"`
}

ExpressRouteConnectionProperties properties of the ExpressRouteConnection subresource.

func (ExpressRouteConnectionProperties) MarshalJSON

func (ercp ExpressRouteConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteConnectionProperties.

type ExpressRouteConnectionsClient

type ExpressRouteConnectionsClient struct {
	BaseClient
}

ExpressRouteConnectionsClient is the network Client

func NewExpressRouteConnectionsClient

func NewExpressRouteConnectionsClient(subscriptionID string) ExpressRouteConnectionsClient

NewExpressRouteConnectionsClient creates an instance of the ExpressRouteConnectionsClient client.

func NewExpressRouteConnectionsClientWithBaseURI

func NewExpressRouteConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteConnectionsClient

NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteConnectionsClient) CreateOrUpdate

func (client ExpressRouteConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection) (result ExpressRouteConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the connection subresource. putExpressRouteConnectionParameters - parameters required in an ExpressRouteConnection PUT operation.

func (ExpressRouteConnectionsClient) CreateOrUpdatePreparer

func (client ExpressRouteConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string, putExpressRouteConnectionParameters ExpressRouteConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteConnectionsClient) CreateOrUpdateResponder

func (client ExpressRouteConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteConnectionsClient) CreateOrUpdateSender

func (client ExpressRouteConnectionsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRouteConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteConnectionsClient) Delete

func (client ExpressRouteConnectionsClient) Delete(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (result ExpressRouteConnectionsDeleteFuture, err error)

Delete deletes a connection to a ExpressRoute circuit. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the connection subresource.

func (ExpressRouteConnectionsClient) DeletePreparer

func (client ExpressRouteConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteConnectionsClient) DeleteResponder

func (client ExpressRouteConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteConnectionsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteConnectionsClient) Get

func (client ExpressRouteConnectionsClient) Get(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (result ExpressRouteConnection, err error)

Get gets the specified ExpressRouteConnection. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway. connectionName - the name of the ExpressRoute connection.

func (ExpressRouteConnectionsClient) GetPreparer

func (client ExpressRouteConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteConnectionsClient) GetResponder

func (client ExpressRouteConnectionsClient) GetResponder(resp *http.Response) (result ExpressRouteConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteConnectionsClient) GetSender

func (client ExpressRouteConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteConnectionsClient) List

func (client ExpressRouteConnectionsClient) List(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (result ExpressRouteConnectionList, err error)

List lists ExpressRouteConnections. Parameters: resourceGroupName - the name of the resource group. expressRouteGatewayName - the name of the ExpressRoute gateway.

func (ExpressRouteConnectionsClient) ListPreparer

func (client ExpressRouteConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, expressRouteGatewayName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteConnectionsClient) ListResponder

func (client ExpressRouteConnectionsClient) ListResponder(resp *http.Response) (result ExpressRouteConnectionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteConnectionsClient) ListSender

func (client ExpressRouteConnectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteConnectionsCreateOrUpdateFuture

type ExpressRouteConnectionsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteConnectionsClient) (ExpressRouteConnection, error)
}

ExpressRouteConnectionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteConnectionsCreateOrUpdateFuture) UnmarshalJSON

func (future *ExpressRouteConnectionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteConnectionsDeleteFuture

type ExpressRouteConnectionsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteConnectionsClient) (autorest.Response, error)
}

ExpressRouteConnectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteConnectionsDeleteFuture) UnmarshalJSON

func (future *ExpressRouteConnectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExpressRouteCrossConnection

type ExpressRouteCrossConnection struct {
	autorest.Response `json:"-"`
	// ExpressRouteCrossConnectionProperties - Properties of the express route cross connection.
	*ExpressRouteCrossConnectionProperties `json:"properties,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
	// Location - Resource location.
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ExpressRouteCrossConnection expressRouteCrossConnection resource.

func (ExpressRouteCrossConnection) MarshalJSON

func (ercc ExpressRouteCrossConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnection.

func (*ExpressRouteCrossConnection) UnmarshalJSON

func (ercc *ExpressRouteCrossConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCrossConnection struct.

type ExpressRouteCrossConnectionListResult

type ExpressRouteCrossConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - A list of ExpressRouteCrossConnection resources.
	Value *[]ExpressRouteCrossConnection `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCrossConnectionListResult response for ListExpressRouteCrossConnection API service call.

func (ExpressRouteCrossConnectionListResult) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (ExpressRouteCrossConnectionListResult) MarshalJSON

func (ercclr ExpressRouteCrossConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionListResult.

type ExpressRouteCrossConnectionListResultIterator

type ExpressRouteCrossConnectionListResultIterator struct {
	// contains filtered or unexported fields
}

ExpressRouteCrossConnectionListResultIterator provides access to a complete listing of ExpressRouteCrossConnection values.

func NewExpressRouteCrossConnectionListResultIterator

func NewExpressRouteCrossConnectionListResultIterator(page ExpressRouteCrossConnectionListResultPage) ExpressRouteCrossConnectionListResultIterator

Creates a new instance of the ExpressRouteCrossConnectionListResultIterator type.

func (*ExpressRouteCrossConnectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionListResultIterator) NextWithContext

func (iter *ExpressRouteCrossConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCrossConnectionListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCrossConnectionListResultPage

type ExpressRouteCrossConnectionListResultPage struct {
	// contains filtered or unexported fields
}

ExpressRouteCrossConnectionListResultPage contains a page of ExpressRouteCrossConnection values.

func NewExpressRouteCrossConnectionListResultPage

Creates a new instance of the ExpressRouteCrossConnectionListResultPage type.

func (*ExpressRouteCrossConnectionListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionListResultPage) NextWithContext

func (page *ExpressRouteCrossConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCrossConnectionListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionListResultPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCrossConnectionPeering

type ExpressRouteCrossConnectionPeering struct {
	autorest.Response `json:"-"`
	// ExpressRouteCrossConnectionPeeringProperties - Properties of the express route cross connection peering.
	*ExpressRouteCrossConnectionPeeringProperties `json:"properties,omitempty"`
	// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.
	Name *string `json:"name,omitempty"`
	// Etag - READ-ONLY; A unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// ID - Resource ID.
	ID *string `json:"id,omitempty"`
}

ExpressRouteCrossConnectionPeering peering in an ExpressRoute Cross Connection resource.

func (ExpressRouteCrossConnectionPeering) MarshalJSON

func (erccp ExpressRouteCrossConnectionPeering) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeering.

func (*ExpressRouteCrossConnectionPeering) UnmarshalJSON

func (erccp *ExpressRouteCrossConnectionPeering) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteCrossConnectionPeering struct.

type ExpressRouteCrossConnectionPeeringList

type ExpressRouteCrossConnectionPeeringList struct {
	autorest.Response `json:"-"`
	// Value - The peerings in an express route cross connection.
	Value *[]ExpressRouteCrossConnectionPeering `json:"value,omitempty"`
	// NextLink - READ-ONLY; The URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteCrossConnectionPeeringList response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.

func (ExpressRouteCrossConnectionPeeringList) IsEmpty

IsEmpty returns true if the ListResult contains no values.

func (ExpressRouteCrossConnectionPeeringList) MarshalJSON

func (erccpl ExpressRouteCrossConnectionPeeringList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeeringList.

type ExpressRouteCrossConnectionPeeringListIterator

type ExpressRouteCrossConnectionPeeringListIterator struct {
	// contains filtered or unexported fields
}

ExpressRouteCrossConnectionPeeringListIterator provides access to a complete listing of ExpressRouteCrossConnectionPeering values.

func NewExpressRouteCrossConnectionPeeringListIterator

func NewExpressRouteCrossConnectionPeeringListIterator(page ExpressRouteCrossConnectionPeeringListPage) ExpressRouteCrossConnectionPeeringListIterator

Creates a new instance of the ExpressRouteCrossConnectionPeeringListIterator type.

func (*ExpressRouteCrossConnectionPeeringListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionPeeringListIterator) NextWithContext

func (iter *ExpressRouteCrossConnectionPeeringListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExpressRouteCrossConnectionPeeringListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionPeeringListIterator) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionPeeringListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExpressRouteCrossConnectionPeeringListPage

type ExpressRouteCrossConnectionPeeringListPage struct {
	// contains filtered or unexported fields
}

ExpressRouteCrossConnectionPeeringListPage contains a page of ExpressRouteCrossConnectionPeering values.

func NewExpressRouteCrossConnectionPeeringListPage

Creates a new instance of the ExpressRouteCrossConnectionPeeringListPage type.

func (*ExpressRouteCrossConnectionPeeringListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExpressRouteCrossConnectionPeeringListPage) NextWithContext

func (page *ExpressRouteCrossConnectionPeeringListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExpressRouteCrossConnectionPeeringListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExpressRouteCrossConnectionPeeringListPage) Response

Response returns the raw server response from the last page request.

func (ExpressRouteCrossConnectionPeeringListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExpressRouteCrossConnectionPeeringProperties

type ExpressRouteCrossConnectionPeeringProperties struct {
	// PeeringType - The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering'
	PeeringType ExpressRoutePeeringType `json:"peeringType,omitempty"`
	// State - The peering state. Possible values include: 'ExpressRoutePeeringStateDisabled', 'ExpressRoutePeeringStateEnabled'
	State ExpressRoutePeeringState `json:"state,omitempty"`
	// AzureASN - READ-ONLY; The Azure ASN.
	AzureASN *int32 `json:"azureASN,omitempty"`
	// PeerASN - The peer ASN.
	PeerASN *int64 `json:"peerASN,omitempty"`
	// PrimaryPeerAddressPrefix - The primary address prefix.
	PrimaryPeerAddressPrefix *string `json:"primaryPeerAddressPrefix,omitempty"`
	// SecondaryPeerAddressPrefix - The secondary address prefix.
	SecondaryPeerAddressPrefix *string `json:"secondaryPeerAddressPrefix,omitempty"`
	// PrimaryAzurePort - READ-ONLY; The primary port.
	PrimaryAzurePort *string `json:"primaryAzurePort,omitempty"`
	// SecondaryAzurePort - READ-ONLY; The secondary port.
	SecondaryAzurePort *string `json:"secondaryAzurePort,omitempty"`
	// SharedKey - The shared key.
	SharedKey *string `json:"sharedKey,omitempty"`
	// VlanID - The VLAN ID.
	VlanID *int32 `json:"vlanId,omitempty"`
	// MicrosoftPeeringConfig - The Microsoft peering configuration.
	MicrosoftPeeringConfig *ExpressRouteCircuitPeeringConfig `json:"microsoftPeeringConfig,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the express route cross connection peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// GatewayManagerEtag - The GatewayManager Etag.
	GatewayManagerEtag *string `json:"gatewayManagerEtag,omitempty"`
	// LastModifiedBy - READ-ONLY; Who was the last to modify the peering.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Ipv6PeeringConfig - The IPv6 peering configuration.
	Ipv6PeeringConfig *Ipv6ExpressRouteCircuitPeeringConfig `json:"ipv6PeeringConfig,omitempty"`
}

ExpressRouteCrossConnectionPeeringProperties properties of express route cross connection peering.

func (ExpressRouteCrossConnectionPeeringProperties) MarshalJSON

func (erccpp ExpressRouteCrossConnectionPeeringProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteCrossConnectionPeeringProperties.

type ExpressRouteCrossConnectionPeeringsClient

type ExpressRouteCrossConnectionPeeringsClient struct {
	BaseClient
}

ExpressRouteCrossConnectionPeeringsClient is the network Client

func NewExpressRouteCrossConnectionPeeringsClient

func NewExpressRouteCrossConnectionPeeringsClient(subscriptionID string) ExpressRouteCrossConnectionPeeringsClient

NewExpressRouteCrossConnectionPeeringsClient creates an instance of the ExpressRouteCrossConnectionPeeringsClient client.

func NewExpressRouteCrossConnectionPeeringsClientWithBaseURI

func NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionPeeringsClient

NewExpressRouteCrossConnectionPeeringsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionPeeringsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdate

func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, peeringParameters ExpressRouteCrossConnectionPeering) (result ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a peering in the specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering. peeringParameters - parameters supplied to the create or update ExpressRouteCrossConnection peering operation.

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdatePreparer

func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, peeringParameters ExpressRouteCrossConnectionPeering) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateResponder

func (client ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteCrossConnectionPeering, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExpressRouteCrossConnectionPeeringsClient) CreateOrUpdateSender

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCrossConnectionPeeringsClient) Delete

func (client ExpressRouteCrossConnectionPeeringsClient) Delete(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result ExpressRouteCrossConnectionPeeringsDeleteFuture, err error)

Delete deletes the specified peering from the ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering.

func (ExpressRouteCrossConnectionPeeringsClient) DeletePreparer

func (client ExpressRouteCrossConnectionPeeringsClient) DeletePreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExpressRouteCrossConnectionPeeringsClient) DeleteResponder

func (client ExpressRouteCrossConnectionPeeringsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExpressRouteCrossConnectionPeeringsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCrossConnectionPeeringsClient) Get

func (client ExpressRouteCrossConnectionPeeringsClient) Get(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result ExpressRouteCrossConnectionPeering, err error)

Get gets the specified peering for the ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection. peeringName - the name of the peering.

func (ExpressRouteCrossConnectionPeeringsClient) GetPreparer

func (client ExpressRouteCrossConnectionPeeringsClient) GetPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExpressRouteCrossConnectionPeeringsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExpressRouteCrossConnectionPeeringsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExpressRouteCrossConnectionPeeringsClient) List

func (client ExpressRouteCrossConnectionPeeringsClient) List(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnectionPeeringListPage, err error)

List gets all peerings in a specified ExpressRouteCrossConnection. Parameters: resourceGroupName - the name of the resource group. crossConnectionName - the name of the ExpressRouteCrossConnection.

func (ExpressRouteCrossConnectionPeeringsClient) ListComplete

func (client ExpressRouteCrossConnectionPeeringsClient) ListComplete(ctx context.Context, resourceGroupName string, crossConnectionName string) (result ExpressRouteCrossConnectionPeeringListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExpressRouteCrossConnectionPeeringsClient) ListPreparer

func (client ExpressRouteCrossConnectionPeeringsClient) ListPreparer(ctx context.Context, resourceGroupName string, crossConnectionName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExpressRouteCrossConnectionPeeringsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExpressRouteCrossConnectionPeeringsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture

type ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExpressRouteCrossConnectionPeeringsClient) (ExpressRouteCrossConnectionPeering, error)
}

ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExpressRouteCrossConnectionPeeringsCreateOrUpdateFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Expres